#include <EBDaqInfoTask.h>
Public Member Functions | |
EBDaqInfoTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~EBDaqInfoTask () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginJob (void) |
BeginJob. More... | |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup) |
BeginLuminosityBlock. More... | |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
BeginRun. More... | |
void | cleanup (void) |
Cleanup. More... | |
void | endJob (void) |
EndJob. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup) |
EndLuminosityBlock. More... | |
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
EndRun. More... | |
void | reset (void) |
Reset. More... | |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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) |
Private Member Functions | |
void | fillMonitorElements (int ready[72][34]) |
Private Attributes | |
DQMStore * | dqmStore_ |
bool | enableCleanup_ |
MonitorElement * | meEBDaqActive_ [36] |
MonitorElement * | meEBDaqActiveMap_ |
MonitorElement * | meEBDaqFraction_ |
bool | mergeRuns_ |
std::string | prefixME_ |
int | readyLumi [72][34] |
int | readyRun [72][34] |
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 &) |
Definition at line 17 of file EBDaqInfoTask.h.
EBDaqInfoTask::EBDaqInfoTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 30 of file EBDaqInfoTask.cc.
References dqmStore_, enableCleanup_, edm::ParameterSet::getUntrackedParameter(), i, meEBDaqActive_, meEBDaqActiveMap_, meEBDaqFraction_, mergeRuns_, cppFunctionSkipper::operator, prefixME_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 52 of file EBDaqInfoTask.cc.
References DQMStore::book2D(), DQMStore::bookFloat(), dqmStore_, MonitorElement::Fill(), i, meEBDaqActive_, meEBDaqActiveMap_, meEBDaqFraction_, mergeVDriftHistosByStation::name, prefixME_, Numbers::sEB(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
protectedvirtual |
BeginLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 87 of file EBDaqInfoTask.cc.
References EcalBarrel, EcalCondTowerObjectContainer< T >::end(), EcalCondTowerObjectContainer< T >::find(), edm::EventSetup::find(), edm::EventSetup::get(), edm::ESHandleBase::isValid(), edm::ESHandle< class >::product(), DetId::rawId(), readyLumi, readyRun, and EcalTrigTowerDetId::validDetId().
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 143 of file EBDaqInfoTask.cc.
References mergeRuns_, readyRun, and reset().
|
protected |
Cleanup.
Definition at line 174 of file EBDaqInfoTask.cc.
References dqmStore_, MonitorElement::getName(), i, meEBDaqActive_, meEBDaqActiveMap_, meEBDaqFraction_, prefixME_, DQMStore::removeElement(), and DQMStore::setCurrentFolder().
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 81 of file EBDaqInfoTask.cc.
References cleanup(), and enableCleanup_.
|
protectedvirtual |
EndLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 137 of file EBDaqInfoTask.cc.
References fillMonitorElements(), and readyLumi.
|
protectedvirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 155 of file EBDaqInfoTask.cc.
References fillMonitorElements(), and readyRun.
|
private |
Definition at line 194 of file EBDaqInfoTask.cc.
References MonitorElement::Fill(), ecalpyutils::ism(), meEBDaqActive_, meEBDaqActiveMap_, meEBDaqFraction_, and MonitorElement::setBinContent().
Referenced by endLuminosityBlock(), and endRun().
|
protected |
Reset.
Definition at line 161 of file EBDaqInfoTask.cc.
References i, meEBDaqActive_, meEBDaqActiveMap_, meEBDaqFraction_, and MonitorElement::Reset().
Referenced by beginRun().
|
private |
Definition at line 60 of file EBDaqInfoTask.h.
Referenced by beginJob(), cleanup(), and EBDaqInfoTask().
|
private |
Definition at line 64 of file EBDaqInfoTask.h.
Referenced by EBDaqInfoTask(), and endJob().
|
private |
Definition at line 69 of file EBDaqInfoTask.h.
Referenced by beginJob(), cleanup(), EBDaqInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 70 of file EBDaqInfoTask.h.
Referenced by beginJob(), cleanup(), EBDaqInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 68 of file EBDaqInfoTask.h.
Referenced by beginJob(), cleanup(), EBDaqInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 66 of file EBDaqInfoTask.h.
Referenced by beginRun(), and EBDaqInfoTask().
|
private |
Definition at line 62 of file EBDaqInfoTask.h.
Referenced by beginJob(), cleanup(), and EBDaqInfoTask().
|
private |
Definition at line 73 of file EBDaqInfoTask.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 72 of file EBDaqInfoTask.h.
Referenced by beginLuminosityBlock(), beginRun(), and endRun().