#include <EBTestPulseTask.h>
Public Member Functions | |
EBTestPulseTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~EBTestPulseTask () |
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 | 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 | |
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) |
Private Attributes | |
float | amplitudeThreshold_ |
DQMStore * | dqmStore_ |
edm::InputTag | EBDigiCollection_ |
edm::InputTag | EcalPnDiodeDigiCollection_ |
edm::InputTag | EcalRawDataCollection_ |
edm::InputTag | EcalUncalibratedRecHitCollection_ |
bool | enableCleanup_ |
int | ievt_ |
bool | init_ |
MonitorElement * | meAmplMapG01_ [36] |
MonitorElement * | meAmplMapG06_ [36] |
MonitorElement * | meAmplMapG12_ [36] |
MonitorElement * | mePnAmplMapG01_ [36] |
MonitorElement * | mePnAmplMapG16_ [36] |
MonitorElement * | mePnPedMapG01_ [36] |
MonitorElement * | mePnPedMapG16_ [36] |
bool | mergeRuns_ |
MonitorElement * | meShapeMapG01_ [36] |
MonitorElement * | meShapeMapG06_ [36] |
MonitorElement * | meShapeMapG12_ [36] |
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) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 21 of file EBTestPulseTask.h.
EBTestPulseTask::EBTestPulseTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 34 of file EBTestPulseTask.cc.
References dqmStore_, EBDigiCollection_, EcalPnDiodeDigiCollection_, EcalRawDataCollection_, EcalUncalibratedRecHitCollection_, enableCleanup_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), i, init_, meAmplMapG01_, meAmplMapG06_, meAmplMapG12_, mePnAmplMapG01_, mePnAmplMapG16_, mePnPedMapG01_, mePnPedMapG16_, mergeRuns_, meShapeMapG01_, meShapeMapG06_, meShapeMapG12_, MGPAGains_, MGPAGainsPN_, cppFunctionSkipper::operator, prefixME_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 352 of file EBTestPulseTask.cc.
References ecalMGPA::adc(), EcalMGPASample::adc(), EBDigiCollection_, EcalBarrel, EcalPnDiodeDigiCollection_, EcalRawDataCollection_, EcalUncalibratedRecHitCollection_, MonitorElement::Fill(), edm::Event::getByLabel(), i, EBDetId::ic(), ievt_, init_, ecalpyutils::ism(), Numbers::iSM(), LogDebug, meAmplMapG01_, meAmplMapG06_, meAmplMapG12_, mePnAmplMapG01_, mePnAmplMapG16_, mePnPedMapG01_, mePnPedMapG16_, meShapeMapG01_, meShapeMapG06_, meShapeMapG12_, environment_file_cff::runType, EcalDataFrame::sample(), setup(), Numbers::subDet(), EcalDCCHeaderBlock::TESTPULSE_GAP, and EcalDCCHeaderBlock::TESTPULSE_MGPA.
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 79 of file EBTestPulseTask.cc.
References dqmStore_, ievt_, prefixME_, DQMStore::rmdir(), and DQMStore::setCurrentFolder().
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 90 of file EBTestPulseTask.cc.
References Numbers::initGeometry(), mergeRuns_, and reset().
|
protected |
Cleanup.
Definition at line 268 of file EBTestPulseTask.cc.
References dqmStore_, spr::find(), i, init_, meAmplMapG01_, meAmplMapG06_, meAmplMapG12_, mePnAmplMapG01_, mePnAmplMapG16_, mePnPedMapG01_, mePnPedMapG16_, meShapeMapG01_, meShapeMapG06_, meShapeMapG12_, MGPAGains_, MGPAGainsPN_, prefixME_, DQMStore::removeElement(), and DQMStore::setCurrentFolder().
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 344 of file EBTestPulseTask.cc.
References cleanup(), enableCleanup_, and ievt_.
|
protectedvirtual |
|
protected |
Reset.
Definition at line 102 of file EBTestPulseTask.cc.
References spr::find(), i, meAmplMapG01_, meAmplMapG06_, meAmplMapG12_, mePnAmplMapG01_, mePnAmplMapG16_, mePnPedMapG01_, mePnPedMapG16_, meShapeMapG01_, meShapeMapG06_, meShapeMapG12_, MGPAGains_, MGPAGainsPN_, and MonitorElement::Reset().
Referenced by beginRun().
|
protected |
Setup.
Definition at line 129 of file EBTestPulseTask.cc.
References DQMStore::bookProfile(), DQMStore::bookProfile2D(), dqmStore_, spr::find(), i, init_, meAmplMapG01_, meAmplMapG06_, meAmplMapG12_, mePnAmplMapG01_, mePnAmplMapG16_, mePnPedMapG01_, mePnPedMapG16_, meShapeMapG01_, meShapeMapG06_, meShapeMapG12_, MGPAGains_, MGPAGainsPN_, mergeVDriftHistosByStation::name, prefixME_, Numbers::sEB(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and DQMStore::tag().
Referenced by analyze().
|
private |
Definition at line 92 of file EBTestPulseTask.h.
|
private |
Definition at line 61 of file EBTestPulseTask.h.
Referenced by beginJob(), cleanup(), EBTestPulseTask(), and setup().
|
private |
Definition at line 70 of file EBTestPulseTask.h.
Referenced by analyze(), and EBTestPulseTask().
|
private |
Definition at line 71 of file EBTestPulseTask.h.
Referenced by analyze(), and EBTestPulseTask().
|
private |
Definition at line 69 of file EBTestPulseTask.h.
Referenced by analyze(), and EBTestPulseTask().
|
private |
Definition at line 72 of file EBTestPulseTask.h.
Referenced by analyze(), and EBTestPulseTask().
|
private |
Definition at line 65 of file EBTestPulseTask.h.
Referenced by EBTestPulseTask(), and endJob().
|
private |
Definition at line 59 of file EBTestPulseTask.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 94 of file EBTestPulseTask.h.
Referenced by analyze(), cleanup(), EBTestPulseTask(), and setup().
|
private |
Definition at line 80 of file EBTestPulseTask.h.
Referenced by analyze(), cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 81 of file EBTestPulseTask.h.
Referenced by analyze(), cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 82 of file EBTestPulseTask.h.
Referenced by analyze(), cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 84 of file EBTestPulseTask.h.
Referenced by analyze(), cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 85 of file EBTestPulseTask.h.
Referenced by analyze(), cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 87 of file EBTestPulseTask.h.
Referenced by analyze(), cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 88 of file EBTestPulseTask.h.
Referenced by analyze(), cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 67 of file EBTestPulseTask.h.
Referenced by beginRun(), and EBTestPulseTask().
|
private |
Definition at line 76 of file EBTestPulseTask.h.
Referenced by analyze(), cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 77 of file EBTestPulseTask.h.
Referenced by analyze(), cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 78 of file EBTestPulseTask.h.
Referenced by analyze(), cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 73 of file EBTestPulseTask.h.
Referenced by cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 74 of file EBTestPulseTask.h.
Referenced by cleanup(), EBTestPulseTask(), reset(), and setup().
|
private |
Definition at line 63 of file EBTestPulseTask.h.
Referenced by beginJob(), cleanup(), EBTestPulseTask(), and setup().