#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 > > & | decisionsInterm () |
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 |
const bool | getInitialDecisionByBit (int &bit, bool &decision) const |
const bool | getInitialDecisionByName (const std::string &algName, bool &decision) const |
const bool | getIntermDecisionByBit (int &bit, bool &decision) const |
const bool | getIntermDecisionByName (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 | 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 (edm::ParameterSet const &pset, edm::ConsumesCollector &&iC) | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &iC) | |
template<typename T > | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &&iC, T &module) | |
template<typename T > | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &iC, T &module) | |
template<typename T > | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &&iC, T &module, edm::InputTag const &l1tAlgBlkInputTag, edm::InputTag const &l1tExtBlkInputTag) | |
template<typename T > | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &iC, T &module, edm::InputTag const &l1tAlgBlkInputTag, edm::InputTag const &l1tExtBlkInputTag) | |
const std::vector< std::pair < std::string, bool > > & | masks () |
void | OverridePrescalesAndMasks (std::string filename, unsigned int psColumn=1) |
unsigned int | prescaleColumn () const |
const std::vector< std::pair < std::string, int > > & | prescales () |
void | retrieveL1 (const edm::Event &iEvent, const edm::EventSetup &evSetup) |
initialize the class (mainly reserve) More... | |
void | retrieveL1 (const edm::Event &iEvent, const edm::EventSetup &evSetup, edm::EDGetToken gtAlgToken) |
void | retrieveL1Event (const edm::Event &iEvent, const edm::EventSetup &evSetup) |
void | retrieveL1Event (const edm::Event &iEvent, const edm::EventSetup &evSetup, edm::EDGetToken gtAlgToken) |
void | retrieveL1Setup (const edm::EventSetup &evSetup) |
void | setVerbosity (const int verbosity) |
const std::vector< std::pair < std::string, bool > > & | vetoMasks () |
virtual | ~L1TGlobalUtil () |
destructor More... | |
Static Public Member Functions | |
static void | fillDescription (edm::ParameterSetDescription &desc) |
Private Member Functions | |
L1TGlobalUtil () | |
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_decisionsInterm |
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::unique_ptr < L1TGlobalUtilHelper > | m_l1tGlobalUtilHelper |
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 | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 39 of file L1TGlobalUtil.cc.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 43 of file L1TGlobalUtil.cc.
References m_l1tGlobalUtilHelper.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | iC, | ||
T & | module | ||
) |
Definition at line 216 of file L1TGlobalUtil.h.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector & | iC, | ||
T & | module | ||
) |
Definition at line 222 of file L1TGlobalUtil.h.
References m_l1tGlobalUtilHelper.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | iC, | ||
T & | module, | ||
edm::InputTag const & | l1tAlgBlkInputTag, | ||
edm::InputTag const & | l1tExtBlkInputTag | ||
) |
Definition at line 232 of file L1TGlobalUtil.h.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector & | iC, | ||
T & | module, | ||
edm::InputTag const & | l1tAlgBlkInputTag, | ||
edm::InputTag const & | l1tExtBlkInputTag | ||
) |
Definition at line 240 of file L1TGlobalUtil.h.
References m_l1tGlobalUtilHelper.
|
virtual |
|
private |
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.
|
inline |
Definition at line 142 of file L1TGlobalUtil.h.
References m_decisionsFinal.
|
inline |
Definition at line 140 of file L1TGlobalUtil.h.
References m_decisionsInitial.
|
inline |
Definition at line 141 of file L1TGlobalUtil.h.
References m_decisionsInterm.
|
inlinestatic |
Definition at line 78 of file L1TGlobalUtil.h.
References l1t::L1TGlobalUtilHelper::fillDescription().
const bool l1t::L1TGlobalUtil::getAlgBitFromName | ( | const std::string & | AlgName, |
int & | bit | ||
) | const |
Definition at line 413 of file L1TGlobalUtil.cc.
const bool l1t::L1TGlobalUtil::getAlgNameFromBit | ( | int & | bit, |
std::string & | AlgName | ||
) | const |
Definition at line 424 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first.
const bool l1t::L1TGlobalUtil::getFinalDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 460 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 524 of file L1TGlobalUtil.cc.
References edm::second().
|
inline |
const bool l1t::L1TGlobalUtil::getInitialDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 435 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 502 of file L1TGlobalUtil.cc.
References edm::second().
const bool l1t::L1TGlobalUtil::getIntermDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 450 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
const bool l1t::L1TGlobalUtil::getIntermDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
Definition at line 513 of file L1TGlobalUtil.cc.
References edm::second().
const bool l1t::L1TGlobalUtil::getMaskByBit | ( | int & | bit, |
bool & | mask | ||
) | const |
Definition at line 480 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 544 of file L1TGlobalUtil.cc.
References edm::second().
const bool l1t::L1TGlobalUtil::getPrescaleByBit | ( | int & | bit, |
int & | prescale | ||
) | const |
Definition at line 470 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 534 of file L1TGlobalUtil.cc.
References edm::second().
Referenced by HLTPrescaleProvider::prescaleValues(), and HLTPrescaleProvider::prescaleValuesInDetail().
const bool l1t::L1TGlobalUtil::getVetoMaskByBit | ( | int & | bit, |
bool & | veto | ||
) | const |
Definition at line 491 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 554 of file L1TGlobalUtil.cc.
References edm::second().
|
inline |
Definition at line 154 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getComment(), and m_l1GtMenu.
|
inline |
Definition at line 152 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getName(), and m_l1GtMenu.
|
inline |
Definition at line 153 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getVersion(), and m_l1GtMenu.
|
private |
Definition at line 194 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 148 of file L1TGlobalUtil.h.
References m_masks.
void l1t::L1TGlobalUtil::OverridePrescalesAndMasks | ( | std::string | filename, |
unsigned int | psColumn = 1 |
||
) |
Definition at line 56 of file L1TGlobalUtil.cc.
References validate-o2o-wbm::f1, and edm::FileInPath::fullPath().
|
inline |
Definition at line 157 of file L1TGlobalUtil.h.
References m_PreScaleColumn.
Referenced by HLTPrescaleProvider::prescaleSet().
|
inline |
Definition at line 145 of file L1TGlobalUtil.h.
References m_prescales.
|
private |
clear decision vectors on a menu change
Definition at line 351 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
|
private |
Definition at line 393 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
|
private |
Definition at line 378 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
void l1t::L1TGlobalUtil::retrieveL1 | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup | ||
) |
initialize the class (mainly reserve)
Definition at line 62 of file L1TGlobalUtil.cc.
void l1t::L1TGlobalUtil::retrieveL1 | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
edm::EDGetToken | gtAlgToken | ||
) |
Definition at line 69 of file L1TGlobalUtil.cc.
void l1t::L1TGlobalUtil::retrieveL1Event | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup | ||
) |
Definition at line 146 of file L1TGlobalUtil.cc.
Referenced by HLTPrescaleProvider::prescaleSet(), HLTPrescaleProvider::prescaleValues(), and HLTPrescaleProvider::prescaleValuesInDetail().
void l1t::L1TGlobalUtil::retrieveL1Event | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
edm::EDGetToken | gtAlgToken | ||
) |
Definition at line 150 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, edm::Event::getByToken(), edm::second(), and AlCaHLTBitMon_QueryRunRegistry::string.
void l1t::L1TGlobalUtil::retrieveL1Setup | ( | const edm::EventSetup & | evSetup | ) |
Definition at line 77 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, edm::EventSetup::get(), LogDebug, LogTrace, edm::ESHandle< class >::product(), edm::second(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HLTPrescaleProvider::init().
|
inline |
Definition at line 96 of file L1TGlobalUtil.h.
References m_verbosity, and HLT_25ns10e33_v2_cff::verbosity.
|
inline |
Definition at line 149 of file L1TGlobalUtil.h.
References m_vetoMasks.
|
private |
Definition at line 178 of file L1TGlobalUtil.h.
|
private |
Definition at line 203 of file L1TGlobalUtil.h.
Referenced by decisionsFinal().
|
private |
Definition at line 201 of file L1TGlobalUtil.h.
Referenced by decisionsInitial().
|
private |
Definition at line 202 of file L1TGlobalUtil.h.
Referenced by decisionsInterm().
|
private |
Definition at line 174 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 198 of file L1TGlobalUtil.h.
Referenced by getFinalOR().
|
private |
Definition at line 187 of file L1TGlobalUtil.h.
|
private |
Definition at line 189 of file L1TGlobalUtil.h.
|
private |
Definition at line 191 of file L1TGlobalUtil.h.
|
private |
Definition at line 170 of file L1TGlobalUtil.h.
Referenced by gtTriggerMenuComment(), gtTriggerMenuName(), and gtTriggerMenuVersion().
|
private |
Definition at line 171 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 211 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 205 of file L1TGlobalUtil.h.
Referenced by masks().
|
private |
Definition at line 181 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 185 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil(), and prescaleColumn().
|
private |
Definition at line 188 of file L1TGlobalUtil.h.
|
private |
Definition at line 184 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 204 of file L1TGlobalUtil.h.
Referenced by prescales().
|
private |
Definition at line 190 of file L1TGlobalUtil.h.
|
private |
Definition at line 192 of file L1TGlobalUtil.h.
|
private |
Definition at line 195 of file L1TGlobalUtil.h.
|
private |
|
private |
Definition at line 206 of file L1TGlobalUtil.h.
Referenced by vetoMasks().