Private Types | |
enum | OutputType { kText, kTwiki, kPython } |
Private Member Functions | |
void | printMap (edm::RunNumber_t firstRun, edm::RunNumber_t lastRun, const AlCaRecoTriggerBits &triggerMap) const |
OutputType | stringToEnum (const std::string &outputType) const |
Private Attributes | |
edm::RunNumber_t | firstRun_ |
edm::RunNumber_t | lastRun_ |
AlCaRecoTriggerBits | lastTriggerBits_ |
std::unique_ptr< std::ofstream > | output_ |
const OutputType | outputType_ |
edm::ESWatcher< AlCaRecoTriggerBitsRcd > | watcher_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Module to read trigger bit mappings (AlCaRecoTriggerBits) from DB and put out as text. Several output formats can be configured via parameter 'outputType':
Where to put the text is decided by parameter 'rawFileName':
Definition at line 39 of file AlCaRecoTriggerBitsRcdRead.cc.
|
private |
|
explicit |
Definition at line 69 of file AlCaRecoTriggerBitsRcdRead.cc.
References MillePedeFileConverter_cfg::fileName, edm::ParameterSet::getUntrackedParameter(), kPython, kText, kTwiki, output_, outputType_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverride |
Definition at line 42 of file AlCaRecoTriggerBitsRcdRead.cc.
|
inlineoverride |
Definition at line 44 of file AlCaRecoTriggerBitsRcdRead.cc.
References beginRun(), endJob(), and writedatasetfile::run.
|
override |
Definition at line 113 of file AlCaRecoTriggerBitsRcdRead.cc.
References edm::ESWatcher< T >::check(), firstRun_, edm::EventSetup::get(), lastRun_, lastTriggerBits_, printMap(), edm::RunBase::run(), and watcher_.
Referenced by analyze().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 130 of file AlCaRecoTriggerBitsRcdRead.cc.
References firstRun_, lastRun_, lastTriggerBits_, and printMap().
Referenced by analyze().
|
private |
Definition at line 136 of file AlCaRecoTriggerBitsRcdRead.cc.
References AlCaRecoTriggerBits::decompose(), DEFINE_FWK_MODULE, mps_fire::i, kPython, kText, kTwiki, AlCaRecoTriggerBits::m_alcarecoToTrig, convertSQLitetoXML_cfg::output, output_, outputType_, and Skims_PA_cff::paths.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 96 of file AlCaRecoTriggerBitsRcdRead.cc.
References Exception, kPython, kText, and kTwiki.
|
private |
Definition at line 59 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 60 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 61 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 62 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by AlCaRecoTriggerBitsRcdRead(), and printMap().
|
private |
Definition at line 57 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by AlCaRecoTriggerBitsRcdRead(), and printMap().
|
private |
Definition at line 58 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by beginRun().