#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, double &prescale) const |
const bool | getPrescaleByName (const std::string &algName, double &prescale) const |
const std::string & | gtTriggerMenuComment () const |
const std::string & | gtTriggerMenuName () const |
const std::string & | gtTriggerMenuVersion () const |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &&iC, 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, UseEventSetupIn use=UseEventSetupIn::Run) | |
template<typename T > | |
L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &iC, T &module, 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, edm::InputTag const &l1tAlgBlkInputTag, edm::InputTag const &l1tExtBlkInputTag, 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, double > > & | 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, edm::InputTag const &iAlg, edm::InputTag const &iExt, bool readPrescalesFromFile) |
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 44 of file L1TGlobalUtil.h.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | iC, | ||
UseEventSetupIn | use = UseEventSetupIn::Run |
||
) |
Definition at line 38 of file L1TGlobalUtil.cc.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector & | iC, | ||
UseEventSetupIn | use = UseEventSetupIn::Run |
||
) |
Definition at line 43 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 248 of file L1TGlobalUtil.h.
l1t::L1TGlobalUtil::L1TGlobalUtil | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector & | iC, | ||
T & | module, | ||
UseEventSetupIn | use = UseEventSetupIn::Run |
||
) |
Definition at line 255 of file L1TGlobalUtil.h.
References eventSetupConsumes(), m_l1tGlobalUtilHelper, m_readPrescalesFromFile, callgraph::module, 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 266 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 275 of file L1TGlobalUtil.h.
References eventSetupConsumes(), WElectronSkim_cff::l1tAlgBlkInputTag, WElectronSkim_cff::l1tExtBlkInputTag, m_l1tGlobalUtilHelper, m_readPrescalesFromFile, callgraph::module, and muonDTDigis_cfi::pset.
|
virtual |
|
private |
Definition at line 22 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 161 of file L1TGlobalUtil.h.
References m_decisionsFinal.
Referenced by HcalIsoTrkSimAnalyzer::analyze(), HcalIsoTrkAnalyzer::analyze(), and AlCaHcalIsotrkProducer::produce().
|
inline |
Definition at line 159 of file L1TGlobalUtil.h.
References m_decisionsInitial.
|
inline |
Definition at line 160 of file L1TGlobalUtil.h.
References m_decisionsInterm.
|
private |
Definition at line 398 of file L1TGlobalUtil.cc.
References edm::BeginRun, edm::ConsumesCollector::esConsumes(), l1t::Event, PrescalesVetosFract_cff::L1TGlobalPrescalesVetosFract, l1t::Run, and l1t::RunAndEvent.
Referenced by L1TGlobalUtil().
|
inlinestatic |
Definition at line 100 of file L1TGlobalUtil.h.
References submitPVResolutionJobs::desc, and l1t::L1TGlobalUtilHelper::fillDescription().
Referenced by HLTPrescaleProvider::fillPSetDescription().
const bool l1t::L1TGlobalUtil::getAlgBitFromName | ( | const std::string & | AlgName, |
int & | bit | ||
) | const |
Definition at line 458 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, and gpuClustering::pixelStatus::getIndex().
const bool l1t::L1TGlobalUtil::getAlgNameFromBit | ( | int & | bit, |
std::string & | AlgName | ||
) | const |
Definition at line 468 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, and dqmdumpme::first.
Referenced by L1TdeStage2uGT::analyze().
const bool l1t::L1TGlobalUtil::getFinalDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 500 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, dqmdumpme::first, and edm::second().
const bool l1t::L1TGlobalUtil::getFinalDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
Definition at line 548 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, and edm::second().
|
inline |
const bool l1t::L1TGlobalUtil::getInitialDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 477 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, dqmdumpme::first, and edm::second().
const bool l1t::L1TGlobalUtil::getInitialDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
Definition at line 528 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, and edm::second().
const bool l1t::L1TGlobalUtil::getIntermDecisionByBit | ( | int & | bit, |
bool & | decision | ||
) | const |
Definition at line 491 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, dqmdumpme::first, and edm::second().
const bool l1t::L1TGlobalUtil::getIntermDecisionByName | ( | const std::string & | algName, |
bool & | decision | ||
) | const |
Definition at line 538 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, and edm::second().
const bool l1t::L1TGlobalUtil::getMaskByBit | ( | int & | bit, |
std::vector< int > & | mask | ||
) | const |
Definition at line 518 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, dqmdumpme::first, gpuClustering::pixelStatus::mask, and edm::second().
const bool l1t::L1TGlobalUtil::getMaskByName | ( | const std::string & | algName, |
std::vector< int > & | mask | ||
) | const |
Definition at line 566 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, gpuClustering::pixelStatus::mask, and edm::second().
const bool l1t::L1TGlobalUtil::getPrescaleByBit | ( | int & | bit, |
double & | prescale | ||
) | const |
Definition at line 509 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, dqmdumpme::first, and edm::second().
Referenced by L1TdeStage2uGT::analyze().
const bool l1t::L1TGlobalUtil::getPrescaleByName | ( | const std::string & | algName, |
double & | prescale | ||
) | const |
Definition at line 557 of file L1TGlobalUtil.cc.
References triggerObjects_cff::bit, and edm::second().
|
inline |
Definition at line 172 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getComment(), and m_l1GtMenu.
|
inline |
Definition at line 170 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getName(), and m_l1GtMenu.
|
inline |
Definition at line 171 of file L1TGlobalUtil.h.
References L1TUtmTriggerMenu::getVersion(), and m_l1GtMenu.
|
private |
Definition at line 282 of file L1TGlobalUtil.cc.
References cuy::col, relativeConstraints::empty, dqmdumpme::first, createfilelist::int, mps_splice::line, LogTrace, submitPVValidationJobs::split(), AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
|
inline |
Definition at line 167 of file L1TGlobalUtil.h.
References m_masks.
|
inline |
Definition at line 176 of file L1TGlobalUtil.h.
References m_numberOfPreScaleColumns.
void l1t::L1TGlobalUtil::OverridePrescalesAndMasks | ( | std::string | filename, |
unsigned int | psColumn = 1. |
||
) |
Definition at line 60 of file L1TGlobalUtil.cc.
References DeadROC_duringRun::f1, corrVsCorr::filename, and HLT_2023v12_cff::psColumn.
|
inline |
|
inline |
Definition at line 164 of file L1TGlobalUtil.h.
References m_prescales.
Referenced by L1TdeStage2uGT::bookHistograms().
|
private |
clear decision vectors on a menu change
Definition at line 415 of file L1TGlobalUtil.cc.
References dqmdumpme::first, and edm::second().
|
private |
Definition at line 447 of file L1TGlobalUtil.cc.
References dqmdumpme::first.
|
private |
Definition at line 436 of file L1TGlobalUtil.cc.
References dqmdumpme::first, and edm::second().
void l1t::L1TGlobalUtil::retrieveL1 | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup | ||
) |
initialize the class (mainly reserve)
Definition at line 66 of file L1TGlobalUtil.cc.
References iEvent.
Referenced by L1TdeStage2uGT::analyze(), HcalIsoTrkSimAnalyzer::analyze(), HcalIsoTrkAnalyzer::analyze(), and AlCaHcalIsotrkProducer::produce().
void l1t::L1TGlobalUtil::retrieveL1 | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
edm::EDGetToken | gtAlgToken | ||
) |
Definition at line 74 of file L1TGlobalUtil.cc.
References iEvent.
void l1t::L1TGlobalUtil::retrieveL1Event | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup | ||
) |
Definition at line 210 of file L1TGlobalUtil.cc.
References iEvent.
void l1t::L1TGlobalUtil::retrieveL1Event | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
edm::EDGetToken | gtAlgToken | ||
) |
Definition at line 214 of file L1TGlobalUtil.cc.
References dqmdumpme::first, gpuClustering::pixelStatus::getIndex(), iEvent, LogDebug, edm::second(), and AlCaHLTBitMon_QueryRunRegistry::string.
void l1t::L1TGlobalUtil::retrieveL1Setup | ( | const edm::EventSetup & | evSetup | ) |
Definition at line 84 of file L1TGlobalUtil.cc.
Referenced by L1TdeStage2uGT::bookHistograms().
|
private |
Definition at line 89 of file L1TGlobalUtil.cc.
References edm::eventsetup::EventSetupRecord::cacheIdentifier(), dqmdumpme::first, edm::EventSetup::get(), gpuClustering::pixelStatus::getIndex(), LogDebug, LogTrace, l1t::PrescalesVetosFractHelper::readFromEventSetup(), edm::second(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
bool l1t::L1TGlobalUtil::valid | ( | ) | const |
check that the L1TGlobalUtil has been properly initialised
Definition at line 58 of file L1TGlobalUtil.cc.
|
private |
Definition at line 204 of file L1TGlobalUtil.h.
|
private |
Definition at line 229 of file L1TGlobalUtil.h.
Referenced by decisionsFinal().
|
private |
Definition at line 227 of file L1TGlobalUtil.h.
Referenced by decisionsInitial().
|
private |
Definition at line 228 of file L1TGlobalUtil.h.
Referenced by decisionsInterm().
|
private |
Definition at line 200 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 224 of file L1TGlobalUtil.h.
Referenced by getFinalOR().
|
private |
Definition at line 215 of file L1TGlobalUtil.h.
|
private |
Definition at line 217 of file L1TGlobalUtil.h.
|
private |
Definition at line 191 of file L1TGlobalUtil.h.
Referenced by gtTriggerMenuComment(), gtTriggerMenuName(), and gtTriggerMenuVersion().
|
private |
Definition at line 192 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 197 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 196 of file L1TGlobalUtil.h.
|
private |
Definition at line 244 of file L1TGlobalUtil.h.
|
private |
Definition at line 240 of file L1TGlobalUtil.h.
|
private |
Definition at line 236 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 242 of file L1TGlobalUtil.h.
|
private |
Definition at line 238 of file L1TGlobalUtil.h.
|
private |
Definition at line 231 of file L1TGlobalUtil.h.
Referenced by masks().
|
private |
Definition at line 208 of file L1TGlobalUtil.h.
|
private |
Definition at line 213 of file L1TGlobalUtil.h.
Referenced by numberOfPreScaleColumns().
|
private |
Definition at line 207 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 212 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil(), and prescaleColumn().
|
private |
Definition at line 216 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 211 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 230 of file L1TGlobalUtil.h.
Referenced by prescales().
|
private |
Definition at line 195 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 218 of file L1TGlobalUtil.h.
Referenced by L1TGlobalUtil().
|
private |
Definition at line 221 of file L1TGlobalUtil.h.
|
private |