#include <LaserTask.h>
Public Types | |
enum | Wavelength { kGreen, kBlue, kIRed, nWavelength } |
Public Types inherited from ecaldqm::DQWorkerTask | |
typedef EcalDCCHeaderBlock::EcalDCCEventSettings | EventSettings |
Private Member Functions | |
void | setParams (edm::ParameterSet const &) override |
Private Attributes | |
int | emptyLS_ |
int | emptyLSLimit_ |
bool | enable_ [nDCC] |
int | maxPedestal_ |
std::map< uint32_t, float > | pnAmp_ |
unsigned | rtHalf_ [nDCC] |
unsigned | wavelength_ [nDCC] |
std::map< int, unsigned > | wlToME_ |
Additional Inherited Members | |
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 LaserTask.h.
Enumerator | |
---|---|
kGreen | |
kBlue | |
kIRed | |
nWavelength |
Definition at line 35 of file LaserTask.h.
LaserTask::LaserTask | ( | ) |
Definition at line 8 of file LaserTask.cc.
References enable_, ecaldqm::nDCC, rtHalf_, and wavelength_.
|
inlineoverride |
Definition at line 17 of file LaserTask.h.
References addDependencies(), analyze(), beginEvent(), beginLuminosityBlock(), beginRun(), siStripShotFilter_cfi::DigiCollection, filterRunType(), runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 34 of file LaserTask.cc.
References ecaldqm::kEBDigi, ecaldqm::kEBLaserLedUncalibRecHit, ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEELaserLedUncalibRecHit, ecaldqm::kPnDiodeDigi, and ecaldqm::DependencySet::push_back().
Referenced by ~LaserTask().
|
inlineoverridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 52 of file LaserTask.h.
References ecaldqm::kEBDigi, ecaldqm::kEBLaserLedUncalibRecHit, ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEELaserLedUncalibRecHit, ecaldqm::kPnDiodeDigi, runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
Referenced by ~LaserTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 63 of file LaserTask.cc.
References pnAmp_.
Referenced by ~LaserTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 58 of file LaserTask.cc.
References emptyLS_, and emptyLSLimit_.
Referenced by ~LaserTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 56 of file LaserTask.cc.
References emptyLS_.
Referenced by ~LaserTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 42 of file LaserTask.cc.
References Reconstruction_hiPF_cff::enable, enable_, EcalDCCHeaderBlock::LASER_GAP, EcalDCCHeaderBlock::LASER_STD, and ecaldqm::nDCC.
Referenced by ~LaserTask().
void LaserTask::runOnDigis | ( | DigiCollection const & | _digis | ) |
Definition at line 109 of file LaserTask.cc.
References ecalMGPA::adc(), EcalMGPASample::adc(), ecaldqm::dccId(), emptyLS_, Reconstruction_hiPF_cff::enable, enable_, ecaldqm::MESetMulti::fill(), mps_fire::i, triggerObjects_cff::id, SiStripPI::max, maxPedestal_, EcalDataFrame::MAXSAMPLES, ecaldqm::DQWorker::MEs_, min(), ecaldqm::nDCC, DetId::null(), pnAmp_, ecaldqm::pnForCrystal(), DetId::rawId(), ecaldqm::rtHalf(), rtHalf_, EcalDataFrame::sample(), MessageLogger_cff::threshold, wavelength_, and wlToME_.
Referenced by analyze(), and ~LaserTask().
void LaserTask::runOnPnDigis | ( | EcalPnDiodeDigiCollection const & | _digis | ) |
Definition at line 238 of file LaserTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), Reconstruction_hiPF_cff::enable, enable_, edm::SortedCollection< T, SORT >::end(), ecaldqm::MESetMulti::fill(), triggerObjects_cff::id, SiStripPI::max, ecaldqm::DQWorker::MEs_, ecaldqm::nDCC, EcalCondDBWriter_cfi::pedestal, pnAmp_, wavelength_, and wlToME_.
Referenced by analyze(), and ~LaserTask().
void LaserTask::runOnRawData | ( | EcalRawDataCollection const & | _rawData | ) |
Definition at line 65 of file LaserTask.cc.
References edm::SortedCollection< T, SORT >::begin(), enable_, edm::SortedCollection< T, SORT >::end(), ecaldqm::DQWorker::MEs_, ecaldqm::nDCC, nWavelength, rtHalf_, wavelength_, and wlToME_.
Referenced by analyze(), and ~LaserTask().
void LaserTask::runOnUncalibRecHits | ( | EcalUncalibratedRecHitCollection const & | _uhits | ) |
Definition at line 284 of file LaserTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), DEFINE_ECALDQM_WORKER, Reconstruction_hiPF_cff::enable, enable_, edm::SortedCollection< T, SORT >::end(), ecaldqm::MESetMulti::fill(), triggerObjects_cff::id, SiStripPI::max, ecaldqm::DQWorker::MEs_, ecaldqm::nDCC, pnAmp_, ecaldqm::pnForCrystal(), ecaldqm::rtHalf(), rtHalf_, wavelength_, and wlToME_.
Referenced by analyze(), and ~LaserTask().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 14 of file LaserTask.cc.
References CustomPhysics_cfi::amplitude, emptyLSLimit_, Exception, ecaldqm::MESetMulti::getIndex(), edm::ParameterSet::getUntrackedParameter(), CalibrationSummaryClient_cfi::laserWavelengths, maxPedestal_, ecaldqm::DQWorker::MEs_, LaserClient_cfi::wl, and wlToME_.
|
private |
Definition at line 47 of file LaserTask.h.
Referenced by beginLuminosityBlock(), beginRun(), and runOnDigis().
|
private |
Definition at line 48 of file LaserTask.h.
Referenced by beginLuminosityBlock(), and setParams().
|
private |
Definition at line 42 of file LaserTask.h.
Referenced by filterRunType(), LaserTask(), runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
private |
Definition at line 49 of file LaserTask.h.
Referenced by runOnDigis(), and setParams().
|
private |
Definition at line 45 of file LaserTask.h.
Referenced by beginEvent(), runOnDigis(), runOnPnDigis(), and runOnUncalibRecHits().
|
private |
Definition at line 44 of file LaserTask.h.
Referenced by LaserTask(), runOnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
private |
Definition at line 43 of file LaserTask.h.
Referenced by LaserTask(), runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
private |
Definition at line 40 of file LaserTask.h.
Referenced by runOnDigis(), runOnPnDigis(), runOnRawData(), runOnUncalibRecHits(), and setParams().