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 |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 |
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 &) |
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 MillePedeFileConverter_cfg::fileName, edm::ParameterSet::getUntrackedParameter(), kPython, kText, kTwiki, output_, outputType_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 43 of file AlCaRecoTriggerBitsRcdRead.cc.
|
inlineoverridevirtual |
Definition at line 45 of file AlCaRecoTriggerBitsRcdRead.cc.
References beginRun(), endJob(), and findQualityFiles::run.
|
overridevirtual |
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_.
Referenced by analyze().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 129 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_, and outputType_.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 97 of file AlCaRecoTriggerBitsRcdRead.cc.
References 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().