#include <LaserTask.h>
Public Types | |
enum | Constants { nWL = 4, nPNGain = 2 } |
enum | MESets { kAmplitudeSummary, kAmplitude = kAmplitudeSummary + nWL, kOccupancy = kAmplitude + nWL, kTiming = kOccupancy + nWL, kShape = kTiming + nWL, kAOverP = kShape + nWL, kPNAmplitude = kAOverP + nWL, kPNOccupancy = kPNAmplitude + nWL * nPNGain, nMESets } |
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 > &) |
std::vector< int > const & | getLaserWavelengths () const |
std::vector< int > const & | getMGPAGainsPN () const |
LaserTask (const edm::ParameterSet &, const edm::ParameterSet &) | |
void | runOnDigis (const EcalDigiCollection &) |
void | runOnPnDigis (const EcalPnDiodeDigiCollection &) |
void | runOnRawData (const EcalRawDataCollection &) |
void | runOnUncalibRecHits (const EcalUncalibratedRecHitCollection &, Collections) |
~LaserTask () | |
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 > &) |
Private Attributes | |
bool | enable_ [BinService::nDCC] |
std::vector< int > | laserWavelengths_ |
std::vector< int > | MGPAGainsPN_ |
std::map< int, std::vector < float > > | pnAmp_ |
int | wavelength_ [BinService::nDCC] |
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 &) |
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_ |
Definition at line 12 of file LaserTask.h.
Enumerator | |
---|---|
nWL | |
nPNGain |
Definition at line 34 of file LaserTask.h.
Enumerator | |
---|---|
kAmplitudeSummary | |
kAmplitude | |
kOccupancy | |
kTiming | |
kShape | |
kAOverP | |
kPNAmplitude | |
kPNOccupancy | |
nMESets |
Definition at line 39 of file LaserTask.h.
ecaldqm::LaserTask::LaserTask | ( | const edm::ParameterSet & | _params, |
const edm::ParameterSet & | _paths | ||
) |
Definition at line 13 of file LaserTask.cc.
References ecaldqm::DQWorkerTask::collectionMask_, edm::hlt::Exception, edm::ParameterSet::getUntrackedParameterSet(), kAmplitude, kAmplitudeSummary, kAOverP, ecaldqm::kEBDigi, ecaldqm::kEBUncalibRecHit, ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEEUncalibRecHit, kOccupancy, kPNAmplitude, ecaldqm::kPnDiodeDigi, kShape, kTiming, laserWavelengths_, ecaldqm::DQWorker::MEs_, MGPAGainsPN_, ecaldqm::DQWorker::name_, nPNGain, and evf::evtn::offset().
ecaldqm::LaserTask::~LaserTask | ( | ) |
Definition at line 70 of file LaserTask.cc.
|
inlinevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 62 of file LaserTask.h.
References ecaldqm::kEBDigi, ecaldqm::kEBUncalibRecHit, ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEEUncalibRecHit, ecaldqm::kPnDiodeDigi, runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 98 of file LaserTask.cc.
References enable_, EcalDQMBinningService::nDCC, pnAmp_, and wavelength_.
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 75 of file LaserTask.cc.
References kAmplitude, kAmplitudeSummary, kAOverP, kOccupancy, kPNAmplitude, kPNOccupancy, kShape, kTiming, laserWavelengths_, ecaldqm::DQWorker::MEs_, MGPAGainsPN_, nPNGain, and evf::evtn::offset().
|
virtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 108 of file LaserTask.cc.
References enable_, EcalDQMBinningService::nDCC, pnAmp_, and wavelength_.
|
virtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 118 of file LaserTask.cc.
References enable_, EcalDCCHeaderBlock::LASER_GAP, EcalDCCHeaderBlock::LASER_STD, and EcalDQMBinningService::nDCC.
|
inline |
|
inline |
void ecaldqm::LaserTask::runOnDigis | ( | const EcalDigiCollection & | _digis | ) |
Definition at line 148 of file LaserTask.cc.
References EcalMGPASample::adc(), edm::DataFrameContainer::begin(), ecaldqm::dccId(), enable_, edm::DataFrameContainer::end(), lumiContext::fill, errorMatrix2Lands_multiChannel::id, kOccupancy, kShape, ecaldqm::DQWorker::MEs_, evf::evtn::offset(), EcalDataFrame::sample(), and wavelength_.
Referenced by analyze().
void ecaldqm::LaserTask::runOnPnDigis | ( | const EcalPnDiodeDigiCollection & | _digis | ) |
Definition at line 169 of file LaserTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), enable_, edm::SortedCollection< T, SORT >::end(), errorMatrix2Lands_multiChannel::id, kPNAmplitude, kPNOccupancy, max(), ecaldqm::DQWorker::MEs_, nPNGain, evf::evtn::offset(), pnAmp_, compare_using_db::sample, and wavelength_.
Referenced by analyze().
void ecaldqm::LaserTask::runOnRawData | ( | const EcalRawDataCollection & | _dcchs | ) |
Definition at line 134 of file LaserTask.cc.
References edm::SortedCollection< T, SORT >::begin(), enable_, edm::SortedCollection< T, SORT >::end(), spr::find(), laserWavelengths_, and wavelength_.
Referenced by analyze().
void ecaldqm::LaserTask::runOnUncalibRecHits | ( | const EcalUncalibratedRecHitCollection & | _uhits, |
Collections | _collection | ||
) |
Definition at line 207 of file LaserTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), MEEEGeom::dee(), enable_, edm::SortedCollection< T, SORT >::end(), ecaldqm::getEEPnDCC(), errorMatrix2Lands_multiChannel::id, EBDetId::ieta(), EBDetId::iphi(), EcalScDetId::ix(), EcalScDetId::iy(), kAmplitude, kAmplitudeSummary, kAOverP, ecaldqm::kEBUncalibRecHit, ecaldqm::kEEUncalibRecHit, kTiming, MEEEGeom::lmmod(), MEEBGeom::lmmod(), max(), ecaldqm::DQWorker::MEs_, evf::evtn::offset(), MEEBGeom::pn(), MEEEGeom::pn(), pnAmp_, wavelength_, and EcalScDetId::zside().
Referenced by analyze().
|
static |
Definition at line 268 of file LaserTask.cc.
References MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, EcalDQMBinningService::AxisSpecs::high, kAmplitude, kAmplitudeSummary, kAOverP, EcalDQMBinningService::kCrystal, EcalDQMBinningService::kEcal2P, EcalDQMBinningService::kEcalMEM2P, kOccupancy, kPNAmplitude, kPNOccupancy, kShape, EcalDQMBinningService::kSM, EcalDQMBinningService::kSMMEM, EcalDQMBinningService::kSuperCrystal, kTiming, EcalDQMBinningService::AxisSpecs::low, EcalDQMBinningService::AxisSpecs::nbins, nPNGain, nWL, and evf::evtn::offset().
|
private |
Definition at line 57 of file LaserTask.h.
Referenced by beginRun(), endEvent(), filterRunType(), runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
private |
Definition at line 54 of file LaserTask.h.
Referenced by bookMEs(), getLaserWavelengths(), LaserTask(), and runOnRawData().
|
private |
Definition at line 55 of file LaserTask.h.
Referenced by bookMEs(), getMGPAGainsPN(), and LaserTask().
|
private |
Definition at line 59 of file LaserTask.h.
Referenced by beginRun(), endEvent(), runOnPnDigis(), and runOnUncalibRecHits().
|
private |
Definition at line 58 of file LaserTask.h.
Referenced by beginRun(), endEvent(), runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().