#include <EBOccupancyTask.h>
Public Member Functions | |
EBOccupancyTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~EBOccupancyTask () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginJob (void) |
BeginJob. More... | |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
BeginRun. More... | |
void | cleanup (void) |
Cleanup. More... | |
void | endJob (void) |
EndJob. More... | |
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
EndRun. More... | |
void | reset (void) |
Reset. More... | |
void | setup (void) |
Setup. More... | |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Private Types | |
enum | runClassification { notdata, physics, testpulse, laser, pedestal } |
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 20 of file EBOccupancyTask.h.
|
private |
Enumerator | |
---|---|
notdata | |
physics | |
testpulse | |
laser | |
pedestal |
Definition at line 76 of file EBOccupancyTask.h.
EBOccupancyTask::EBOccupancyTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 37 of file EBOccupancyTask.cc.
References dqmStore_, EBDigiCollection_, EcalPnDiodeDigiCollection_, EcalRawDataCollection_, EcalRecHitCollection_, EcalTrigPrimDigiCollection_, enableCleanup_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), i, init_, meEBDigiOccupancy_, meEBDigiOccupancyProjEta_, meEBDigiOccupancyProjPhi_, meEBLaserDigiOccupancy_, meEBPedestalDigiOccupancy_, meEBRecHitEnergy_, meEBRecHitOccupancy_, meEBRecHitOccupancyProjEta_, meEBRecHitOccupancyProjEtaThr_, meEBRecHitOccupancyProjPhi_, meEBRecHitOccupancyProjPhiThr_, meEBRecHitOccupancyThr_, meEBRecHitSpectrum_, meEBTestPulseDigiOccupancy_, meEBTrigPrimDigiOccupancy_, meEBTrigPrimDigiOccupancyProjEta_, meEBTrigPrimDigiOccupancyProjEtaThr_, meEBTrigPrimDigiOccupancyProjPhi_, meEBTrigPrimDigiOccupancyProjPhiThr_, meEBTrigPrimDigiOccupancyThr_, meOccupancy_, meOccupancyMem_, mergeRuns_, meSpectrum_, cppFunctionSkipper::operator, prefixME_, recHitEnergyMin_, subfolder_, and trigPrimEtMin_.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 367 of file EBOccupancyTask.cc.
References EcalDCCHeaderBlock::COSMIC, EcalDCCHeaderBlock::COSMICS_GLOBAL, EcalDCCHeaderBlock::COSMICS_LOCAL, EBDigiCollection_, EcalBarrel, EcalPnDiodeDigiCollection_, EcalRawDataCollection_, EcalRecHitCollection_, EcalTrigPrimDigiCollection_, MonitorElement::Fill(), edm::EventSetup::get(), edm::Event::getByLabel(), EBDetId::ic(), errorMatrix2Lands_multiChannel::id, EBDetId::ieta(), ievt_, init_, ecalpyutils::ism(), Numbers::iSM(), EcalRecHit::kGood, EcalSeverityLevel::kGood, laser, EcalDCCHeaderBlock::LASER_GAP, EcalDCCHeaderBlock::LASER_STD, LogDebug, meEBDigiOccupancy_, meEBDigiOccupancyProjEta_, meEBDigiOccupancyProjPhi_, meEBLaserDigiOccupancy_, meEBPedestalDigiOccupancy_, meEBRecHitEnergy_, meEBRecHitOccupancy_, meEBRecHitOccupancyProjEta_, meEBRecHitOccupancyProjEtaThr_, meEBRecHitOccupancyProjPhi_, meEBRecHitOccupancyProjPhiThr_, meEBRecHitOccupancyThr_, meEBRecHitSpectrum_, meEBTestPulseDigiOccupancy_, meEBTrigPrimDigiOccupancy_, meEBTrigPrimDigiOccupancyProjEta_, meEBTrigPrimDigiOccupancyProjEtaThr_, meEBTrigPrimDigiOccupancyProjPhi_, meEBTrigPrimDigiOccupancyProjPhiThr_, meEBTrigPrimDigiOccupancyThr_, meOccupancy_, meOccupancyMem_, meSpectrum_, EcalDCCHeaderBlock::MTCC, notdata, pedestal, EcalDCCHeaderBlock::PEDESTAL_GAP, EcalDCCHeaderBlock::PEDESTAL_STD, physics, EcalDCCHeaderBlock::PHYSICS_GLOBAL, EcalDCCHeaderBlock::PHYSICS_LOCAL, recHitEnergyMin_, HI_PhotonSkim_cff::rechits, environment_file_cff::runType, setup(), Numbers::subDet(), testpulse, EcalDCCHeaderBlock::TESTPULSE_GAP, EcalDCCHeaderBlock::TESTPULSE_MGPA, and trigPrimEtMin_.
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 99 of file EBOccupancyTask.cc.
References dqmStore_, ievt_, prefixME_, DQMStore::rmdir(), DQMStore::setCurrentFolder(), and subfolder_.
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 112 of file EBOccupancyTask.cc.
References Numbers::initGeometry(), mergeRuns_, and reset().
|
protected |
Cleanup.
Definition at line 286 of file EBOccupancyTask.cc.
References dqmStore_, edm::getName(), MonitorElement::getName(), i, init_, meEBDigiOccupancy_, meEBDigiOccupancyProjEta_, meEBDigiOccupancyProjPhi_, meEBLaserDigiOccupancy_, meEBPedestalDigiOccupancy_, meEBRecHitEnergy_, meEBRecHitOccupancy_, meEBRecHitOccupancyProjEta_, meEBRecHitOccupancyProjEtaThr_, meEBRecHitOccupancyProjPhi_, meEBRecHitOccupancyProjPhiThr_, meEBRecHitOccupancyThr_, meEBRecHitSpectrum_, meEBTestPulseDigiOccupancy_, meEBTrigPrimDigiOccupancy_, meEBTrigPrimDigiOccupancyProjEta_, meEBTrigPrimDigiOccupancyProjEtaThr_, meEBTrigPrimDigiOccupancyProjPhi_, meEBTrigPrimDigiOccupancyProjPhiThr_, meEBTrigPrimDigiOccupancyThr_, meOccupancy_, meOccupancyMem_, meSpectrum_, prefixME_, DQMStore::removeElement(), DQMStore::setCurrentFolder(), and subfolder_.
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 359 of file EBOccupancyTask.cc.
References cleanup(), enableCleanup_, and ievt_.
|
protectedvirtual |
|
protected |
Reset.
Definition at line 124 of file EBOccupancyTask.cc.
References i, meEBDigiOccupancy_, meEBDigiOccupancyProjEta_, meEBDigiOccupancyProjPhi_, meEBLaserDigiOccupancy_, meEBPedestalDigiOccupancy_, meEBRecHitEnergy_, meEBRecHitOccupancy_, meEBRecHitOccupancyProjEta_, meEBRecHitOccupancyProjEtaThr_, meEBRecHitOccupancyProjPhi_, meEBRecHitOccupancyProjPhiThr_, meEBRecHitOccupancyThr_, meEBRecHitSpectrum_, meEBTestPulseDigiOccupancy_, meEBTrigPrimDigiOccupancy_, meEBTrigPrimDigiOccupancyProjEta_, meEBTrigPrimDigiOccupancyProjEtaThr_, meEBTrigPrimDigiOccupancyProjPhi_, meEBTrigPrimDigiOccupancyProjPhiThr_, meEBTrigPrimDigiOccupancyThr_, meOccupancy_, meOccupancyMem_, meSpectrum_, and MonitorElement::Reset().
Referenced by beginRun().
|
protected |
Setup.
Definition at line 161 of file EBOccupancyTask.cc.
References DQMStore::book1D(), DQMStore::book1DD(), DQMStore::book2D(), DQMStore::bookProfile2D(), dqmStore_, i, init_, meEBDigiOccupancy_, meEBDigiOccupancyProjEta_, meEBDigiOccupancyProjPhi_, meEBLaserDigiOccupancy_, meEBPedestalDigiOccupancy_, meEBRecHitEnergy_, meEBRecHitOccupancy_, meEBRecHitOccupancyProjEta_, meEBRecHitOccupancyProjEtaThr_, meEBRecHitOccupancyProjPhi_, meEBRecHitOccupancyProjPhiThr_, meEBRecHitOccupancyThr_, meEBRecHitSpectrum_, meEBTestPulseDigiOccupancy_, meEBTrigPrimDigiOccupancy_, meEBTrigPrimDigiOccupancyProjEta_, meEBTrigPrimDigiOccupancyProjEtaThr_, meEBTrigPrimDigiOccupancyProjPhi_, meEBTrigPrimDigiOccupancyProjPhiThr_, meEBTrigPrimDigiOccupancyThr_, meOccupancy_, meOccupancyMem_, meSpectrum_, mergeVDriftHistosByStation::name, prefixME_, Numbers::sEB(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), subfolder_, and DQMStore::tag().
Referenced by analyze().
|
private |
Definition at line 60 of file EBOccupancyTask.h.
Referenced by beginJob(), cleanup(), EBOccupancyTask(), and setup().
|
private |
Definition at line 71 of file EBOccupancyTask.h.
Referenced by analyze(), and EBOccupancyTask().
|
private |
Definition at line 72 of file EBOccupancyTask.h.
Referenced by analyze(), and EBOccupancyTask().
|
private |
Definition at line 70 of file EBOccupancyTask.h.
Referenced by analyze(), and EBOccupancyTask().
|
private |
Definition at line 73 of file EBOccupancyTask.h.
Referenced by analyze(), and EBOccupancyTask().
|
private |
Definition at line 74 of file EBOccupancyTask.h.
Referenced by analyze(), and EBOccupancyTask().
|
private |
Definition at line 66 of file EBOccupancyTask.h.
Referenced by EBOccupancyTask(), and endJob().
|
private |
Definition at line 58 of file EBOccupancyTask.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 107 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), and setup().
|
private |
Definition at line 85 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 86 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 87 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 101 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 102 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 81 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 88 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 89 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 92 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 90 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 93 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 91 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 84 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 100 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 94 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 95 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 98 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 96 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 99 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 97 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 78 of file EBOccupancyTask.h.
|
private |
Definition at line 79 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 80 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 68 of file EBOccupancyTask.h.
Referenced by beginRun(), and EBOccupancyTask().
|
private |
Definition at line 82 of file EBOccupancyTask.h.
Referenced by analyze(), cleanup(), EBOccupancyTask(), reset(), and setup().
|
private |
Definition at line 62 of file EBOccupancyTask.h.
Referenced by beginJob(), cleanup(), EBOccupancyTask(), and setup().
|
private |
Definition at line 104 of file EBOccupancyTask.h.
Referenced by analyze(), and EBOccupancyTask().
|
private |
Definition at line 64 of file EBOccupancyTask.h.
Referenced by beginJob(), cleanup(), EBOccupancyTask(), and setup().
|
private |
Definition at line 105 of file EBOccupancyTask.h.
Referenced by analyze(), and EBOccupancyTask().