#include <EEDcsInfoTask.h>
Public Member Functions | |
EEDcsInfoTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~EEDcsInfoTask () |
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) |
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 * | meEEDcsActive_ [18] |
MonitorElement * | meEEDcsActiveMap_ |
MonitorElement * | meEEDcsFraction_ |
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 |
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 19 of file EEDcsInfoTask.h.
EEDcsInfoTask::EEDcsInfoTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 31 of file EEDcsInfoTask.cc.
References dqmStore_, enableCleanup_, edm::ParameterSet::getUntrackedParameter(), i, meEEDcsActive_, meEEDcsActiveMap_, meEEDcsFraction_, mergeRuns_, cppFunctionSkipper::operator, prefixME_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 53 of file EEDcsInfoTask.cc.
References DQMStore::book2D(), DQMStore::bookFloat(), dqmStore_, MonitorElement::Fill(), i, meEEDcsActive_, meEEDcsActiveMap_, meEEDcsFraction_, mergeVDriftHistosByStation::name, prefixME_, Numbers::sEE(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
protectedvirtual |
BeginLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 86 of file EEDcsInfoTask.cc.
References DccId_, EcalElectronicsMapping::dccTowerConstituents(), EcalCondTowerObjectContainer< T >::end(), EcalCondTowerObjectContainer< T >::find(), edm::EventSetup::find(), edm::EventSetup::get(), EcalElectronicsMapping::getEcalScDetId(), i, edm::ESHandleBase::isValid(), Association::map, nTowerMax_, edm::ESHandle< class >::product(), readyLumi, readyRun, and lumiQTWidget::t.
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 177 of file EEDcsInfoTask.cc.
References mergeRuns_, readyRun, and reset().
|
protected |
Cleanup.
Definition at line 212 of file EEDcsInfoTask.cc.
References dqmStore_, MonitorElement::getName(), i, meEEDcsActive_, meEEDcsActiveMap_, meEEDcsFraction_, prefixME_, DQMStore::removeElement(), and DQMStore::setCurrentFolder().
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 80 of file EEDcsInfoTask.cc.
References cleanup(), and enableCleanup_.
|
protectedvirtual |
EndLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 167 of file EEDcsInfoTask.cc.
References fillMonitorElements(), edm::EventSetup::get(), patZpeak::handle, Association::map, edm::ESHandle< class >::product(), and readyLumi.
|
protectedvirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 189 of file EEDcsInfoTask.cc.
References fillMonitorElements(), edm::EventSetup::get(), patZpeak::handle, Association::map, edm::ESHandle< class >::product(), and readyRun.
|
private |
Definition at line 232 of file EEDcsInfoTask.cc.
References DccId_, EcalElectronicsMapping::dccTowerConstituents(), MonitorElement::Fill(), EcalElectronicsMapping::getEcalScDetId(), MonitorElement::getNbinsX(), MonitorElement::getNbinsY(), ecalpyutils::ism(), meEEDcsActive_, meEEDcsActiveMap_, meEEDcsFraction_, nTowerMax_, MonitorElement::setBinContent(), and lumiQTWidget::t.
Referenced by endLuminosityBlock(), and endRun().
|
protected |
Reset.
Definition at line 199 of file EEDcsInfoTask.cc.
References i, meEEDcsActive_, meEEDcsActiveMap_, meEEDcsFraction_, and MonitorElement::Reset().
Referenced by beginRun().
|
staticprotected |
Definition at line 58 of file EEDcsInfoTask.h.
Referenced by beginLuminosityBlock(), and fillMonitorElements().
|
private |
Definition at line 65 of file EEDcsInfoTask.h.
Referenced by beginJob(), cleanup(), and EEDcsInfoTask().
|
private |
Definition at line 69 of file EEDcsInfoTask.h.
Referenced by EEDcsInfoTask(), and endJob().
|
private |
Definition at line 74 of file EEDcsInfoTask.h.
Referenced by beginJob(), cleanup(), EEDcsInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 75 of file EEDcsInfoTask.h.
Referenced by beginJob(), cleanup(), EEDcsInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 73 of file EEDcsInfoTask.h.
Referenced by beginJob(), cleanup(), EEDcsInfoTask(), fillMonitorElements(), and reset().
|
private |
Definition at line 71 of file EEDcsInfoTask.h.
Referenced by beginRun(), and EEDcsInfoTask().
|
staticprotected |
Definition at line 59 of file EEDcsInfoTask.h.
Referenced by beginLuminosityBlock(), and fillMonitorElements().
|
private |
Definition at line 67 of file EEDcsInfoTask.h.
Referenced by beginJob(), cleanup(), and EEDcsInfoTask().
|
private |
Definition at line 78 of file EEDcsInfoTask.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 77 of file EEDcsInfoTask.h.
Referenced by beginLuminosityBlock(), beginRun(), and endRun().