#include <PrescaleWeightProvider.h>
Public Member Functions | |
void | initRun (const edm::Run &run, const edm::EventSetup &setup) |
template<typename T = int> | |
T | prescaleWeight (const edm::Event &event, const edm::EventSetup &setup) |
template<typename T > | |
PrescaleWeightProvider (const edm::ParameterSet &config, edm::ConsumesCollector &&iC, T &module) | |
template<typename T > | |
PrescaleWeightProvider (const edm::ParameterSet &config, edm::ConsumesCollector &iC, T &module) | |
~PrescaleWeightProvider () | |
Private Member Functions | |
void | parseL1Seeds (const std::string &l1Seeds) |
PrescaleWeightProvider (const edm::ParameterSet &config, edm::ConsumesCollector &iC) | |
Private Attributes | |
bool | configured_ |
std::vector< std::string > | hltPaths_ |
std::unique_ptr< HLTPrescaleProvider > | hltPrescaleProvider_ |
bool | init_ |
edm::InputTag | l1GtTriggerMenuLiteTag_ |
edm::EDGetTokenT< L1GtTriggerMenuLite > | l1GtTriggerMenuLiteToken_ |
std::vector< std::string > | l1SeedPaths_ |
edm::Handle< L1GtTriggerMenuLite > | triggerMenuLite_ |
edm::InputTag | triggerResultsTag_ |
edm::EDGetTokenT< edm::TriggerResults > | triggerResultsToken_ |
unsigned | verbosity_ |
Definition at line 48 of file PrescaleWeightProvider.h.
PrescaleWeightProvider::PrescaleWeightProvider | ( | const edm::ParameterSet & | config, |
edm::ConsumesCollector && | iC, | ||
T & | module | ||
) |
Definition at line 88 of file PrescaleWeightProvider.h.
PrescaleWeightProvider::PrescaleWeightProvider | ( | const edm::ParameterSet & | config, |
edm::ConsumesCollector & | iC, | ||
T & | module | ||
) |
Definition at line 92 of file PrescaleWeightProvider.h.
References DMR_cfg::config, hltPrescaleProvider_, and callgraph::module.
|
inline |
Definition at line 72 of file PrescaleWeightProvider.h.
|
private |
Definition at line 17 of file PrescaleWeightProvider.cc.
References configured_, hltPaths_, edm::InRun, l1GtTriggerMenuLiteTag_, l1GtTriggerMenuLiteToken_, edm::InputTag::label(), edm::ConsumesCollector::mayConsume(), edm::InputTag::process(), triggerResultsTag_, triggerResultsToken_, and verbosity_.
void PrescaleWeightProvider::initRun | ( | const edm::Run & | run, |
const edm::EventSetup & | setup | ||
) |
Definition at line 59 of file PrescaleWeightProvider.cc.
References configured_, HltComparatorCreateWorkflow::hltConfig, hltPrescaleProvider_, init_, edm::HandleBase::isValid(), l1GtTriggerMenuLiteTag_, l1GtTriggerMenuLiteToken_, edm::InputTag::label(), edm::InputTag::process(), writedatasetfile::run, singleTopDQM_cfi::setup, triggerMenuLite_, triggerResultsTag_, and verbosity_.
|
private |
Definition at line 96 of file PrescaleWeightProvider.cc.
References visDQMUpload::buf, l1SeedPaths_, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity_.
Referenced by prescaleWeight().
T PrescaleWeightProvider::prescaleWeight | ( | const edm::Event & | event, |
const edm::EventSetup & | setup | ||
) |
Definition at line 98 of file PrescaleWeightProvider.h.
References L1GtUtils::decision(), edm::InputTag::encode(), edmPickEvents::event, L1GtTriggerMenuLite::gtTechTrigName(), HltComparatorCreateWorkflow::hltConfig, TriggerAnalyzer::hltPath, hltPaths_, hltPrescaleProvider_, init_, l1SeedPaths_, or, parseL1Seeds(), L1GtUtils::prescaleFactor(), singleTopDQM_cfi::setup, AlCaHLTBitMon_QueryRunRegistry::string, triggerMenuLite_, triggerResults, triggerResultsTag_, triggerResultsToken_, interactiveExample::ui, verbosity_, and mps_merge::weight.
|
private |
Definition at line 49 of file PrescaleWeightProvider.h.
Referenced by initRun(), and PrescaleWeightProvider().
|
private |
Definition at line 62 of file PrescaleWeightProvider.h.
Referenced by prescaleWeight(), and PrescaleWeightProvider().
|
private |
Definition at line 51 of file PrescaleWeightProvider.h.
Referenced by initRun(), prescaleWeight(), and PrescaleWeightProvider().
|
private |
Definition at line 50 of file PrescaleWeightProvider.h.
Referenced by initRun(), and prescaleWeight().
|
private |
Definition at line 60 of file PrescaleWeightProvider.h.
Referenced by initRun(), and PrescaleWeightProvider().
|
private |
Definition at line 61 of file PrescaleWeightProvider.h.
Referenced by initRun(), and PrescaleWeightProvider().
|
private |
Definition at line 54 of file PrescaleWeightProvider.h.
Referenced by parseL1Seeds(), and prescaleWeight().
|
private |
Definition at line 52 of file PrescaleWeightProvider.h.
Referenced by initRun(), and prescaleWeight().
|
private |
Definition at line 58 of file PrescaleWeightProvider.h.
Referenced by initRun(), prescaleWeight(), and PrescaleWeightProvider().
|
private |
Definition at line 59 of file PrescaleWeightProvider.h.
Referenced by prescaleWeight(), and PrescaleWeightProvider().
|
private |
Definition at line 57 of file PrescaleWeightProvider.h.
Referenced by initRun(), parseL1Seeds(), prescaleWeight(), and PrescaleWeightProvider().