#include <L1GtTriggerMenuLite.h>
Public Types | |
typedef L1TriggerMap::const_iterator | CItL1Trig |
iterators through map containing the physics algorithms or the technical triggers More... | |
typedef L1TriggerMap::iterator | ItL1Trig |
typedef std::map< unsigned int, std::string > | L1TriggerMap |
map containing the physics algorithms or the technical triggers More... | |
Public Member Functions | |
const std::string * | gtAlgorithmAlias (const unsigned int bitNumber, int &errorCode) const |
get the alias for a physics algorithm with a given bit number More... | |
const L1TriggerMap & | gtAlgorithmAliasMap () const |
get / set the algorithm map (by alias) More... | |
const L1TriggerMap & | gtAlgorithmMap () const |
get / set the algorithm map (by name) More... | |
const std::string * | gtAlgorithmName (const unsigned int bitNumber, int &errorCode) const |
const unsigned int | gtBitNumber (const std::string &trigName, int &errorCode) const |
const std::vector< std::vector< int > > & | gtPrescaleFactorsAlgoTrig () const |
get the prescale factors by reference / set the prescale factors More... | |
const std::vector< std::vector< int > > & | gtPrescaleFactorsTechTrig () const |
const std::string & | gtScaleDbKey () const |
menu associated scale key More... | |
const L1TriggerMap & | gtTechnicalTriggerMap () const |
get / set the technical trigger map More... | |
const std::string * | gtTechTrigName (const unsigned int bitNumber, int &errorCode) const |
const std::vector< unsigned int > & | gtTriggerMaskAlgoTrig () const |
get the trigger mask for physics algorithms More... | |
const std::vector< unsigned int > & | gtTriggerMaskTechTrig () const |
get the trigger mask for technical triggers More... | |
const std::string & | gtTriggerMenuImplementation () const |
const std::string & | gtTriggerMenuInterface () const |
get / set the trigger menu names More... | |
const std::string & | gtTriggerMenuName () const |
const bool | gtTriggerResult (const std::string &trigName, const std::vector< bool > &decWord, int &errorCode) const |
bool | isProductEqual (const L1GtTriggerMenuLite &) const |
merge rule: test on isProductEqual More... | |
L1GtTriggerMenuLite () | |
constructor More... | |
L1GtTriggerMenuLite (const std::string &, const L1TriggerMap &, const L1TriggerMap &, const L1TriggerMap &, const std::vector< unsigned int > &, const std::vector< unsigned int > &, const std::vector< std::vector< int > > &, const std::vector< std::vector< int > > &) | |
L1GtTriggerMenuLite (const L1GtTriggerMenuLite &) | |
copy constructor More... | |
bool | operator!= (const L1GtTriggerMenuLite &) const |
unequal operator More... | |
L1GtTriggerMenuLite & | operator= (const L1GtTriggerMenuLite &) |
assignment operator More... | |
bool | operator== (const L1GtTriggerMenuLite &) const |
equal operator More... | |
void | print (std::ostream &, int &) const |
void | setGtAlgorithmAliasMap (const L1TriggerMap &) |
void | setGtAlgorithmMap (const L1TriggerMap &) |
void | setGtPrescaleFactorsAlgoTrig (const std::vector< std::vector< int > > &) |
void | setGtPrescaleFactorsTechTrig (const std::vector< std::vector< int > > &) |
void | setGtScaleDbKey (const std::string &) |
void | setGtTechnicalTriggerMap (const L1TriggerMap &) |
void | setGtTriggerMaskAlgoTrig (const std::vector< unsigned int > &) |
set the trigger mask for physics algorithms More... | |
void | setGtTriggerMaskTechTrig (const std::vector< unsigned int > &) |
set the trigger mask for technical triggers More... | |
void | setGtTriggerMenuImplementation (const std::string &) |
void | setGtTriggerMenuInterface (const std::string &) |
void | setGtTriggerMenuName (const std::string &) |
virtual | ~L1GtTriggerMenuLite () |
Private Attributes | |
L1TriggerMap | m_algorithmAliasMap |
map containing the physics algorithms (by alias) More... | |
L1TriggerMap | m_algorithmMap |
map containing the physics algorithms (by name) More... | |
std::vector< std::vector< int > > | m_prescaleFactorsAlgoTrig |
prescale factors More... | |
std::vector< std::vector< int > > | m_prescaleFactorsTechTrig |
std::string | m_scaleDbKey |
menu associated scale key More... | |
L1TriggerMap | m_technicalTriggerMap |
map containing the technical triggers More... | |
std::vector< unsigned int > | m_triggerMaskAlgoTrig |
trigger mask for physics algorithms More... | |
std::vector< unsigned int > | m_triggerMaskTechTrig |
trigger mask for technical triggers More... | |
std::string | m_triggerMenuImplementation |
std::string | m_triggerMenuInterface |
menu names More... | |
std::string | m_triggerMenuName |
Friends | |
std::ostream & | operator<< (std::ostream &, const L1GtTriggerMenuLite &) |
output stream operator More... | |
Description: L1 trigger menu and masks, lite version not using event setup.
Implementation: This is the lite version of the L1 trigger menu, with trigger masks included, to be used in the environments not having access to event setup. It offers limited access to the full L1 trigger menu which is implemented as event setup (CondFormats/L1TObjects/interface/L1GtTriggerMenu.h). The masks are provided for the physics partition only.
An EDM product is created and saved in the Run Data, under the assumption that the menu remains the same in a run. The corresponding producer will read the full L1 trigger menu and the trigger masks from event setup, fill the corresponding members and save it as EDM product.
Definition at line 39 of file L1GtTriggerMenuLite.h.
typedef L1TriggerMap::const_iterator L1GtTriggerMenuLite::CItL1Trig |
iterators through map containing the physics algorithms or the technical triggers
Definition at line 45 of file L1GtTriggerMenuLite.h.
typedef L1TriggerMap::iterator L1GtTriggerMenuLite::ItL1Trig |
Definition at line 46 of file L1GtTriggerMenuLite.h.
typedef std::map<unsigned int, std::string> L1GtTriggerMenuLite::L1TriggerMap |
map containing the physics algorithms or the technical triggers
Definition at line 42 of file L1GtTriggerMenuLite.h.
L1GtTriggerMenuLite::L1GtTriggerMenuLite | ( | ) |
constructor
Definition at line 36 of file L1GtTriggerMenuLite.cc.
L1GtTriggerMenuLite::L1GtTriggerMenuLite | ( | const std::string & | triggerMenuNameVal, |
const L1TriggerMap & | algorithmMapVal, | ||
const L1TriggerMap & | algorithmAliasMapVal, | ||
const L1TriggerMap & | technicalTriggerMapVal, | ||
const std::vector< unsigned int > & | triggerMaskAlgoTrigVal, | ||
const std::vector< unsigned int > & | triggerMaskTechTrigVal, | ||
const std::vector< std::vector< int > > & | prescaleFactorsAlgoTrigVal, | ||
const std::vector< std::vector< int > > & | prescaleFactorsTechTrigVal | ||
) |
Definition at line 44 of file L1GtTriggerMenuLite.cc.
L1GtTriggerMenuLite::L1GtTriggerMenuLite | ( | const L1GtTriggerMenuLite & | rhs | ) |
copy constructor
Definition at line 69 of file L1GtTriggerMenuLite.cc.
References m_algorithmAliasMap, m_algorithmMap, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_scaleDbKey, m_technicalTriggerMap, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, m_triggerMenuImplementation, m_triggerMenuInterface, and m_triggerMenuName.
|
virtual |
Definition at line 93 of file L1GtTriggerMenuLite.cc.
References m_algorithmAliasMap, m_algorithmMap, and m_technicalTriggerMap.
const std::string * L1GtTriggerMenuLite::gtAlgorithmAlias | ( | const unsigned int | bitNumber, |
int & | errorCode | ||
) | const |
get the alias for a physics algorithm with a given bit number
Definition at line 312 of file L1GtTriggerMenuLite.cc.
References L1TBPTX_cfi::bitNumber, m_algorithmAliasMap, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
get / set the algorithm map (by alias)
Definition at line 106 of file L1GtTriggerMenuLite.h.
References m_algorithmAliasMap.
Referenced by L1GtUtils::retrieveL1GtTriggerMenuLite().
|
inline |
get / set the algorithm map (by name)
Definition at line 101 of file L1GtTriggerMenuLite.h.
References m_algorithmMap.
Referenced by FWL1TriggerTableView::fillTable(), and L1GtUtils::retrieveL1GtTriggerMenuLite().
const std::string * L1GtTriggerMenuLite::gtAlgorithmName | ( | const unsigned int | bitNumber, |
int & | errorCode | ||
) | const |
get the name for a physics algorithm or a technical trigger with a given bit number
Definition at line 330 of file L1GtTriggerMenuLite.cc.
References L1TBPTX_cfi::bitNumber, m_algorithmMap, and AlCaHLTBitMon_QueryRunRegistry::string.
const unsigned int L1GtTriggerMenuLite::gtBitNumber | ( | const std::string & | trigName, |
int & | errorCode | ||
) | const |
get the bit number for a physics algorithm or a technical trigger with a given name or alias
Definition at line 364 of file L1GtTriggerMenuLite.cc.
References m_algorithmAliasMap, m_algorithmMap, m_technicalTriggerMap, and cscTnPEfficiencyTask_cfi::trigName.
|
inline |
get the prescale factors by reference / set the prescale factors
Definition at line 128 of file L1GtTriggerMenuLite.h.
References m_prescaleFactorsAlgoTrig.
Referenced by FWL1TriggerTableView::fillTable(), and L1GtUtils::retrieveL1GtTriggerMenuLite().
|
inline |
Definition at line 132 of file L1GtTriggerMenuLite.h.
References m_prescaleFactorsTechTrig.
Referenced by FWL1TriggerTableView::fillTable(), and L1GtUtils::retrieveL1GtTriggerMenuLite().
|
inline |
menu associated scale key
Definition at line 96 of file L1GtTriggerMenuLite.h.
References m_scaleDbKey.
|
inline |
get / set the technical trigger map
Definition at line 111 of file L1GtTriggerMenuLite.h.
References m_technicalTriggerMap.
Referenced by L1GtUtils::retrieveL1GtTriggerMenuLite().
const std::string * L1GtTriggerMenuLite::gtTechTrigName | ( | const unsigned int | bitNumber, |
int & | errorCode | ||
) | const |
Definition at line 346 of file L1GtTriggerMenuLite.cc.
References L1TBPTX_cfi::bitNumber, m_technicalTriggerMap, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PrescaleWeightProvider::prescaleWeight().
|
inline |
get the trigger mask for physics algorithms
Definition at line 116 of file L1GtTriggerMenuLite.h.
References m_triggerMaskAlgoTrig.
Referenced by L1GtUtils::retrieveL1GtTriggerMenuLite().
|
inline |
get the trigger mask for technical triggers
Definition at line 122 of file L1GtTriggerMenuLite.h.
References m_triggerMaskTechTrig.
Referenced by L1GtUtils::retrieveL1GtTriggerMenuLite().
|
inline |
Definition at line 91 of file L1GtTriggerMenuLite.h.
References m_triggerMenuImplementation.
Referenced by L1GtUtils::l1Results(), L1GtUtils::l1TriggerMenuImplementation(), and L1GtUtils::triggerMask().
|
inline |
get / set the trigger menu names
Definition at line 81 of file L1GtTriggerMenuLite.h.
References m_triggerMenuInterface.
|
inline |
Definition at line 86 of file L1GtTriggerMenuLite.h.
References m_triggerMenuName.
Referenced by L1GtUtils::l1TriggerMenu().
const bool L1GtTriggerMenuLite::gtTriggerResult | ( | const std::string & | trigName, |
const std::vector< bool > & | decWord, | ||
int & | errorCode | ||
) | const |
get the result for a physics algorithm or a technical trigger with name trigName use directly the format of decisionWord (no typedef)
Definition at line 401 of file L1GtTriggerMenuLite.cc.
References L1TBPTX_cfi::bitNumber, m_algorithmAliasMap, m_algorithmMap, m_technicalTriggerMap, and cscTnPEfficiencyTask_cfi::trigName.
Referenced by FWL1TriggerTableView::fillTable().
bool L1GtTriggerMenuLite::isProductEqual | ( | const L1GtTriggerMenuLite & | otherObj | ) | const |
merge rule: test on isProductEqual
Definition at line 177 of file L1GtTriggerMenuLite.cc.
References haddnano::otherObj.
bool L1GtTriggerMenuLite::operator!= | ( | const L1GtTriggerMenuLite & | otherObj | ) | const |
unequal operator
Definition at line 174 of file L1GtTriggerMenuLite.cc.
References haddnano::otherObj.
L1GtTriggerMenuLite & L1GtTriggerMenuLite::operator= | ( | const L1GtTriggerMenuLite & | rhs | ) |
assignment operator
Definition at line 100 of file L1GtTriggerMenuLite.cc.
References m_algorithmAliasMap, m_algorithmMap, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_scaleDbKey, m_technicalTriggerMap, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, m_triggerMenuImplementation, m_triggerMenuInterface, and m_triggerMenuName.
bool L1GtTriggerMenuLite::operator== | ( | const L1GtTriggerMenuLite & | rhs | ) | const |
equal operator
Definition at line 124 of file L1GtTriggerMenuLite.cc.
References m_algorithmAliasMap, m_algorithmMap, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_scaleDbKey, m_technicalTriggerMap, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, m_triggerMenuImplementation, m_triggerMenuInterface, and m_triggerMenuName.
void L1GtTriggerMenuLite::print | ( | std::ostream & | myCout, |
int & | printVerbosity | ||
) | const |
print the trigger menu allow various verbosity levels
Definition at line 222 of file L1GtTriggerMenuLite.cc.
References L1TBPTX_cfi::bitNumber, m_algorithmAliasMap, m_algorithmMap, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_scaleDbKey, m_technicalTriggerMap, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, m_triggerMenuImplementation, m_triggerMenuInterface, m_triggerMenuName, and AlCaHLTBitMon_QueryRunRegistry::string.
void L1GtTriggerMenuLite::setGtAlgorithmAliasMap | ( | const L1TriggerMap & | algoMap | ) |
Definition at line 197 of file L1GtTriggerMenuLite.cc.
References m_algorithmAliasMap.
void L1GtTriggerMenuLite::setGtAlgorithmMap | ( | const L1TriggerMap & | algoMap | ) |
Definition at line 194 of file L1GtTriggerMenuLite.cc.
References m_algorithmMap.
void L1GtTriggerMenuLite::setGtPrescaleFactorsAlgoTrig | ( | const std::vector< std::vector< int > > & | factorValue | ) |
Definition at line 213 of file L1GtTriggerMenuLite.cc.
References m_prescaleFactorsAlgoTrig.
void L1GtTriggerMenuLite::setGtPrescaleFactorsTechTrig | ( | const std::vector< std::vector< int > > & | factorValue | ) |
Definition at line 217 of file L1GtTriggerMenuLite.cc.
References m_prescaleFactorsTechTrig.
void L1GtTriggerMenuLite::setGtScaleDbKey | ( | const std::string & | scaleKey | ) |
Definition at line 191 of file L1GtTriggerMenuLite.cc.
References m_scaleDbKey.
void L1GtTriggerMenuLite::setGtTechnicalTriggerMap | ( | const L1TriggerMap & | ttMap | ) |
Definition at line 200 of file L1GtTriggerMenuLite.cc.
References m_technicalTriggerMap.
void L1GtTriggerMenuLite::setGtTriggerMaskAlgoTrig | ( | const std::vector< unsigned int > & | maskValue | ) |
set the trigger mask for physics algorithms
Definition at line 203 of file L1GtTriggerMenuLite.cc.
References m_triggerMaskAlgoTrig.
void L1GtTriggerMenuLite::setGtTriggerMaskTechTrig | ( | const std::vector< unsigned int > & | maskValue | ) |
set the trigger mask for technical triggers
Definition at line 208 of file L1GtTriggerMenuLite.cc.
References m_triggerMaskTechTrig.
void L1GtTriggerMenuLite::setGtTriggerMenuImplementation | ( | const std::string & | menuImplementation | ) |
Definition at line 186 of file L1GtTriggerMenuLite.cc.
References m_triggerMenuImplementation.
void L1GtTriggerMenuLite::setGtTriggerMenuInterface | ( | const std::string & | menuInterface | ) |
Definition at line 180 of file L1GtTriggerMenuLite.cc.
References m_triggerMenuInterface.
void L1GtTriggerMenuLite::setGtTriggerMenuName | ( | const std::string & | menuName | ) |
Definition at line 184 of file L1GtTriggerMenuLite.cc.
References m_triggerMenuName.
|
friend |
output stream operator
Definition at line 304 of file L1GtTriggerMenuLite.cc.
|
private |
map containing the physics algorithms (by alias)
Definition at line 173 of file L1GtTriggerMenuLite.h.
Referenced by gtAlgorithmAlias(), gtAlgorithmAliasMap(), gtBitNumber(), gtTriggerResult(), L1GtTriggerMenuLite(), operator=(), operator==(), print(), setGtAlgorithmAliasMap(), and ~L1GtTriggerMenuLite().
|
private |
map containing the physics algorithms (by name)
Definition at line 170 of file L1GtTriggerMenuLite.h.
Referenced by gtAlgorithmMap(), gtAlgorithmName(), gtBitNumber(), gtTriggerResult(), L1GtTriggerMenuLite(), operator=(), operator==(), print(), setGtAlgorithmMap(), and ~L1GtTriggerMenuLite().
|
private |
prescale factors
Definition at line 185 of file L1GtTriggerMenuLite.h.
Referenced by gtPrescaleFactorsAlgoTrig(), L1GtTriggerMenuLite(), operator=(), operator==(), print(), and setGtPrescaleFactorsAlgoTrig().
|
private |
Definition at line 186 of file L1GtTriggerMenuLite.h.
Referenced by gtPrescaleFactorsTechTrig(), L1GtTriggerMenuLite(), operator=(), operator==(), print(), and setGtPrescaleFactorsTechTrig().
|
private |
menu associated scale key
Definition at line 167 of file L1GtTriggerMenuLite.h.
Referenced by gtScaleDbKey(), L1GtTriggerMenuLite(), operator=(), operator==(), print(), and setGtScaleDbKey().
|
private |
map containing the technical triggers
Definition at line 176 of file L1GtTriggerMenuLite.h.
Referenced by gtBitNumber(), gtTechnicalTriggerMap(), gtTechTrigName(), gtTriggerResult(), L1GtTriggerMenuLite(), operator=(), operator==(), print(), setGtTechnicalTriggerMap(), and ~L1GtTriggerMenuLite().
|
private |
trigger mask for physics algorithms
Definition at line 179 of file L1GtTriggerMenuLite.h.
Referenced by gtTriggerMaskAlgoTrig(), L1GtTriggerMenuLite(), operator=(), operator==(), print(), and setGtTriggerMaskAlgoTrig().
|
private |
trigger mask for technical triggers
Definition at line 182 of file L1GtTriggerMenuLite.h.
Referenced by gtTriggerMaskTechTrig(), L1GtTriggerMenuLite(), operator=(), operator==(), print(), and setGtTriggerMaskTechTrig().
|
private |
Definition at line 164 of file L1GtTriggerMenuLite.h.
Referenced by gtTriggerMenuImplementation(), L1GtTriggerMenuLite(), operator=(), operator==(), print(), and setGtTriggerMenuImplementation().
|
private |
menu names
Definition at line 162 of file L1GtTriggerMenuLite.h.
Referenced by gtTriggerMenuInterface(), L1GtTriggerMenuLite(), operator=(), operator==(), print(), and setGtTriggerMenuInterface().
|
private |
Definition at line 163 of file L1GtTriggerMenuLite.h.
Referenced by gtTriggerMenuName(), L1GtTriggerMenuLite(), operator=(), operator==(), print(), and setGtTriggerMenuName().