#include <LedTask.h>
Private Member Functions | |
void | setParams (edm::ParameterSet const &) override |
Private Attributes | |
int | emptyLS_ |
int | emptyLSLimit_ |
bool | enable_ [nEEDCC] |
int | isemptyLS |
std::map< unsigned, float > | pnAmp_ |
unsigned | rtHalf_ [nEEDCC] |
unsigned | wavelength_ [nEEDCC] |
std::map< int, unsigned > | wlToME_ |
Additional Inherited Members | |
Public Types inherited from ecaldqm::DQWorkerTask | |
typedef EcalDCCHeaderBlock::EcalDCCEventSettings | EventSettings |
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_ |
ecaldqm::LedTask::LedTask | ( | ) |
Definition at line 9 of file LedTask.cc.
References enable_, ecaldqm::nEEDCC, rtHalf_, and wavelength_.
|
inline |
Definition at line 17 of file LedTask.h.
References addDependencies(), analyze(), beginEvent(), beginLuminosityBlock(), beginRun(), endLuminosityBlock(), filterRunType(), runOnDigis(), runOnPnDigis(), runOnRawData(), runOnUncalibRecHits(), and setParams().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 41 of file LedTask.cc.
References ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEELaserLedUncalibRecHit, ecaldqm::kPnDiodeDigi, and ecaldqm::DependencySet::push_back().
Referenced by ~LedTask().
|
inlineoverridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 50 of file LedTask.h.
References ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEELaserLedUncalibRecHit, ecaldqm::kPnDiodeDigi, runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
Referenced by ~LedTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 82 of file LedTask.cc.
References pnAmp_.
Referenced by ~LedTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 75 of file LedTask.cc.
References emptyLS_, emptyLSLimit_, and isemptyLS.
Referenced by ~LedTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 69 of file LedTask.cc.
References emptyLS_.
Referenced by ~LedTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 340 of file LedTask.cc.
References DEFINE_ECALDQM_WORKER, emptyLS_, and isemptyLS.
Referenced by ~LedTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 49 of file LedTask.cc.
References Reconstruction_hiPF_cff::enable, enable_, diffTreeTool::index, ecaldqm::kEBmLow, ecaldqm::kEBpHigh, ecaldqm::kEEmHigh, EcalDCCHeaderBlock::LED_GAP, EcalDCCHeaderBlock::LED_STD, ecaldqm::nDCC, and ecaldqm::nEBDCC.
Referenced by ~LedTask().
void ecaldqm::LedTask::runOnDigis | ( | EEDigiCollection const & | _digis | ) |
Definition at line 136 of file LedTask.cc.
References ecalMGPA::adc(), EcalMGPASample::adc(), edm::DataFrameContainer::begin(), ecaldqm::dccId(), emptyLS_, Reconstruction_hiPF_cff::enable, enable_, edm::DataFrameContainer::end(), ecaldqm::MESetMulti::fill(), mps_fire::i, hcalTTPDigis_cfi::id, diffTreeTool::index, isemptyLS, ecaldqm::kEBmLow, ecaldqm::kEBpHigh, ecaldqm::kEEmHigh, hpstanc_transforms::max, ecaldqm::DQWorker::MEs_, min(), ecaldqm::nEBDCC, ecaldqm::nEEDCC, DetId::null(), pnAmp_, ecaldqm::pnForCrystal(), DetId::rawId(), ecaldqm::rtHalf(), rtHalf_, EcalDataFrame::sample(), electronIdCutBased_cfi::threshold, wavelength_, and wlToME_.
Referenced by analyze(), and ~LedTask().
void ecaldqm::LedTask::runOnPnDigis | ( | EcalPnDiodeDigiCollection const & | _digis | ) |
Definition at line 249 of file LedTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), edm::SortedCollection< T, SORT >::end(), ecaldqm::MESetMulti::fill(), hcalTTPDigis_cfi::id, diffTreeTool::index, ecaldqm::kEBmLow, ecaldqm::kEBpHigh, ecaldqm::kEEmHigh, hpstanc_transforms::max, ecaldqm::DQWorker::MEs_, ecaldqm::nEBDCC, muonCSCDigis_cfi::pedestal, pnAmp_, wavelength_, and wlToME_.
Referenced by analyze(), and ~LedTask().
void ecaldqm::LedTask::runOnRawData | ( | EcalRawDataCollection const & | _rawData | ) |
Definition at line 88 of file LedTask.cc.
References edm::SortedCollection< T, SORT >::begin(), enable_, edm::SortedCollection< T, SORT >::end(), diffTreeTool::index, ecaldqm::kEBmLow, ecaldqm::kEBpHigh, ecaldqm::kEEmHigh, ecaldqm::DQWorker::MEs_, ecaldqm::nEBDCC, ecaldqm::nEEDCC, rtHalf_, wavelength_, and wlToME_.
Referenced by analyze(), and ~LedTask().
void ecaldqm::LedTask::runOnUncalibRecHits | ( | EcalUncalibratedRecHitCollection const & | _uhits | ) |
Definition at line 290 of file LedTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), enable_, edm::SortedCollection< T, SORT >::end(), ecaldqm::MESetMulti::fill(), hcalTTPDigis_cfi::id, diffTreeTool::index, ecaldqm::kEBmLow, ecaldqm::kEBpHigh, ecaldqm::kEEmHigh, hpstanc_transforms::max, ecaldqm::DQWorker::MEs_, ecaldqm::nEBDCC, pnAmp_, ecaldqm::pnForCrystal(), ecaldqm::rtHalf(), rtHalf_, wavelength_, and wlToME_.
Referenced by analyze(), and ~LedTask().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 22 of file LedTask.cc.
References CustomPhysics_cfi::amplitude, emptyLSLimit_, Exception, ecaldqm::MESetMulti::getIndex(), edm::ParameterSet::getUntrackedParameter(), ecaldqm::DQWorker::MEs_, and wlToME_.
Referenced by ~LedTask().
|
private |
Definition at line 45 of file LedTask.h.
Referenced by beginLuminosityBlock(), beginRun(), endLuminosityBlock(), and runOnDigis().
|
private |
Definition at line 46 of file LedTask.h.
Referenced by beginLuminosityBlock(), and setParams().
|
private |
Definition at line 40 of file LedTask.h.
Referenced by filterRunType(), LedTask(), runOnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
private |
Definition at line 47 of file LedTask.h.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), and runOnDigis().
|
private |
Definition at line 43 of file LedTask.h.
Referenced by beginEvent(), runOnDigis(), runOnPnDigis(), and runOnUncalibRecHits().
|
private |
Definition at line 42 of file LedTask.h.
Referenced by LedTask(), runOnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
private |
Definition at line 41 of file LedTask.h.
Referenced by LedTask(), runOnDigis(), runOnPnDigis(), runOnRawData(), and runOnUncalibRecHits().
|
private |
Definition at line 38 of file LedTask.h.
Referenced by runOnDigis(), runOnPnDigis(), runOnRawData(), runOnUncalibRecHits(), and setParams().