#include <EEPedestalTask.h>
Public Member Functions | |
EEPedestalTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~EEPedestalTask () |
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 Attributes | |
DQMStore * | dqmStore_ |
edm::InputTag | EcalPnDiodeDigiCollection_ |
edm::InputTag | EcalRawDataCollection_ |
edm::InputTag | EEDigiCollection_ |
bool | enableCleanup_ |
int | ievt_ |
bool | init_ |
MonitorElement * | mePed3SumMapG01_ [18] |
MonitorElement * | mePed3SumMapG06_ [18] |
MonitorElement * | mePed3SumMapG12_ [18] |
MonitorElement * | mePed5SumMapG01_ [18] |
MonitorElement * | mePed5SumMapG06_ [18] |
MonitorElement * | mePed5SumMapG12_ [18] |
MonitorElement * | mePedMapG01_ [18] |
MonitorElement * | mePedMapG06_ [18] |
MonitorElement * | mePedMapG12_ [18] |
MonitorElement * | mePnPedMapG01_ [18] |
MonitorElement * | mePnPedMapG16_ [18] |
bool | mergeRuns_ |
std::vector< int > | MGPAGains_ |
std::vector< int > | MGPAGainsPN_ |
std::string | prefixME_ |
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) |
Definition at line 20 of file EEPedestalTask.h.
EEPedestalTask::EEPedestalTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 33 of file EEPedestalTask.cc.
References dqmStore_, EcalPnDiodeDigiCollection_, EcalRawDataCollection_, EEDigiCollection_, enableCleanup_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), i, init_, mePed3SumMapG01_, mePed3SumMapG06_, mePed3SumMapG12_, mePed5SumMapG01_, mePed5SumMapG06_, mePed5SumMapG12_, mePedMapG01_, mePedMapG06_, mePedMapG12_, mePnPedMapG01_, mePnPedMapG16_, mergeRuns_, MGPAGains_, MGPAGainsPN_, cmsCodeRules.cppFunctionSkipper::operator, and prefixME_.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 380 of file EEPedestalTask.cc.
References ecalMGPA::adc(), EcalMGPASample::adc(), EcalEndcap, EcalPnDiodeDigiCollection_, EcalRawDataCollection_, EEDigiCollection_, MonitorElement::Fill(), EcalMGPASample::gainId(), edm::Event::getByLabel(), i, ievt_, init_, ecalpyutils::ism(), Numbers::iSM(), EEDetId::ix(), Numbers::ix0EE(), Numbers::iy0EE(), j, LogDebug, mePed3SumMapG01_, mePed3SumMapG06_, mePed3SumMapG12_, mePed5SumMapG01_, mePed5SumMapG06_, mePed5SumMapG12_, mePedMapG01_, mePedMapG06_, mePedMapG12_, mePnPedMapG01_, mePnPedMapG16_, EcalDCCHeaderBlock::PEDESTAL_GAP, EcalDCCHeaderBlock::PEDESTAL_STD, EcalDataFrame::sample(), setup(), Numbers::subDet(), and Numbers::validEE().
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 79 of file EEPedestalTask.cc.
References dqmStore_, ievt_, prefixME_, DQMStore::rmdir(), and DQMStore::setCurrentFolder().
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 90 of file EEPedestalTask.cc.
References Numbers::initGeometry(), mergeRuns_, and reset().
|
protected |
Cleanup.
Definition at line 289 of file EEPedestalTask.cc.
References dqmStore_, spr::find(), edm::getName(), i, init_, mePed3SumMapG01_, mePed3SumMapG06_, mePed3SumMapG12_, mePed5SumMapG01_, mePed5SumMapG06_, mePed5SumMapG12_, mePedMapG01_, mePedMapG06_, mePedMapG12_, mePnPedMapG01_, mePnPedMapG16_, MGPAGains_, MGPAGainsPN_, prefixME_, DQMStore::removeElement(), and DQMStore::setCurrentFolder().
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 372 of file EEPedestalTask.cc.
References cleanup(), enableCleanup_, and ievt_.
|
protectedvirtual |
|
protected |
Reset.
Definition at line 102 of file EEPedestalTask.cc.
References spr::find(), i, mePed3SumMapG01_, mePed3SumMapG06_, mePed3SumMapG12_, mePed5SumMapG01_, mePed5SumMapG06_, mePed5SumMapG12_, mePedMapG01_, mePedMapG06_, mePedMapG12_, mePnPedMapG01_, mePnPedMapG16_, MGPAGains_, MGPAGainsPN_, and MonitorElement::Reset().
Referenced by beginRun().
|
protected |
Setup.
Definition at line 132 of file EEPedestalTask.cc.
References DQMStore::bookProfile(), DQMStore::bookProfile2D(), dqmStore_, spr::find(), i, init_, Numbers::ix0EE(), Numbers::iy0EE(), mePed3SumMapG01_, mePed3SumMapG06_, mePed3SumMapG12_, mePed5SumMapG01_, mePed5SumMapG06_, mePed5SumMapG12_, mePedMapG01_, mePedMapG06_, mePedMapG12_, mePnPedMapG01_, mePnPedMapG16_, MGPAGains_, MGPAGainsPN_, mergeVDriftHistosByStation::name, prefixME_, Numbers::sEE(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), and DQMStore::tag().
Referenced by analyze().
|
private |
Definition at line 60 of file EEPedestalTask.h.
Referenced by beginJob(), cleanup(), EEPedestalTask(), and setup().
|
private |
Definition at line 70 of file EEPedestalTask.h.
Referenced by analyze(), and EEPedestalTask().
|
private |
Definition at line 68 of file EEPedestalTask.h.
Referenced by analyze(), and EEPedestalTask().
|
private |
Definition at line 69 of file EEPedestalTask.h.
Referenced by analyze(), and EEPedestalTask().
|
private |
Definition at line 64 of file EEPedestalTask.h.
Referenced by EEPedestalTask(), and endJob().
|
private |
Definition at line 58 of file EEPedestalTask.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 89 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), and setup().
|
private |
Definition at line 78 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 79 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 80 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 82 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 83 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 84 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 74 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 75 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 76 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 86 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 87 of file EEPedestalTask.h.
Referenced by analyze(), cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 66 of file EEPedestalTask.h.
Referenced by beginRun(), and EEPedestalTask().
|
private |
Definition at line 71 of file EEPedestalTask.h.
Referenced by cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 72 of file EEPedestalTask.h.
Referenced by cleanup(), EEPedestalTask(), reset(), and setup().
|
private |
Definition at line 62 of file EEPedestalTask.h.
Referenced by beginJob(), cleanup(), EEPedestalTask(), and setup().