#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 | setUnprescaledUnmasked (const bool unprescale, const bool unmask) |
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 |
bool | m_algorithmTriggersUnmasked |
bool | m_algorithmTriggersUnprescaled |
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< int > | m_initialTriggerMaskVetoAlgoTrig |
const L1TUtmTriggerMenu * | m_l1GtMenu |
unsigned long long | m_l1GtMenuCacheID |
unsigned long long | m_l1GtPfAlgoCacheID |
const l1t::PrescalesVetosHelper * | m_l1GtPrescalesVetoes |
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< 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 31 of file L1TGlobalUtil.h.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 45 of file L1TGlobalUtil.cc.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 49 of file L1TGlobalUtil.cc.
References m_l1tGlobalUtilHelper.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | iC, | ||
T & | module | ||
) |
Definition at line 232 of file L1TGlobalUtil.h.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector & | iC, | ||
T & | module | ||
) |
Definition at line 238 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 248 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 256 of file L1TGlobalUtil.h.
References m_l1tGlobalUtilHelper.
|
virtual |
|
private |
Definition at line 30 of file L1TGlobalUtil.cc.
References validate-o2o-wbm::f1, edm::FileInPath::fullPath(), m_algorithmTriggersUnmasked, m_algorithmTriggersUnprescaled, m_filledPrescales, m_l1GtMenuCacheID, m_l1GtPfAlgoCacheID, m_numberPhysTriggers, m_PreScaleColumn, and m_preScaleFileName.
|
inline |
Definition at line 149 of file L1TGlobalUtil.h.
References m_decisionsFinal.
|
inline |
Definition at line 147 of file L1TGlobalUtil.h.
References m_decisionsInitial.
|
inline |
Definition at line 148 of file L1TGlobalUtil.h.
References m_decisionsInterm.
|
inlinestatic |
Definition at line 80 of file L1TGlobalUtil.h.
References l1t::L1TGlobalUtilHelper::fillDescription().
const bool l1t::L1TGlobalUtil::getAlgBitFromName | ( | const std::string & | AlgName, |
int & | bit | ||
) | const |
Definition at line 447 of file L1TGlobalUtil.cc.
const bool l1t::L1TGlobalUtil::getAlgNameFromBit | ( | int & | bit, |
std::string & | AlgName | ||
) | const |
Definition at line 458 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first.
const bool l1t::L1TGlobalUtil::getFinalDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 494 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 558 of file L1TGlobalUtil.cc.
References edm::second().
|
inline |
const bool l1t::L1TGlobalUtil::getInitialDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 469 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 536 of file L1TGlobalUtil.cc.
References edm::second().
const bool l1t::L1TGlobalUtil::getIntermDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 484 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 547 of file L1TGlobalUtil.cc.
References edm::second().
const bool l1t::L1TGlobalUtil::getMaskByBit | ( | int & | bit, |
bool & | mask | ||
) | const |
Definition at line 514 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 578 of file L1TGlobalUtil.cc.
References edm::second().
const bool l1t::L1TGlobalUtil::getPrescaleByBit | ( | int & | bit, |
int & | prescale | ||
) | const |
Definition at line 504 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 568 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 525 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 588 of file L1TGlobalUtil.cc.
References edm::second().
|
inline |
Definition at line 161 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getComment(), and m_l1GtMenu.
|
inline |
Definition at line 159 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getName(), and m_l1GtMenu.
|
inline |
Definition at line 160 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getVersion(), and m_l1GtMenu.
|
private |
Definition at line 228 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 155 of file L1TGlobalUtil.h.
References m_masks.
void l1t::L1TGlobalUtil::OverridePrescalesAndMasks | ( | std::string | filename, |
unsigned int | psColumn = 1 |
||
) |
Definition at line 62 of file L1TGlobalUtil.cc.
References validate-o2o-wbm::f1, and edm::FileInPath::fullPath().
|
inline |
Definition at line 164 of file L1TGlobalUtil.h.
References m_PreScaleColumn.
Referenced by HLTPrescaleProvider::prescaleSet().
|
inline |
Definition at line 152 of file L1TGlobalUtil.h.
References m_prescales.
|
private |
clear decision vectors on a menu change
Definition at line 385 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
|
private |
Definition at line 427 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, and edm::second().
|
private |
Definition at line 412 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 68 of file L1TGlobalUtil.cc.
void l1t::L1TGlobalUtil::retrieveL1 | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
edm::EDGetToken | gtAlgToken | ||
) |
Definition at line 75 of file L1TGlobalUtil.cc.
void l1t::L1TGlobalUtil::retrieveL1Event | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup | ||
) |
Definition at line 180 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 184 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 83 of file L1TGlobalUtil.cc.
References plotBeamSpotDB::first, edm::EventSetup::get(), LogDebug, LogTrace, edm::ESHandle< class >::product(), l1t::PrescalesVetosHelper::readFromEventSetup(), edm::second(), AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
Referenced by HLTPrescaleProvider::init().
|
inline |
Definition at line 98 of file L1TGlobalUtil.h.
References m_algorithmTriggersUnmasked, and m_algorithmTriggersUnprescaled.
|
inline |
Definition at line 103 of file L1TGlobalUtil.h.
References m_verbosity, and HLT_25ns10e33_v2_cff::verbosity.
|
inline |
Definition at line 156 of file L1TGlobalUtil.h.
References m_vetoMasks.
|
private |
Definition at line 194 of file L1TGlobalUtil.h.
|
private |
Definition at line 187 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil(), and setUnprescaledUnmasked().
|
private |
Definition at line 186 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil(), and setUnprescaledUnmasked().
|
private |
Definition at line 219 of file L1TGlobalUtil.h.
Referenced by decisionsFinal().
|
private |
Definition at line 217 of file L1TGlobalUtil.h.
Referenced by decisionsInitial().
|
private |
Definition at line 218 of file L1TGlobalUtil.h.
Referenced by decisionsInterm().
|
private |
Definition at line 190 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 214 of file L1TGlobalUtil.h.
Referenced by getFinalOR().
|
private |
Definition at line 203 of file L1TGlobalUtil.h.
|
private |
Definition at line 205 of file L1TGlobalUtil.h.
|
private |
Definition at line 207 of file L1TGlobalUtil.h.
|
private |
Definition at line 177 of file L1TGlobalUtil.h.
Referenced by gtTriggerMenuComment(), gtTriggerMenuName(), and gtTriggerMenuVersion().
|
private |
Definition at line 178 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 183 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 182 of file L1TGlobalUtil.h.
|
private |
Definition at line 227 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 221 of file L1TGlobalUtil.h.
Referenced by masks().
|
private |
Definition at line 197 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 201 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil(), and prescaleColumn().
|
private |
Definition at line 204 of file L1TGlobalUtil.h.
|
private |
Definition at line 200 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 220 of file L1TGlobalUtil.h.
Referenced by prescales().
|
private |
Definition at line 206 of file L1TGlobalUtil.h.
|
private |
Definition at line 208 of file L1TGlobalUtil.h.
|
private |
Definition at line 211 of file L1TGlobalUtil.h.
|
private |
|
private |
Definition at line 222 of file L1TGlobalUtil.h.
Referenced by vetoMasks().