Public Member Functions | |
AlCaRecoTriggerBitsRcdRead (const edm::ParameterSet &cfg) | |
virtual void | analyze (const edm::Event &evt, const edm::EventSetup &evtSetup) override |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &evtSetup) override |
virtual void | endJob () override |
~AlCaRecoTriggerBitsRcdRead () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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::auto_ptr< std::ofstream > | output_ |
const OutputType | outputType_ |
edm::ESWatcher < AlCaRecoTriggerBitsRcd > | watcher_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 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 40 of file AlCaRecoTriggerBitsRcdRead.cc.
|
private |
|
explicit |
Definition at line 72 of file AlCaRecoTriggerBitsRcdRead.cc.
References convertXMLtoSQLite_cfg::fileName, edm::ParameterSet::getUntrackedParameter(), kPython, kText, kTwiki, output_, outputType_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 43 of file AlCaRecoTriggerBitsRcdRead.cc.
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 112 of file AlCaRecoTriggerBitsRcdRead.cc.
References edm::ESWatcher< T >::check(), firstRun_, edm::EventSetup::get(), lastRun_, lastTriggerBits_, printMap(), edm::RunBase::run(), and watcher_.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 129 of file AlCaRecoTriggerBitsRcdRead.cc.
References firstRun_, lastRun_, lastTriggerBits_, and printMap().
|
private |
Definition at line 136 of file AlCaRecoTriggerBitsRcdRead.cc.
References AlCaRecoTriggerBits::decompose(), i, kPython, kText, kTwiki, AlCaRecoTriggerBits::m_alcarecoToTrig, convertSQLitetoXML_cfg::output, output_, outputType_, and mergeAndRegister::paths.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 97 of file AlCaRecoTriggerBitsRcdRead.cc.
References edm::hlt::Exception, kPython, kText, and kTwiki.
|
private |
Definition at line 62 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 63 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 64 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 65 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by AlCaRecoTriggerBitsRcdRead(), and printMap().
|
private |
Definition at line 60 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by AlCaRecoTriggerBitsRcdRead(), and printMap().
|
private |
Definition at line 61 of file AlCaRecoTriggerBitsRcdRead.cc.
Referenced by beginRun().