![]() |
![]() |
#include <L1TGlobalUtil.h>
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 |
const std::string & | gtTriggerMenuComment () const |
const std::string & | gtTriggerMenuName () const |
const std::string & | gtTriggerMenuVersion () const |
L1TGlobalUtil () | |
const std::vector< std::pair < std::string, bool > > & | masks () |
void | OverridePrescalesAndMasks (std::string filename, unsigned int psColumn=1) |
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 | retrieveL1Event (const edm::Event &iEvent, const edm::EventSetup &evSetup, edm::EDGetToken gtAlgToken) |
void | retrieveL1LumiBlock (const edm::EventSetup &evSetup) |
void | retrieveL1Run (const edm::EventSetup &evSetup) |
void | setVerbosity (const int verbosity) |
const std::vector< std::pair < std::string, bool > > & | vetoMasks () |
~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 L1TUtmTriggerMenu * | 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 29 of file L1TGlobalUtil.h.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | ) |
Definition at line 28 of file L1TGlobalUtil.cc.
References validate-o2o-wbm::f1, edm::FileInPath::fullPath(), m_filledPrescales, m_l1GtMenuCacheID, m_numberPhysTriggers, m_PreScaleColumn, and m_preScaleFileName.
l1t::L1TGlobalUtil::~L1TGlobalUtil | ( | ) |
Definition at line 46 of file L1TGlobalUtil.cc.
|
inline |
Definition at line 97 of file L1TGlobalUtil.h.
References m_decisionsFinal.
|
inline |
Definition at line 95 of file L1TGlobalUtil.h.
References m_decisionsInitial.
|
inline |
Definition at line 96 of file L1TGlobalUtil.h.
References m_decisionsPrescaled.
const bool l1t::L1TGlobalUtil::getAlgBitFromName | ( | const std::string & | AlgName, |
int & | bit | ||
) | const |
Definition at line 395 of file L1TGlobalUtil.cc.
const bool l1t::L1TGlobalUtil::getAlgNameFromBit | ( | int & | bit, |
std::string & | AlgName | ||
) | const |
Definition at line 406 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first.
const bool l1t::L1TGlobalUtil::getFinalDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 442 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool l1t::L1TGlobalUtil::getFinalDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
Definition at line 506 of file L1TGlobalUtil.cc.
References edm::second().
|
inline |
const bool l1t::L1TGlobalUtil::getInitialDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 417 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool l1t::L1TGlobalUtil::getInitialDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
Definition at line 484 of file L1TGlobalUtil.cc.
References edm::second().
const bool l1t::L1TGlobalUtil::getMaskByBit | ( | int & | bit, |
bool & | mask | ||
) | const |
Definition at line 462 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool l1t::L1TGlobalUtil::getMaskByName | ( | const std::string & | algName, |
bool & | mask | ||
) | const |
Definition at line 526 of file L1TGlobalUtil.cc.
References edm::second().
const bool l1t::L1TGlobalUtil::getPrescaleByBit | ( | int & | bit, |
int & | prescale | ||
) | const |
Definition at line 452 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool l1t::L1TGlobalUtil::getPrescaleByName | ( | const std::string & | algName, |
int & | prescale | ||
) | const |
Definition at line 516 of file L1TGlobalUtil.cc.
References edm::second().
const bool l1t::L1TGlobalUtil::getPrescaledDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 432 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool l1t::L1TGlobalUtil::getPrescaledDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
Definition at line 495 of file L1TGlobalUtil.cc.
References edm::second().
const bool l1t::L1TGlobalUtil::getVetoMaskByBit | ( | int & | bit, |
bool & | veto | ||
) | const |
Definition at line 473 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool l1t::L1TGlobalUtil::getVetoMaskByName | ( | const std::string & | algName, |
bool & | veto | ||
) | const |
Definition at line 536 of file L1TGlobalUtil.cc.
References edm::second().
|
inline |
Definition at line 109 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getComment(), and m_l1GtMenu.
|
inline |
Definition at line 107 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getName(), and m_l1GtMenu.
|
inline |
Definition at line 108 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getVersion(), and m_l1GtMenu.
|
private |
Definition at line 176 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 103 of file L1TGlobalUtil.h.
References m_masks.
void l1t::L1TGlobalUtil::OverridePrescalesAndMasks | ( | std::string | filename, |
unsigned int | psColumn = 1 |
||
) |
Definition at line 39 of file L1TGlobalUtil.cc.
References validate-o2o-wbm::f1, and edm::FileInPath::fullPath().
|
inline |
Definition at line 100 of file L1TGlobalUtil.h.
References m_prescales.
|
private |
clear decision vectors on a menu change
Definition at line 333 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
|
private |
Definition at line 375 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
|
private |
Definition at line 360 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
void l1t::L1TGlobalUtil::retrieveL1 | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
edm::EDGetToken | gtAlgToken | ||
) |
initialize the class (mainly reserve)
Definition at line 49 of file L1TGlobalUtil.cc.
void l1t::L1TGlobalUtil::retrieveL1Event | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
edm::EDGetToken | gtAlgToken | ||
) |
Definition at line 133 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, edm::Event::getByToken(), edm::second(), and AlCaHLTBitMon_QueryRunRegistry::string.
void l1t::L1TGlobalUtil::retrieveL1LumiBlock | ( | const edm::EventSetup & | evSetup | ) |
Definition at line 83 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, LogDebug, LogTrace, edm::second(), and AlCaHLTBitMon_QueryRunRegistry::string.
void l1t::L1TGlobalUtil::retrieveL1Run | ( | const edm::EventSetup & | evSetup | ) |
Definition at line 61 of file L1TGlobalUtil.cc.
References edm::EventSetup::get(), and edm::ESHandle< class >::product().
|
inline |
|
inline |
Definition at line 104 of file L1TGlobalUtil.h.
References m_vetoMasks.
|
private |
Definition at line 128 of file L1TGlobalUtil.h.
|
private |
Definition at line 153 of file L1TGlobalUtil.h.
Referenced by decisionsFinal().
|
private |
Definition at line 151 of file L1TGlobalUtil.h.
Referenced by decisionsInitial().
|
private |
Definition at line 152 of file L1TGlobalUtil.h.
Referenced by decisionsPrescaled().
|
private |
Definition at line 124 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 148 of file L1TGlobalUtil.h.
Referenced by getFinalOR().
|
private |
Definition at line 137 of file L1TGlobalUtil.h.
|
private |
Definition at line 139 of file L1TGlobalUtil.h.
|
private |
Definition at line 141 of file L1TGlobalUtil.h.
|
private |
Definition at line 120 of file L1TGlobalUtil.h.
Referenced by gtTriggerMenuComment(), gtTriggerMenuName(), and gtTriggerMenuVersion().
|
private |
Definition at line 121 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 155 of file L1TGlobalUtil.h.
Referenced by masks().
|
private |
Definition at line 131 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 135 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 138 of file L1TGlobalUtil.h.
|
private |
Definition at line 134 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 154 of file L1TGlobalUtil.h.
Referenced by prescales().
|
private |
Definition at line 140 of file L1TGlobalUtil.h.
|
private |
Definition at line 142 of file L1TGlobalUtil.h.
|
private |
Definition at line 145 of file L1TGlobalUtil.h.
|
private |
|
private |
Definition at line 156 of file L1TGlobalUtil.h.
Referenced by vetoMasks().