#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 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::DQWorkerTask | |
std::set< std::string > | resettable_ |
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 34 of file LaserTask.h.
LaserTask::LaserTask | ( | ) |
Definition at line 9 of file LaserTask.cc.
References enable_, ecaldqm::nDCC, rtHalf_, and wavelength_.
|
inline |
Definition at line 17 of file LaserTask.h.
References addDependencies(), analyze(), beginEvent(), beginLuminosityBlock(), beginRun(), filterRunType(), runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 44 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 56 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 84 of file LaserTask.cc.
References pnAmp_.
Referenced by ~LaserTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 78 of file LaserTask.cc.
References emptyLS_, and emptyLSLimit_.
Referenced by ~LaserTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 72 of file LaserTask.cc.
References emptyLS_.
Referenced by ~LaserTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 54 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 137 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(), electronIdCutBased_cfi::threshold, wavelength_, and wlToME_.
Referenced by analyze(), and ~LaserTask().
void LaserTask::runOnPnDigis | ( | EcalPnDiodeDigiCollection const & | _digis | ) |
Definition at line 257 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, muonCSCDigis_cfi::pedestal, pnAmp_, wavelength_, and wlToME_.
Referenced by analyze(), and ~LaserTask().
void LaserTask::runOnRawData | ( | EcalRawDataCollection const & | _rawData | ) |
Definition at line 90 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 301 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 23 of file LaserTask.cc.
References CustomPhysics_cfi::amplitude, emptyLSLimit_, Exception, ecaldqm::MESetMulti::getIndex(), edm::ParameterSet::getUntrackedParameter(), maxPedestal_, ecaldqm::DQWorker::MEs_, and wlToME_.
|
private |
Definition at line 51 of file LaserTask.h.
Referenced by beginLuminosityBlock(), beginRun(), and runOnDigis().
|
private |
Definition at line 52 of file LaserTask.h.
Referenced by beginLuminosityBlock(), and setParams().
|
private |
Definition at line 46 of file LaserTask.h.
Referenced by filterRunType(), LaserTask(), runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
private |
Definition at line 53 of file LaserTask.h.
Referenced by runOnDigis(), and setParams().
|
private |
Definition at line 49 of file LaserTask.h.
Referenced by beginEvent(), runOnDigis(), runOnPnDigis(), and runOnUncalibRecHits().
|
private |
Definition at line 48 of file LaserTask.h.
Referenced by LaserTask(), runOnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
private |
Definition at line 47 of file LaserTask.h.
Referenced by LaserTask(), runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
private |
Definition at line 44 of file LaserTask.h.
Referenced by runOnDigis(), runOnPnDigis(), runOnRawData(), runOnUncalibRecHits(), and setParams().