#include <L1TGlobalUtil.h>
Classes | |
class | cc |
Public Member Functions | |
const std::vector< std::pair < std::string, bool > > & | decisionsFinal () |
const std::vector< std::pair < std::string, bool > > & | decisionsInitial () |
const std::vector< std::pair < std::string, bool > > & | decisionsPrescaled () |
const bool | getAlgBitFromName (const std::string &AlgName, int &bit) const |
const bool | getAlgNameFromBit (int &bit, std::string &AlgName) const |
const bool | getFinalDecisionByBit (int &bit, bool &decision) const |
const bool | getFinalDecisionByName (const std::string &algName, bool &decision) const |
bool | getFinalOR () |
const bool | getInitialDecisionByBit (int &bit, bool &decision) const |
const bool | getInitialDecisionByName (const std::string &algName, bool &decision) const |
const bool | getMaskByBit (int &bit, bool &mask) const |
const bool | getMaskByName (const std::string &algName, bool &mask) const |
const bool | getPrescaleByBit (int &bit, int &prescale) const |
const bool | getPrescaleByName (const std::string &algName, int &prescale) const |
const bool | getPrescaledDecisionByBit (int &bit, bool &decision) const |
const bool | getPrescaledDecisionByName (const std::string &algName, bool &decision) const |
const bool | getVetoMaskByBit (int &bit, bool &veto) const |
const bool | getVetoMaskByName (const std::string &algName, bool &veto) const |
L1TGlobalUtil (std::string preScaleFileName, unsigned int psColumn) | |
const std::vector< std::pair < std::string, bool > > & | masks () |
const std::vector< std::pair < std::string, int > > & | prescales () |
void | retrieveL1 (const edm::Event &iEvent, const edm::EventSetup &evSetup, edm::EDGetToken gtAlgToken) |
initialize the class (mainly reserve) More... | |
void | setVerbosity (const int verbosity) |
const std::vector< std::pair < std::string, bool > > & | vetoMasks () |
virtual | ~L1TGlobalUtil () |
Private Member Functions | |
void | loadPrescalesAndMasks () |
void | resetDecisionVectors () |
clear decision vectors on a menu change More... | |
void | resetMaskVectors () |
void | resetPrescaleVectors () |
Private Attributes | |
const std::map< std::string, L1TUtmAlgorithm > * | m_algorithmMap |
std::vector< std::pair < std::string, bool > > | m_decisionsFinal |
std::vector< std::pair < std::string, bool > > | m_decisionsInitial |
std::vector< std::pair < std::string, bool > > | m_decisionsPrescaled |
bool | m_filledPrescales |
bool | m_finalOR |
std::vector< std::vector< int > > | m_initialPrescaleFactorsAlgoTrig |
std::vector< unsigned int > | m_initialTriggerMaskAlgoTrig |
std::vector< unsigned int > | m_initialTriggerMaskVetoAlgoTrig |
const TriggerMenu * | m_l1GtMenu |
unsigned long long | m_l1GtMenuCacheID |
std::vector< std::pair < std::string, bool > > | m_masks |
unsigned int | m_numberPhysTriggers |
unsigned int | m_PreScaleColumn |
const std::vector< std::vector < int > > * | m_prescaleFactorsAlgoTrig |
std::string | m_preScaleFileName |
std::vector< std::pair < std::string, int > > | m_prescales |
const std::vector< unsigned int > * | m_triggerMaskAlgoTrig |
const std::vector< unsigned int > * | m_triggerMaskVetoAlgoTrig |
edm::Handle< BXVector < GlobalAlgBlk > > | m_uGtAlgBlk |
int | m_verbosity |
verbosity level More... | |
std::vector< std::pair < std::string, bool > > | m_vetoMasks |
Definition at line 38 of file L1TGlobalUtil.h.
L1TGlobalUtil::L1TGlobalUtil | ( | std::string | preScaleFileName, |
unsigned int | psColumn | ||
) |
Definition at line 34 of file L1TGlobalUtil.cc.
References m_filledPrescales, m_l1GtMenuCacheID, m_numberPhysTriggers, m_PreScaleColumn, and m_preScaleFileName.
|
virtual |
Definition at line 51 of file L1TGlobalUtil.cc.
|
inline |
Definition at line 105 of file L1TGlobalUtil.h.
References m_decisionsFinal.
|
inline |
Definition at line 103 of file L1TGlobalUtil.h.
References m_decisionsInitial.
|
inline |
Definition at line 104 of file L1TGlobalUtil.h.
References m_decisionsPrescaled.
const bool L1TGlobalUtil::getAlgBitFromName | ( | const std::string & | AlgName, |
int & | bit | ||
) | const |
Definition at line 387 of file L1TGlobalUtil.cc.
const bool L1TGlobalUtil::getAlgNameFromBit | ( | int & | bit, |
std::string & | AlgName | ||
) | const |
Definition at line 398 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first.
const bool L1TGlobalUtil::getFinalDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 434 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool L1TGlobalUtil::getFinalDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
Definition at line 498 of file L1TGlobalUtil.cc.
References edm::second().
|
inline |
const bool L1TGlobalUtil::getInitialDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 409 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool L1TGlobalUtil::getInitialDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
Definition at line 476 of file L1TGlobalUtil.cc.
References edm::second().
const bool L1TGlobalUtil::getMaskByBit | ( | int & | bit, |
bool & | mask | ||
) | const |
Definition at line 454 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool L1TGlobalUtil::getMaskByName | ( | const std::string & | algName, |
bool & | mask | ||
) | const |
Definition at line 518 of file L1TGlobalUtil.cc.
References edm::second().
const bool L1TGlobalUtil::getPrescaleByBit | ( | int & | bit, |
int & | prescale | ||
) | const |
Definition at line 444 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool L1TGlobalUtil::getPrescaleByName | ( | const std::string & | algName, |
int & | prescale | ||
) | const |
Definition at line 508 of file L1TGlobalUtil.cc.
References edm::second().
const bool L1TGlobalUtil::getPrescaledDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 424 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool L1TGlobalUtil::getPrescaledDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
Definition at line 487 of file L1TGlobalUtil.cc.
References edm::second().
const bool L1TGlobalUtil::getVetoMaskByBit | ( | int & | bit, |
bool & | veto | ||
) | const |
Definition at line 465 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool L1TGlobalUtil::getVetoMaskByName | ( | const std::string & | algName, |
bool & | veto | ||
) | const |
Definition at line 528 of file L1TGlobalUtil.cc.
References edm::second().
|
private |
Definition at line 168 of file L1TGlobalUtil.cc.
References cuy::col, plotBeamSpotDB::first, geometryCSVtoXML::line, LogTrace, cmsHarvester::sep, findQualityFiles::size, split, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
|
inline |
Definition at line 111 of file L1TGlobalUtil.h.
References m_masks.
|
inline |
Definition at line 108 of file L1TGlobalUtil.h.
References m_prescales.
|
private |
clear decision vectors on a menu change
Definition at line 325 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
|
private |
Definition at line 367 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
|
private |
Definition at line 352 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
void L1TGlobalUtil::retrieveL1 | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
edm::EDGetToken | gtAlgToken | ||
) |
initialize the class (mainly reserve)
Definition at line 56 of file L1TGlobalUtil.cc.
References gather_cfg::cout, plotBeamSpotDB::first, edm::EventSetup::get(), L1TUtmTriggerMenu::getAlgorithmMap(), edm::Event::getByToken(), LogDebug, LogTrace, edm::ESHandle< class >::product(), edm::second(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
|
inline |
Definition at line 112 of file L1TGlobalUtil.h.
References m_vetoMasks.
|
private |
Definition at line 131 of file L1TGlobalUtil.h.
|
private |
Definition at line 158 of file L1TGlobalUtil.h.
Referenced by decisionsFinal().
|
private |
Definition at line 156 of file L1TGlobalUtil.h.
Referenced by decisionsInitial().
|
private |
Definition at line 157 of file L1TGlobalUtil.h.
Referenced by decisionsPrescaled().
|
private |
Definition at line 127 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 153 of file L1TGlobalUtil.h.
Referenced by getFinalOR().
|
private |
Definition at line 142 of file L1TGlobalUtil.h.
|
private |
Definition at line 144 of file L1TGlobalUtil.h.
|
private |
Definition at line 146 of file L1TGlobalUtil.h.
|
private |
Definition at line 123 of file L1TGlobalUtil.h.
|
private |
Definition at line 124 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 160 of file L1TGlobalUtil.h.
Referenced by masks().
|
private |
Definition at line 136 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 140 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 143 of file L1TGlobalUtil.h.
|
private |
Definition at line 139 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 159 of file L1TGlobalUtil.h.
Referenced by prescales().
|
private |
Definition at line 145 of file L1TGlobalUtil.h.
|
private |
Definition at line 147 of file L1TGlobalUtil.h.
|
private |
Definition at line 150 of file L1TGlobalUtil.h.
|
private |
|
private |
Definition at line 161 of file L1TGlobalUtil.h.
Referenced by vetoMasks().