Public Types | Public Member Functions | Static Public Attributes | Friends

ForIA::TriggerConfiguration Class Reference

Holds meta data about the trigger configuration, prescales etc. More...

#include <TriggerConfiguration.hh>

List of all members.

Public Types

enum  Status { FILLED, EMPTY }
 

The status, FILLED or EMPTY, of this TriggerConfiguration.

More...

Public Member Functions

 TriggerConfiguration ()
unsigned int superMasterKey () const
unsigned int l1PrescaleKey () const
unsigned int hltPrescaleKey () const
const string & lowerChainName (const string &hltName) const
void clear ()
int l1Ctpid (const string &name) const
const vector< string > & l1Names () const
int hltChainID (const string &name) const
string hltChainName (int id) const
float hltPrescale (const string &name) const
float l1Prescale (const string &name) const
float chainPrescale (const string &name) const
const vector< string > & hltChainNames () const
Status status () const
void resetChainNames ()

Static Public Attributes

static const string BAD_TRIGGER_NAME = "__BAD_TRIGGER_NAME__"

Friends

class DataConverter

Detailed Description

Holds meta data about the trigger configuration, prescales etc.

Definition at line 19 of file TriggerConfiguration.hh.


Member Enumeration Documentation

The status, FILLED or EMPTY, of this TriggerConfiguration.

Enumerator:
FILLED 
EMPTY 

Definition at line 28 of file TriggerConfiguration.hh.


Constructor & Destructor Documentation

ForIA::TriggerConfiguration::TriggerConfiguration (  )

Definition at line 8 of file TriggerConfiguration.cxx.


Member Function Documentation

float ForIA::TriggerConfiguration::chainPrescale ( const string &  name ) const

The total prescale for a named trigger chain this will typically be EF prescale * L2 prescale * L1 prescale

Parameters:
nameThe name of the chain or the final EF trigger in the chain
Returns:
the total prescale for the chain

Definition at line 112 of file TriggerConfiguration.cxx.

void ForIA::TriggerConfiguration::clear (  )

Reset the TriggerConfiguration

Definition at line 17 of file TriggerConfiguration.cxx.

int ForIA::TriggerConfiguration::hltChainID ( const string &  name ) const

The HLT chain ID for a trigger of a given name

Parameters:
nameThe name of the trigger
Returns:
The chain ID for the trigger (returns -1 if trigger does not exist)

Definition at line 58 of file TriggerConfiguration.cxx.

string ForIA::TriggerConfiguration::hltChainName ( int  id ) const

The HLT chain name for a trigger with give chain ID

Parameters:
idThe chain ID of the trigger
Returns:
The trigger name

Definition at line 68 of file TriggerConfiguration.cxx.

const vector< string > & ForIA::TriggerConfiguration::hltChainNames (  ) const

The list of all HLT chain names

Returns:
Vector of the HLT chain names

Definition at line 163 of file TriggerConfiguration.cxx.

float ForIA::TriggerConfiguration::hltPrescale ( const string &  name ) const

The HLT prescale for a trigger of a given name

Parameters:
nameThe name of the trigger
Returns:
The trigger prescale (returns -1 if trigger unknown)

Definition at line 94 of file TriggerConfiguration.cxx.

unsigned int ForIA::TriggerConfiguration::hltPrescaleKey (  ) const

The database HLT prescale key for this event. In combination with the superMasterKey() and the l1PrescaleKey() this identifies the trigger configuration that was used

Definition at line 44 of file TriggerConfiguration.cxx.

int ForIA::TriggerConfiguration::l1Ctpid ( const string &  name ) const

The Level 1 CTPID for a given name

Parameters:
nameThe name of the level 1 trigger
Returns:
The CTPID

Definition at line 148 of file TriggerConfiguration.cxx.

const vector< string > & ForIA::TriggerConfiguration::l1Names (  ) const

The Level 1 trigger names

Returns:
Vector of the L1 names

Definition at line 136 of file TriggerConfiguration.cxx.

float ForIA::TriggerConfiguration::l1Prescale ( const string &  name ) const

The Level 1 prescale for a trigger of a given name

Parameters:
nameThe name of the trigger
Returns:
The L1 trigger prescale (returns -1 if trigger unknown)

Definition at line 104 of file TriggerConfiguration.cxx.

unsigned int ForIA::TriggerConfiguration::l1PrescaleKey (  ) const

The database L1 prescale key for this event. In combination with the superMasterKey() and the hltPrescaleKey() this identifies the trigger configuration that was used

Definition at line 40 of file TriggerConfiguration.cxx.

const string & ForIA::TriggerConfiguration::lowerChainName ( const string &  hltName ) const

The name of the lower trigger in a trigger of given chain name

Parameters:
hltNameThe name of the trigger chain or higher level trigger
Returns:
the name of the lower trigger

Definition at line 49 of file TriggerConfiguration.cxx.

void ForIA::TriggerConfiguration::resetChainNames (  )

Reset the caching of the HLT chain names

Definition at line 26 of file TriggerConfiguration.cxx.

TriggerConfiguration::Status ForIA::TriggerConfiguration::status (  ) const

Returns the status of this trigger configuration (has it been filled or not)

Returns:
The status

Definition at line 13 of file TriggerConfiguration.cxx.

unsigned int ForIA::TriggerConfiguration::superMasterKey (  ) const

The database super master key for this event. In combination with the l1PrescaleKey() and the hltPrescaleKey() this identifies the trigger configuration that was used

Definition at line 36 of file TriggerConfiguration.cxx.


Friends And Related Function Documentation

friend class DataConverter [friend]

Definition at line 142 of file TriggerConfiguration.hh.


Member Data Documentation

const string ForIA::TriggerConfiguration::BAD_TRIGGER_NAME = "__BAD_TRIGGER_NAME__" [static]

Definition at line 138 of file TriggerConfiguration.hh.


The documentation for this class was generated from the following files: