#include <EBDcsInfoTask.h>
Public Member Functions | |
EBDcsInfoTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~EBDcsInfoTask () |
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 * | meEBDcsActive_ [36] |
MonitorElement * | meEBDcsActiveMap_ |
MonitorElement * | meEBDcsFraction_ |
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 EBDcsInfoTask.h.
EBDcsInfoTask::EBDcsInfoTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 27 of file EBDcsInfoTask.cc.
References dqmStore_, enableCleanup_, edm::ParameterSet::getUntrackedParameter(), i, meEBDcsActive_, meEBDcsActiveMap_, meEBDcsFraction_, mergeRuns_, cppFunctionSkipper::operator, prefixME_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 49 of file EBDcsInfoTask.cc.
References DQMStore::book2D(), DQMStore::bookFloat(), dqmStore_, MonitorElement::Fill(), i, meEBDcsActive_, meEBDcsActiveMap_, meEBDcsFraction_, mergeVDriftHistosByStation::name, prefixME_, Numbers::sEB(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
protectedvirtual |
BeginLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 84 of file EBDcsInfoTask.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 138 of file EBDcsInfoTask.cc.
References mergeRuns_, readyRun, and reset().
|
protected |
Cleanup.
Definition at line 169 of file EBDcsInfoTask.cc.
References dqmStore_, MonitorElement::getName(), i, meEBDcsActive_, meEBDcsActiveMap_, meEBDcsFraction_, prefixME_, DQMStore::removeElement(), and DQMStore::setCurrentFolder().
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 78 of file EBDcsInfoTask.cc.
References cleanup(), and enableCleanup_.
|
protectedvirtual |
EndLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 132 of file EBDcsInfoTask.cc.
References fillMonitorElements(), and readyLumi.
|
protectedvirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 150 of file EBDcsInfoTask.cc.
References fillMonitorElements(), and readyRun.
|
private |
Definition at line 189 of file EBDcsInfoTask.cc.
References MonitorElement::Fill(), ecalpyutils::ism(), meEBDcsActive_, meEBDcsActiveMap_, meEBDcsFraction_, and MonitorElement::setBinContent().
Referenced by endLuminosityBlock(), and endRun().
|
protected |
Reset.
Definition at line 156 of file EBDcsInfoTask.cc.
References i, meEBDcsActive_, meEBDcsActiveMap_, meEBDcsFraction_, and MonitorElement::Reset().
Referenced by beginRun().
|
private |
Definition at line 60 of file EBDcsInfoTask.h.
Referenced by beginJob(), cleanup(), and EBDcsInfoTask().
|
private |
Definition at line 64 of file EBDcsInfoTask.h.
Referenced by EBDcsInfoTask(), and endJob().
|
private |
Definition at line 69 of file EBDcsInfoTask.h.
Referenced by beginJob(), cleanup(), EBDcsInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 70 of file EBDcsInfoTask.h.
Referenced by beginJob(), cleanup(), EBDcsInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 68 of file EBDcsInfoTask.h.
Referenced by beginJob(), cleanup(), EBDcsInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 66 of file EBDcsInfoTask.h.
Referenced by beginRun(), and EBDcsInfoTask().
|
private |
Definition at line 62 of file EBDcsInfoTask.h.
Referenced by beginJob(), cleanup(), and EBDcsInfoTask().
|
private |
Definition at line 73 of file EBDcsInfoTask.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 72 of file EBDcsInfoTask.h.
Referenced by beginLuminosityBlock(), beginRun(), and endRun().