#include <LaserTask.h>
Public Types | |
enum | Wavelength { kGreen, kBlue, kIRed, nWavelength } |
Public Types inherited from ecaldqm::DQWorkerTask | |
typedef EcalDCCHeaderBlock::EcalDCCEventSettings | EventSettings |
Public Member Functions | |
void | addDependencies (DependencySet &) override |
bool | analyze (void const *, Collections) override |
void | beginEvent (edm::Event const &, edm::EventSetup const &) override |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
bool | filterRunType (short const *) override |
LaserTask () | |
template<typename DigiCollection > | |
void | runOnDigis (DigiCollection const &) |
void | runOnPnDigis (EcalPnDiodeDigiCollection const &) |
void | runOnRawData (EcalRawDataCollection const &) |
void | runOnUncalibRecHits (EcalUncalibratedRecHitCollection const &) |
~LaserTask () override | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
DQWorkerTask () | |
virtual void | endEvent (edm::Event const &, edm::EventSetup const &) |
virtual bool | filterTrigger (edm::TriggerResultsByName const &) |
virtual void | setTokens (edm::ConsumesCollector &) |
~DQWorkerTask () override | |
Public Member Functions inherited from ecaldqm::DQWorker | |
virtual void | bookMEs (DQMStore::IBooker &) |
DQWorker () | |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
const std::string & | getName () const |
bool | onlineMode () const |
virtual void | releaseMEs () |
void | setEventNumber (edm::EventNumber_t _e) |
void | setLumiNumber (edm::LuminosityBlockNumber_t _l) |
void | setRunNumber (edm::RunNumber_t _r) |
void | setTime (time_t _t) |
virtual | ~DQWorker () noexcept(false) |
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.
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.
|
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().
|
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().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 63 of file LaserTask.cc.
References pnAmp_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 58 of file LaserTask.cc.
References emptyLS_, and emptyLSLimit_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 56 of file LaserTask.cc.
References emptyLS_.
|
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.
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_, 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(), remoteMonitoring_LED_IterMethod_cfg::threshold, wavelength_, and wlToME_.
Referenced by analyze().
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(), triggerObjects_cff::id, SiStripPI::max, ecaldqm::DQWorker::MEs_, ecaldqm::nDCC, EcalCondDBWriter_cfi::pedestal, pnAmp_, wavelength_, and wlToME_.
Referenced by analyze().
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().
void LaserTask::runOnUncalibRecHits | ( | EcalUncalibratedRecHitCollection const & | _uhits | ) |
Definition at line 284 of file LaserTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), Reconstruction_hiPF_cff::enable, enable_, edm::SortedCollection< T, SORT >::end(), triggerObjects_cff::id, SiStripPI::max, ecaldqm::DQWorker::MEs_, ecaldqm::nDCC, pnAmp_, ecaldqm::pnForCrystal(), ecaldqm::rtHalf(), rtHalf_, wavelength_, and wlToME_.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 14 of file LaserTask.cc.
References l1extraParticles_cfi::_params, CustomPhysics_cfi::amplitude, emptyLSLimit_, Exception, 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().