#include <TestPulseTask.h>
Public Types | |
enum | Constants { nGain = 3, nPNGain = 2 } |
enum | MESets { kOccupancy, kShape = kOccupancy + nGain, kAmplitude = kShape + nGain, kPNOccupancy = kAmplitude + nGain, kPNAmplitude = kPNOccupancy + nPNGain, nMESets = kPNAmplitude + nPNGain } |
Public Types inherited from ecaldqm::DQWorker | |
enum | MESets { nMESets } |
Public Member Functions | |
void | analyze (const void *, Collections) |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
void | bookMEs () |
void | endEvent (const edm::Event &, const edm::EventSetup &) |
bool | filterRunType (const std::vector< short > &) |
void | runOnDigis (const EcalDigiCollection &) |
void | runOnPnDigis (const EcalPnDiodeDigiCollection &) |
void | runOnUncalibRecHits (const EcalUncalibratedRecHitCollection &) |
TestPulseTask (const edm::ParameterSet &, const edm::ParameterSet &) | |
~TestPulseTask () | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
virtual void | beginEvent (const edm::Event &, const edm::EventSetup &) |
DQWorkerTask (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual bool | filterTrigger (const edm::TriggerResultsByName &) |
virtual const std::vector < std::pair< Collections, Collections > > & | getDependencies () |
virtual bool | runsOn (unsigned) |
virtual | ~DQWorkerTask () |
Public Member Functions inherited from ecaldqm::DQWorker | |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
DQWorker (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
const std::vector< MESet * > & | getMEs () |
virtual std::string const & | getName () |
virtual bool | isInitialized () |
virtual void | reset () |
virtual void | setInitialized (bool _init) |
virtual void | setVerbosity (int _verbosity) |
virtual | ~DQWorker () |
Static Public Member Functions | |
static void | setMEData (std::vector< MEData > &) |
Static Public Member Functions inherited from ecaldqm::DQWorker | |
static void | setMEData (std::vector< MEData > &) |
Protected Attributes | |
bool | enable_ [54] |
int | gain_ [54] |
std::vector< int > | MGPAGains_ |
std::vector< int > | MGPAGainsPN_ |
Protected Attributes inherited from ecaldqm::DQWorkerTask | |
uint32_t | collectionMask_ |
std::vector< std::pair < Collections, Collections > > | dependencies_ |
Protected Attributes inherited from ecaldqm::DQWorker | |
bool | initialized_ |
std::vector< MESet * > | MEs_ |
std::string | name_ |
int | verbosity_ |
Additional Inherited Members | |
Static Public Attributes inherited from ecaldqm::DQWorker | |
static std::map< std::string, std::vector< MEData > > | meData |
Protected Member Functions inherited from ecaldqm::DQWorker | |
MESet * | createMESet_ (std::string const &, MEData const &, bool _readOnly=false) const |
void | meSet_ (unsigned, edm::ParameterSet const &) |
Definition at line 11 of file TestPulseTask.h.
Enumerator | |
---|---|
nGain | |
nPNGain |
Definition at line 29 of file TestPulseTask.h.
Enumerator | |
---|---|
kOccupancy | |
kShape | |
kAmplitude | |
kPNOccupancy | |
kPNAmplitude | |
nMESets |
Definition at line 34 of file TestPulseTask.h.
ecaldqm::TestPulseTask::TestPulseTask | ( | const edm::ParameterSet & | _params, |
const edm::ParameterSet & | _paths | ||
) |
Definition at line 13 of file TestPulseTask.cc.
References ecaldqm::DQWorkerTask::collectionMask_, enable_, edm::hlt::Exception, gain_, edm::ParameterSet::getUntrackedParameterSet(), kAmplitude, ecaldqm::kEBDigi, ecaldqm::kEBUncalibRecHit, ecaldqm::kEEDigi, ecaldqm::kEEUncalibRecHit, kOccupancy, kPNAmplitude, ecaldqm::kPnDiodeDigi, kPNOccupancy, kShape, ecaldqm::DQWorker::MEs_, MGPAGains_, MGPAGainsPN_, and evf::evtn::offset().
ecaldqm::TestPulseTask::~TestPulseTask | ( | ) |
Definition at line 80 of file TestPulseTask.cc.
|
inlinevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 52 of file TestPulseTask.h.
References ecaldqm::kEBDigi, ecaldqm::kEBUncalibRecHit, ecaldqm::kEEDigi, ecaldqm::kEEUncalibRecHit, ecaldqm::kPnDiodeDigi, runOnDigis(), runOnPnDigis(), and runOnUncalibRecHits().
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 114 of file TestPulseTask.cc.
References enable_, and gain_.
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 85 of file TestPulseTask.cc.
References kAmplitude, kOccupancy, kPNAmplitude, kPNOccupancy, kShape, ecaldqm::DQWorker::MEs_, MGPAGains_, MGPAGainsPN_, and evf::evtn::offset().
|
virtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 123 of file TestPulseTask.cc.
References enable_, and gain_.
|
virtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 132 of file TestPulseTask.cc.
References enable_, EcalDCCHeaderBlock::TESTPULSE_GAP, and EcalDCCHeaderBlock::TESTPULSE_MGPA.
void ecaldqm::TestPulseTask::runOnDigis | ( | const EcalDigiCollection & | _digis | ) |
Definition at line 148 of file TestPulseTask.cc.
References EcalMGPASample::adc(), edm::DataFrameContainer::begin(), ecaldqm::dccId(), enable_, edm::DataFrameContainer::end(), lumiContext::fill, spr::find(), gain_, EcalMGPASample::gainId(), kOccupancy, kShape, ecaldqm::DQWorker::MEs_, MGPAGains_, evf::evtn::offset(), and EcalDataFrame::sample().
Referenced by analyze().
void ecaldqm::TestPulseTask::runOnPnDigis | ( | const EcalPnDiodeDigiCollection & | _digis | ) |
Definition at line 178 of file TestPulseTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), enable_, edm::SortedCollection< T, SORT >::end(), spr::find(), kPNAmplitude, kPNOccupancy, max(), ecaldqm::DQWorker::MEs_, MGPAGainsPN_, and evf::evtn::offset().
Referenced by analyze().
void ecaldqm::TestPulseTask::runOnUncalibRecHits | ( | const EcalUncalibratedRecHitCollection & | _uhits | ) |
Definition at line 215 of file TestPulseTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), enable_, edm::SortedCollection< T, SORT >::end(), gain_, kAmplitude, ecaldqm::DQWorker::MEs_, and evf::evtn::offset().
Referenced by analyze().
|
static |
Definition at line 238 of file TestPulseTask.cc.
References MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, EcalDQMBinningService::AxisSpecs::high, kAmplitude, EcalDQMBinningService::kCrystal, EcalDQMBinningService::kEcal2P, EcalDQMBinningService::kEcalMEM2P, kOccupancy, kPNAmplitude, kPNOccupancy, kShape, EcalDQMBinningService::kSM, EcalDQMBinningService::kSMMEM, EcalDQMBinningService::kSuperCrystal, EcalDQMBinningService::AxisSpecs::low, EcalDQMBinningService::AxisSpecs::nbins, nGain, and nPNGain.
|
protected |
Definition at line 46 of file TestPulseTask.h.
Referenced by beginRun(), endEvent(), filterRunType(), runOnDigis(), runOnPnDigis(), runOnUncalibRecHits(), and TestPulseTask().
|
protected |
Definition at line 47 of file TestPulseTask.h.
Referenced by beginRun(), endEvent(), runOnDigis(), runOnUncalibRecHits(), and TestPulseTask().
|
protected |
Definition at line 48 of file TestPulseTask.h.
Referenced by bookMEs(), runOnDigis(), and TestPulseTask().
|
protected |
Definition at line 49 of file TestPulseTask.h.
Referenced by bookMEs(), runOnPnDigis(), and TestPulseTask().