#include <EEDaqInfoTask.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) |
Static Protected Attributes | |
static const int | DccId_ [18] |
static const int | nTowerMax_ = 44 |
Private Member Functions | |
void | fillMonitorElements (int ready[40][20], const EcalElectronicsMapping *) |
Private Attributes | |
DQMStore * | dqmStore_ |
bool | enableCleanup_ |
MonitorElement * | meEEDaqActive_ [18] |
MonitorElement * | meEEDaqActiveMap_ |
MonitorElement * | meEEDaqFraction_ |
bool | mergeRuns_ |
std::string | prefixME_ |
int | readyLumi [40][20] |
int | readyRun [40][20] |
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 17 of file EEDaqInfoTask.h.
EEDaqInfoTask::EEDaqInfoTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 32 of file EEDaqInfoTask.cc.
References dqmStore_, enableCleanup_, edm::ParameterSet::getUntrackedParameter(), i, meEEDaqActive_, meEEDaqActiveMap_, meEEDaqFraction_, mergeRuns_, cppFunctionSkipper::operator, prefixME_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 54 of file EEDaqInfoTask.cc.
References DQMStore::book2D(), DQMStore::bookFloat(), dqmStore_, MonitorElement::Fill(), i, meEEDaqActive_, meEEDaqActiveMap_, meEEDaqFraction_, mergeVDriftHistosByStation::name, prefixME_, Numbers::sEE(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
protectedvirtual |
BeginLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 87 of file EEDaqInfoTask.cc.
References DccId_, EcalElectronicsMapping::dccTowerConstituents(), EcalCondTowerObjectContainer< T >::end(), EcalCondTowerObjectContainer< T >::find(), edm::EventSetup::find(), edm::EventSetup::get(), EcalElectronicsMapping::getEcalScDetId(), i, edm::ESHandleBase::isValid(), python.multivaluedict::map(), nTowerMax_, edm::ESHandle< class >::product(), readyLumi, readyRun, and lumiQTWidget::t.
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 156 of file EEDaqInfoTask.cc.
References mergeRuns_, readyRun, and reset().
|
protected |
Cleanup.
Definition at line 191 of file EEDaqInfoTask.cc.
References dqmStore_, MonitorElement::getName(), i, meEEDaqActive_, meEEDaqActiveMap_, meEEDaqFraction_, prefixME_, DQMStore::removeElement(), and DQMStore::setCurrentFolder().
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 81 of file EEDaqInfoTask.cc.
References cleanup(), and enableCleanup_.
|
protectedvirtual |
EndLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 146 of file EEDaqInfoTask.cc.
References fillMonitorElements(), edm::EventSetup::get(), patZpeak::handle, python.multivaluedict::map(), edm::ESHandle< class >::product(), and readyLumi.
|
protectedvirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 168 of file EEDaqInfoTask.cc.
References fillMonitorElements(), edm::EventSetup::get(), patZpeak::handle, python.multivaluedict::map(), edm::ESHandle< class >::product(), and readyRun.
|
private |
Definition at line 211 of file EEDaqInfoTask.cc.
References DccId_, EcalElectronicsMapping::dccTowerConstituents(), MonitorElement::Fill(), EcalElectronicsMapping::getEcalScDetId(), MonitorElement::getNbinsX(), MonitorElement::getNbinsY(), ecalpyutils::ism(), meEEDaqActive_, meEEDaqActiveMap_, meEEDaqFraction_, nTowerMax_, MonitorElement::setBinContent(), and lumiQTWidget::t.
Referenced by endLuminosityBlock(), and endRun().
|
protected |
Reset.
Definition at line 178 of file EEDaqInfoTask.cc.
References i, meEEDaqActive_, meEEDaqActiveMap_, meEEDaqFraction_, and MonitorElement::Reset().
Referenced by beginRun().
|
staticprotected |
Definition at line 56 of file EEDaqInfoTask.h.
Referenced by beginLuminosityBlock(), and fillMonitorElements().
|
private |
Definition at line 63 of file EEDaqInfoTask.h.
Referenced by beginJob(), cleanup(), and EEDaqInfoTask().
|
private |
Definition at line 67 of file EEDaqInfoTask.h.
Referenced by EEDaqInfoTask(), and endJob().
|
private |
Definition at line 72 of file EEDaqInfoTask.h.
Referenced by beginJob(), cleanup(), EEDaqInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 73 of file EEDaqInfoTask.h.
Referenced by beginJob(), cleanup(), EEDaqInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 71 of file EEDaqInfoTask.h.
Referenced by beginJob(), cleanup(), EEDaqInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 69 of file EEDaqInfoTask.h.
Referenced by beginRun(), and EEDaqInfoTask().
|
staticprotected |
Definition at line 57 of file EEDaqInfoTask.h.
Referenced by beginLuminosityBlock(), and fillMonitorElements().
|
private |
Definition at line 65 of file EEDaqInfoTask.h.
Referenced by beginJob(), cleanup(), and EEDaqInfoTask().
|
private |
Definition at line 76 of file EEDaqInfoTask.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 75 of file EEDaqInfoTask.h.
Referenced by beginLuminosityBlock(), beginRun(), and endRun().