Public Member Functions | |
AlCaRecoTriggerBitsRcdRead (const edm::ParameterSet &cfg) | |
virtual void | analyze (const edm::Event &evt, const edm::EventSetup &evtSetup) |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &evtSetup) |
virtual void | endJob () |
~AlCaRecoTriggerBitsRcdRead () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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_, and outputType_.
|
inline |
Definition at line 43 of file AlCaRecoTriggerBitsRcdRead.cc.
|
inlinevirtual |
|
virtual |
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_.
|
virtual |
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 EgammaValidation_cff::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().