#include <TestPulseTask.h>
Private Member Functions | |
void | setParams (edm::ParameterSet const &) override |
Private Attributes | |
bool | enable_ [nDCC] |
int | gain_ [nDCC] |
std::map< int, unsigned > | gainToME_ |
std::map< int, unsigned > | pnGainToME_ |
Additional Inherited Members | |
Public Types inherited from ecaldqm::DQWorkerTask | |
typedef EcalDCCHeaderBlock::EcalDCCEventSettings | EventSettings |
Static Public Member Functions inherited from ecaldqm::DQWorkerTask | |
static void | fillDescriptions (edm::ParameterSetDescription &) |
Static Public Member Functions inherited from ecaldqm::DQWorker | |
static void | fillDescriptions (edm::ParameterSetDescription &_desc) |
Protected Types inherited from ecaldqm::DQWorker | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Protected Member Functions inherited from ecaldqm::DQWorkerTask | |
void | setME (edm::ParameterSet const &) final |
Protected Member Functions inherited from ecaldqm::DQWorker | |
void | initialize (std::string const &_name, edm::ParameterSet const &) |
void | print_ (std::string const &, int=0) const |
virtual void | setSource (edm::ParameterSet const &) |
void | setVerbosity (int _verbosity) |
Protected Attributes inherited from ecaldqm::DQWorker | |
bool | booked_ |
MESetCollection | MEs_ |
std::string | name_ |
bool | onlineMode_ |
Timestamp | timestamp_ |
int | verbosity_ |
bool | willConvertToEDM_ |
Definition at line 14 of file TestPulseTask.h.
ecaldqm::TestPulseTask::TestPulseTask | ( | ) |
Definition at line 15 of file TestPulseTask.cc.
References enable_, gain_, and ecaldqm::nDCC.
|
inlineoverride |
Definition at line 17 of file TestPulseTask.h.
References addDependencies(), analyze(), siStripShotFilter_cfi::DigiCollection, filterRunType(), runOnDigis(), runOnPnDigis(), runOnRawData(), runOnUncalibRecHits(), and setParams().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 49 of file TestPulseTask.cc.
References ecaldqm::kEBTestPulseUncalibRecHit, ecaldqm::kEcalRawData, ecaldqm::kEETestPulseUncalibRecHit, and ecaldqm::DependencySet::push_back().
Referenced by ~TestPulseTask().
|
inlineoverridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 41 of file TestPulseTask.h.
References ecaldqm::kEBDigi, ecaldqm::kEBTestPulseUncalibRecHit, ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEETestPulseUncalibRecHit, ecaldqm::kPnDiodeDigi, runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
Referenced by ~TestPulseTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 54 of file TestPulseTask.cc.
References Reconstruction_hiPF_cff::enable, enable_, ecaldqm::nDCC, EcalDCCHeaderBlock::TESTPULSE_GAP, and EcalDCCHeaderBlock::TESTPULSE_MGPA.
Referenced by ~TestPulseTask().
void ecaldqm::TestPulseTask::runOnDigis | ( | DigiCollection const & | _digis | ) |
Definition at line 96 of file TestPulseTask.cc.
References EcalMGPASample::adc(), ecaldqm::dccId(), enable_, ecaldqm::MESetMulti::fill(), gain_, gainToME_, triggerObjects_cff::id, ecaldqm::DQWorker::MEs_, and EcalDataFrame::sample().
Referenced by analyze(), and ~TestPulseTask().
void ecaldqm::TestPulseTask::runOnPnDigis | ( | EcalPnDiodeDigiCollection const & | _digis | ) |
Definition at line 125 of file TestPulseTask.cc.
References CustomPhysics_cfi::amplitude, edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), enable_, edm::SortedCollection< T, SORT >::end(), PedestalClient_cfi::gain, triggerObjects_cff::id, SiStripPI::max, ecaldqm::DQWorker::MEs_, EcalCondDBWriter_cfi::pedestal, and pnGainToME_.
Referenced by analyze(), and ~TestPulseTask().
void ecaldqm::TestPulseTask::runOnRawData | ( | EcalRawDataCollection const & | _rawData | ) |
Definition at line 68 of file TestPulseTask.cc.
References edm::SortedCollection< T, SORT >::begin(), enable_, edm::SortedCollection< T, SORT >::end(), gain_, and gainToME_.
Referenced by analyze(), and ~TestPulseTask().
void ecaldqm::TestPulseTask::runOnUncalibRecHits | ( | EcalUncalibratedRecHitCollection const & | _uhits | ) |
Definition at line 174 of file TestPulseTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), DEFINE_ECALDQM_WORKER, enable_, edm::SortedCollection< T, SORT >::end(), ecaldqm::MESetMulti::fill(), gain_, gainToME_, triggerObjects_cff::id, and ecaldqm::DQWorker::MEs_.
Referenced by analyze(), and ~TestPulseTask().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 20 of file TestPulseTask.cc.
References CustomPhysics_cfi::amplitude, Exception, PedestalClient_cfi::gain, gainToME_, ecaldqm::MESetMulti::getIndex(), edm::ParameterSet::getUntrackedParameter(), ecaldqm::DQWorker::MEs_, PedestalClient_cfi::MGPAGains, PedestalClient_cfi::MGPAGainsPN, and pnGainToME_.
Referenced by ~TestPulseTask().
|
private |
Definition at line 37 of file TestPulseTask.h.
Referenced by filterRunType(), runOnDigis(), runOnPnDigis(), runOnRawData(), runOnUncalibRecHits(), and TestPulseTask().
|
private |
Definition at line 38 of file TestPulseTask.h.
Referenced by runOnDigis(), runOnRawData(), runOnUncalibRecHits(), and TestPulseTask().
|
private |
Definition at line 34 of file TestPulseTask.h.
Referenced by runOnDigis(), runOnRawData(), runOnUncalibRecHits(), and setParams().
|
private |
Definition at line 35 of file TestPulseTask.h.
Referenced by runOnPnDigis(), and setParams().