Holds meta data about the trigger configuration, prescales etc. More...
#include <TriggerConfiguration.hh>
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 |
Holds meta data about the trigger configuration, prescales etc.
Definition at line 19 of file TriggerConfiguration.hh.
The status, FILLED or EMPTY, of this TriggerConfiguration.
Definition at line 28 of file TriggerConfiguration.hh.
ForIA::TriggerConfiguration::TriggerConfiguration | ( | ) |
Definition at line 8 of file TriggerConfiguration.cxx.
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
name | The name of the chain or the final EF trigger in 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
name | The name of the trigger |
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
id | The chain ID of the trigger |
Definition at line 68 of file TriggerConfiguration.cxx.
const vector< string > & ForIA::TriggerConfiguration::hltChainNames | ( | ) | const |
The list of all 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
name | The name of the trigger |
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
name | The name of the level 1 trigger |
Definition at line 148 of file TriggerConfiguration.cxx.
const vector< string > & ForIA::TriggerConfiguration::l1Names | ( | ) | const |
The Level 1 trigger 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
name | The name of the trigger |
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
hltName | The name of the trigger chain or higher level 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)
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.
friend class DataConverter [friend] |
Definition at line 142 of file TriggerConfiguration.hh.
const string ForIA::TriggerConfiguration::BAD_TRIGGER_NAME = "__BAD_TRIGGER_NAME__" [static] |
Definition at line 138 of file TriggerConfiguration.hh.