#include <EBDcsInfoTask.h>
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::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 |
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 15 of file EBDcsInfoTask.h.
EBDcsInfoTask::EBDcsInfoTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 25 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 47 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 82 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 136 of file EBDcsInfoTask.cc.
References mergeRuns_, readyRun, and reset().
|
protected |
Cleanup.
Definition at line 167 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 76 of file EBDcsInfoTask.cc.
References cleanup(), and enableCleanup_.
|
protectedvirtual |
EndLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 130 of file EBDcsInfoTask.cc.
References fillMonitorElements(), and readyLumi.
|
protectedvirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 148 of file EBDcsInfoTask.cc.
References fillMonitorElements(), and readyRun.
|
private |
Definition at line 187 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 154 of file EBDcsInfoTask.cc.
References i, meEBDcsActive_, meEBDcsActiveMap_, meEBDcsFraction_, and MonitorElement::Reset().
Referenced by beginRun().
|
private |
Definition at line 58 of file EBDcsInfoTask.h.
Referenced by beginJob(), cleanup(), and EBDcsInfoTask().
|
private |
Definition at line 62 of file EBDcsInfoTask.h.
Referenced by EBDcsInfoTask(), and endJob().
|
private |
Definition at line 67 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 beginJob(), cleanup(), EBDcsInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 64 of file EBDcsInfoTask.h.
Referenced by beginRun(), and EBDcsInfoTask().
|
private |
Definition at line 60 of file EBDcsInfoTask.h.
Referenced by beginJob(), cleanup(), and EBDcsInfoTask().
|
private |
Definition at line 71 of file EBDcsInfoTask.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 70 of file EBDcsInfoTask.h.
Referenced by beginLuminosityBlock(), beginRun(), and endRun().