#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, std::vector< int > &mask) const |
const bool | getMaskByName (const std::string &algName, std::vector< int > &mask) const |
const bool | getPrescaleByBit (int &bit, int &prescale) const |
const bool | getPrescaleByName (const std::string &algName, int &prescale) const |
const std::string & | gtTriggerMenuComment () const |
const std::string & | gtTriggerMenuName () const |
const std::string & | gtTriggerMenuVersion () const |
template<typename T > | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &&iC, T &module, edm::InputTag const &l1tAlgBlkInputTag, edm::InputTag const &l1tExtBlkInputTag, UseEventSetupIn use=UseEventSetupIn::Run) | |
template<typename T > | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &&iC, T &module, UseEventSetupIn use=UseEventSetupIn::Run) | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &&iC, UseEventSetupIn use=UseEventSetupIn::Run) | |
template<typename T > | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &iC, T &module, edm::InputTag const &l1tAlgBlkInputTag, edm::InputTag const &l1tExtBlkInputTag, UseEventSetupIn use=UseEventSetupIn::Run) | |
template<typename T > | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &iC, T &module, UseEventSetupIn use=UseEventSetupIn::Run) | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &iC, UseEventSetupIn use=UseEventSetupIn::Run) | |
const std::vector< std::pair< std::string, std::vector< int > > > & | masks () |
unsigned int | numberOfPreScaleColumns () const |
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) |
bool | valid () const |
check that the L1TGlobalUtil has been properly initialised More... | |
virtual | ~L1TGlobalUtil () |
destructor More... | |
Static Public Member Functions | |
static void | fillDescription (edm::ParameterSetDescription &desc) |
Private Member Functions | |
void | eventSetupConsumes (edm::ConsumesCollector &iC, UseEventSetupIn useEventSetupIn) |
L1TGlobalUtil () | |
void | loadPrescalesAndMasks () |
void | resetDecisionVectors () |
clear decision vectors on a menu change More... | |
void | resetMaskVectors () |
void | resetPrescaleVectors () |
void | retrieveL1Setup (const edm::EventSetup &evSetup, bool isRun) |
Definition at line 42 of file L1TGlobalUtil.h.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | iC, | ||
UseEventSetupIn | use = UseEventSetupIn::Run |
||
) |
Definition at line 37 of file L1TGlobalUtil.cc.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector & | iC, | ||
UseEventSetupIn | use = UseEventSetupIn::Run |
||
) |
Definition at line 42 of file L1TGlobalUtil.cc.
References eventSetupConsumes(), m_l1tGlobalUtilHelper, m_readPrescalesFromFile, and muonDTDigis_cfi::pset.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | iC, | ||
T & | module, | ||
UseEventSetupIn | use = UseEventSetupIn::Run |
||
) |
Definition at line 239 of file L1TGlobalUtil.h.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector & | iC, | ||
T & | module, | ||
UseEventSetupIn | use = UseEventSetupIn::Run |
||
) |
Definition at line 246 of file L1TGlobalUtil.h.
References eventSetupConsumes(), m_l1tGlobalUtilHelper, m_readPrescalesFromFile, and muonDTDigis_cfi::pset.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | iC, | ||
T & | module, | ||
edm::InputTag const & | l1tAlgBlkInputTag, | ||
edm::InputTag const & | l1tExtBlkInputTag, | ||
UseEventSetupIn | use = UseEventSetupIn::Run |
||
) |
Definition at line 257 of file L1TGlobalUtil.h.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector & | iC, | ||
T & | module, | ||
edm::InputTag const & | l1tAlgBlkInputTag, | ||
edm::InputTag const & | l1tExtBlkInputTag, | ||
UseEventSetupIn | use = UseEventSetupIn::Run |
||
) |
Definition at line 266 of file L1TGlobalUtil.h.
References eventSetupConsumes(), SiStripSourceConfigTier0_cff::l1tAlgBlkInputTag, SiStripSourceConfigTier0_cff::l1tExtBlkInputTag, m_l1tGlobalUtilHelper, m_readPrescalesFromFile, and muonDTDigis_cfi::pset.
|
virtual |
|
private |
Definition at line 21 of file L1TGlobalUtil.cc.
References DeadROC_duringRun::f1, m_filledPrescales, m_l1GtMenuCacheID, m_l1GtPfAlgoCacheID, m_numberPhysTriggers, m_PreScaleColumn, m_prescaleFactorsAlgoTrig, m_preScaleFileName, m_readPrescalesFromFile, and m_triggerMaskAlgoTrig.
|
inline |
Definition at line 154 of file L1TGlobalUtil.h.
References m_decisionsFinal.
Referenced by HcalIsoTrkAnalyzer::analyze().
|
inline |
|
inline |
|
private |
Definition at line 397 of file L1TGlobalUtil.cc.
References edm::BeginRun, edm::ConsumesCollector::esConsumes(), l1t::Event, PrescalesVetos_cff::L1TGlobalPrescalesVetos, l1t::Run, and l1t::RunAndEvent.
Referenced by L1TGlobalUtil().
|
inlinestatic |
Definition at line 98 of file L1TGlobalUtil.h.
References l1t::L1TGlobalUtilHelper::fillDescription().
const bool l1t::L1TGlobalUtil::getAlgBitFromName | ( | const std::string & | AlgName, |
int & | bit | ||
) | const |
Definition at line 456 of file L1TGlobalUtil.cc.
const bool l1t::L1TGlobalUtil::getAlgNameFromBit | ( | int & | bit, |
std::string & | AlgName | ||
) | const |
Definition at line 466 of file L1TGlobalUtil.cc.
References dqmdumpme::first.
Referenced by L1TdeStage2uGT::analyze().
const bool l1t::L1TGlobalUtil::getFinalDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
const bool l1t::L1TGlobalUtil::getFinalDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
|
inline |
const bool l1t::L1TGlobalUtil::getInitialDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 475 of file L1TGlobalUtil.cc.
References dqmdumpme::first, and edm::second().
const bool l1t::L1TGlobalUtil::getInitialDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
const bool l1t::L1TGlobalUtil::getIntermDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
const bool l1t::L1TGlobalUtil::getIntermDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
const bool l1t::L1TGlobalUtil::getMaskByBit | ( | int & | bit, |
std::vector< int > & | mask | ||
) | const |
const bool l1t::L1TGlobalUtil::getMaskByName | ( | const std::string & | algName, |
std::vector< int > & | mask | ||
) | const |
const bool l1t::L1TGlobalUtil::getPrescaleByBit | ( | int & | bit, |
int & | prescale | ||
) | const |
Definition at line 507 of file L1TGlobalUtil.cc.
References dqmdumpme::first, and edm::second().
Referenced by L1TdeStage2uGT::analyze().
const bool l1t::L1TGlobalUtil::getPrescaleByName | ( | const std::string & | algName, |
int & | prescale | ||
) | const |
|
inline |
Definition at line 165 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getComment(), and m_l1GtMenu.
|
inline |
Definition at line 163 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getName(), and m_l1GtMenu.
|
inline |
Definition at line 164 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getVersion(), and m_l1GtMenu.
|
private |
Definition at line 281 of file L1TGlobalUtil.cc.
References cuy::col, relativeConstraints::empty, dqmdumpme::first, createfilelist::int, mps_splice::line, LogTrace, findQualityFiles::size, cms::dd::split(), AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
|
inline |
|
inline |
void l1t::L1TGlobalUtil::OverridePrescalesAndMasks | ( | std::string | filename, |
unsigned int | psColumn = 1 |
||
) |
Definition at line 59 of file L1TGlobalUtil.cc.
References DeadROC_duringRun::f1, corrVsCorr::filename, and HLT_2018_cff::psColumn.
|
inline |
|
inline |
Definition at line 157 of file L1TGlobalUtil.h.
References m_prescales.
Referenced by L1TdeStage2uGT::bookHistograms().
|
private |
clear decision vectors on a menu change
Definition at line 413 of file L1TGlobalUtil.cc.
References dqmdumpme::first, and edm::second().
|
private |
|
private |
void l1t::L1TGlobalUtil::retrieveL1 | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup | ||
) |
initialize the class (mainly reserve)
Definition at line 65 of file L1TGlobalUtil.cc.
References iEvent.
Referenced by L1TdeStage2uGT::analyze(), and HcalIsoTrkAnalyzer::analyze().
void l1t::L1TGlobalUtil::retrieveL1 | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
edm::EDGetToken | gtAlgToken | ||
) |
Definition at line 73 of file L1TGlobalUtil.cc.
References iEvent.
void l1t::L1TGlobalUtil::retrieveL1Event | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup | ||
) |
Definition at line 209 of file L1TGlobalUtil.cc.
References iEvent.
void l1t::L1TGlobalUtil::retrieveL1Event | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
edm::EDGetToken | gtAlgToken | ||
) |
Definition at line 213 of file L1TGlobalUtil.cc.
References dqmdumpme::first, iEvent, LogDebug, edm::second(), and AlCaHLTBitMon_QueryRunRegistry::string.
void l1t::L1TGlobalUtil::retrieveL1Setup | ( | const edm::EventSetup & | evSetup | ) |
Definition at line 83 of file L1TGlobalUtil.cc.
Referenced by L1TdeStage2uGT::bookHistograms().
|
private |
Definition at line 88 of file L1TGlobalUtil.cc.
References edm::eventsetup::EventSetupRecord::cacheIdentifier(), dqmdumpme::first, edm::EventSetup::get(), LogDebug, LogTrace, l1t::PrescalesVetosHelper::readFromEventSetup(), edm::second(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 114 of file L1TGlobalUtil.h.
References m_verbosity, and HIPAlignmentAlgorithm_cfi::verbosity.
bool l1t::L1TGlobalUtil::valid | ( | ) | const |
check that the L1TGlobalUtil has been properly initialised
Definition at line 57 of file L1TGlobalUtil.cc.
|
private |
Definition at line 197 of file L1TGlobalUtil.h.
|
private |
Definition at line 222 of file L1TGlobalUtil.h.
Referenced by decisionsFinal().
|
private |
Definition at line 220 of file L1TGlobalUtil.h.
Referenced by decisionsInitial().
|
private |
Definition at line 221 of file L1TGlobalUtil.h.
Referenced by decisionsInterm().
|
private |
Definition at line 193 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 217 of file L1TGlobalUtil.h.
Referenced by getFinalOR().
|
private |
Definition at line 208 of file L1TGlobalUtil.h.
|
private |
Definition at line 210 of file L1TGlobalUtil.h.
|
private |
Definition at line 184 of file L1TGlobalUtil.h.
Referenced by gtTriggerMenuComment(), gtTriggerMenuName(), and gtTriggerMenuVersion().
|
private |
Definition at line 185 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 190 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 189 of file L1TGlobalUtil.h.
|
private |
Definition at line 235 of file L1TGlobalUtil.h.
|
private |
Definition at line 232 of file L1TGlobalUtil.h.
|
private |
Definition at line 229 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 234 of file L1TGlobalUtil.h.
|
private |
Definition at line 231 of file L1TGlobalUtil.h.
|
private |
Definition at line 224 of file L1TGlobalUtil.h.
Referenced by masks().
|
private |
Definition at line 201 of file L1TGlobalUtil.h.
|
private |
Definition at line 206 of file L1TGlobalUtil.h.
Referenced by numberOfPreScaleColumns().
|
private |
Definition at line 200 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 205 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil(), and prescaleColumn().
|
private |
Definition at line 209 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 204 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 223 of file L1TGlobalUtil.h.
Referenced by prescales().
|
private |
Definition at line 188 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 211 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 214 of file L1TGlobalUtil.h.
|
private |