#include <EEOccupancyTask.h>
Public Member Functions | |
EEOccupancyTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~EEOccupancyTask () |
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, led, 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 28 of file EEOccupancyTask.h.
|
private |
Enumerator | |
---|---|
notdata | |
physics | |
testpulse | |
laser | |
led | |
pedestal |
Definition at line 84 of file EEOccupancyTask.h.
EEOccupancyTask::EEOccupancyTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 38 of file EEOccupancyTask.cc.
References dqmStore_, EcalPnDiodeDigiCollection_, EcalRawDataCollection_, EcalRecHitCollection_, EcalTrigPrimDigiCollection_, EEDigiCollection_, enableCleanup_, geometryEE, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), i, init_, initCaloGeometry_, EEDetId::kSizeForDenseIndexing, meEEDigiOccupancy_, meEEDigiOccupancyProEta_, meEEDigiOccupancyProPhi_, meEELaserDigiOccupancy_, meEELedDigiOccupancy_, meEEPedestalDigiOccupancy_, meEERecHitEnergy_, meEERecHitOccupancy_, meEERecHitOccupancyProEta_, meEERecHitOccupancyProEtaThr_, meEERecHitOccupancyProPhi_, meEERecHitOccupancyProPhiThr_, meEERecHitOccupancyThr_, meEERecHitSpectrum_, meEETestPulseDigiOccupancy_, meEETrigPrimDigiOccupancy_, meEETrigPrimDigiOccupancyProEta_, meEETrigPrimDigiOccupancyProEtaThr_, meEETrigPrimDigiOccupancyProPhi_, meEETrigPrimDigiOccupancyProPhiThr_, meEETrigPrimDigiOccupancyThr_, meOccupancy_, meOccupancyMem_, mergeRuns_, meSpectrum_, cppFunctionSkipper::operator, prefixME_, recHitEnergyMin_, subfolder_, and trigPrimEtMin_.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 572 of file EEOccupancyTask.cc.
References EcalDCCHeaderBlock::COSMIC, EcalDCCHeaderBlock::COSMICS_GLOBAL, EcalDCCHeaderBlock::COSMICS_LOCAL, Numbers::crystals(), EcalEndcap, EcalPnDiodeDigiCollection_, EcalRawDataCollection_, EcalRecHitCollection_, EcalTrigPrimDigiCollection_, EEDigiCollection_, PV3DBase< T, PVType, FrameType >::eta(), eta(), MonitorElement::Fill(), geometryEE, edm::EventSetup::get(), edm::Event::getByLabel(), i, errorMatrix2Lands_multiChannel::id, ievt_, init_, ecalpyutils::ism(), Numbers::iSM(), EEDetId::ix(), EcalRecHit::kGood, EcalSeverityLevel::kGood, laser, EcalDCCHeaderBlock::LASER_GAP, EcalDCCHeaderBlock::LASER_STD, led, EcalDCCHeaderBlock::LED_GAP, EcalDCCHeaderBlock::LED_STD, LogDebug, meEEDigiOccupancy_, meEEDigiOccupancyProEta_, meEEDigiOccupancyProPhi_, meEELaserDigiOccupancy_, meEELedDigiOccupancy_, meEEPedestalDigiOccupancy_, meEERecHitEnergy_, meEERecHitOccupancy_, meEERecHitOccupancyProEta_, meEERecHitOccupancyProEtaThr_, meEERecHitOccupancyProPhi_, meEERecHitOccupancyProPhiThr_, meEERecHitOccupancyThr_, meEERecHitSpectrum_, meEETestPulseDigiOccupancy_, meEETrigPrimDigiOccupancy_, meEETrigPrimDigiOccupancyProEta_, meEETrigPrimDigiOccupancyProEtaThr_, meEETrigPrimDigiOccupancyProPhi_, meEETrigPrimDigiOccupancyProPhiThr_, meEETrigPrimDigiOccupancyThr_, meOccupancy_, meOccupancyMem_, meSpectrum_, EcalDCCHeaderBlock::MTCC, notdata, pedestal, EcalDCCHeaderBlock::PEDESTAL_GAP, EcalDCCHeaderBlock::PEDESTAL_STD, pGeometry_, phi, PV3DBase< T, PVType, FrameType >::phi(), physics, EcalDCCHeaderBlock::PHYSICS_GLOBAL, EcalDCCHeaderBlock::PHYSICS_LOCAL, pos, 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 131 of file EEOccupancyTask.cc.
References dqmStore_, ievt_, prefixME_, DQMStore::rmdir(), DQMStore::setCurrentFolder(), and subfolder_.
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 144 of file EEOccupancyTask.cc.
References edm::EventSetup::get(), initCaloGeometry_, Numbers::initGeometry(), mergeRuns_, pGeometry_, and reset().
|
protected |
Cleanup.
Definition at line 443 of file EEOccupancyTask.cc.
References dqmStore_, edm::getName(), i, init_, meEEDigiOccupancy_, meEEDigiOccupancyProEta_, meEEDigiOccupancyProPhi_, meEELaserDigiOccupancy_, meEELedDigiOccupancy_, meEEPedestalDigiOccupancy_, meEERecHitEnergy_, meEERecHitOccupancy_, meEERecHitOccupancyProEta_, meEERecHitOccupancyProEtaThr_, meEERecHitOccupancyProPhi_, meEERecHitOccupancyProPhiThr_, meEERecHitOccupancyThr_, meEERecHitSpectrum_, meEETestPulseDigiOccupancy_, meEETrigPrimDigiOccupancy_, meEETrigPrimDigiOccupancyProEta_, meEETrigPrimDigiOccupancyProEtaThr_, meEETrigPrimDigiOccupancyProPhi_, meEETrigPrimDigiOccupancyProPhiThr_, meEETrigPrimDigiOccupancyThr_, meOccupancy_, meOccupancyMem_, meSpectrum_, prefixME_, DQMStore::removeElement(), DQMStore::setCurrentFolder(), and subfolder_.
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 564 of file EEOccupancyTask.cc.
References cleanup(), enableCleanup_, and ievt_.
|
protectedvirtual |
|
protected |
Reset.
Definition at line 161 of file EEOccupancyTask.cc.
References i, meEEDigiOccupancy_, meEEDigiOccupancyProEta_, meEEDigiOccupancyProPhi_, meEELaserDigiOccupancy_, meEELedDigiOccupancy_, meEEPedestalDigiOccupancy_, meEERecHitEnergy_, meEERecHitOccupancy_, meEERecHitOccupancyProEta_, meEERecHitOccupancyProEtaThr_, meEERecHitOccupancyProPhi_, meEERecHitOccupancyProPhiThr_, meEERecHitOccupancyThr_, meEERecHitSpectrum_, meEETestPulseDigiOccupancy_, meEETrigPrimDigiOccupancy_, meEETrigPrimDigiOccupancyProEta_, meEETrigPrimDigiOccupancyProEtaThr_, meEETrigPrimDigiOccupancyProPhi_, meEETrigPrimDigiOccupancyProPhiThr_, meEETrigPrimDigiOccupancyThr_, meOccupancy_, meOccupancyMem_, meSpectrum_, and MonitorElement::Reset().
Referenced by beginRun().
|
protected |
Setup.
Definition at line 222 of file EEOccupancyTask.cc.
References DQMStore::book1D(), DQMStore::book1DD(), DQMStore::book2D(), DQMStore::bookProfile2D(), dqmStore_, i, init_, Numbers::ix0EE(), Numbers::iy0EE(), M_PI, meEEDigiOccupancy_, meEEDigiOccupancyProEta_, meEEDigiOccupancyProPhi_, meEELaserDigiOccupancy_, meEELedDigiOccupancy_, meEEPedestalDigiOccupancy_, meEERecHitEnergy_, meEERecHitOccupancy_, meEERecHitOccupancyProEta_, meEERecHitOccupancyProEtaThr_, meEERecHitOccupancyProPhi_, meEERecHitOccupancyProPhiThr_, meEERecHitOccupancyThr_, meEERecHitSpectrum_, meEETestPulseDigiOccupancy_, meEETrigPrimDigiOccupancy_, meEETrigPrimDigiOccupancyProEta_, meEETrigPrimDigiOccupancyProEtaThr_, meEETrigPrimDigiOccupancyProPhi_, meEETrigPrimDigiOccupancyProPhiThr_, meEETrigPrimDigiOccupancyThr_, meOccupancy_, meOccupancyMem_, meSpectrum_, mergeVDriftHistosByStation::name, prefixME_, Numbers::sEE(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), subfolder_, and DQMStore::tag().
Referenced by analyze().
|
private |
Definition at line 68 of file EEOccupancyTask.h.
Referenced by beginJob(), cleanup(), EEOccupancyTask(), and setup().
|
private |
Definition at line 80 of file EEOccupancyTask.h.
Referenced by analyze(), and EEOccupancyTask().
|
private |
Definition at line 78 of file EEOccupancyTask.h.
Referenced by analyze(), and EEOccupancyTask().
|
private |
Definition at line 81 of file EEOccupancyTask.h.
Referenced by analyze(), and EEOccupancyTask().
|
private |
Definition at line 82 of file EEOccupancyTask.h.
Referenced by analyze(), and EEOccupancyTask().
|
private |
Definition at line 79 of file EEOccupancyTask.h.
Referenced by analyze(), and EEOccupancyTask().
|
private |
Definition at line 74 of file EEOccupancyTask.h.
Referenced by EEOccupancyTask(), and endJob().
|
private |
Definition at line 118 of file EEOccupancyTask.h.
Referenced by analyze(), and EEOccupancyTask().
|
private |
Definition at line 66 of file EEOccupancyTask.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 120 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), and setup().
|
private |
Definition at line 121 of file EEOccupancyTask.h.
Referenced by beginRun(), and EEOccupancyTask().
|
private |
Definition at line 93 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 94 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 95 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 109 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 110 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 111 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 89 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 96 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 97 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 100 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 98 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 101 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 99 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 92 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 108 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 102 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 103 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 106 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 104 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 107 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 105 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 86 of file EEOccupancyTask.h.
|
private |
Definition at line 87 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 88 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 76 of file EEOccupancyTask.h.
Referenced by beginRun(), and EEOccupancyTask().
|
private |
Definition at line 90 of file EEOccupancyTask.h.
Referenced by analyze(), cleanup(), EEOccupancyTask(), reset(), and setup().
|
private |
Definition at line 116 of file EEOccupancyTask.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 70 of file EEOccupancyTask.h.
Referenced by beginJob(), cleanup(), EEOccupancyTask(), and setup().
|
private |
Definition at line 113 of file EEOccupancyTask.h.
Referenced by analyze(), and EEOccupancyTask().
|
private |
Definition at line 72 of file EEOccupancyTask.h.
Referenced by beginJob(), cleanup(), EEOccupancyTask(), and setup().
|
private |
Definition at line 114 of file EEOccupancyTask.h.
Referenced by analyze(), and EEOccupancyTask().