#include <PedestalTask.h>
Public Member Functions | |
bool | analyze (void const *, Collections) override |
bool | filterRunType (short const *) override |
PedestalTask () | |
template<typename DigiCollection > | |
void | runOnDigis (DigiCollection const &) |
void | runOnPnDigis (EcalPnDiodeDigiCollection const &) |
~PedestalTask () | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
virtual void | addDependencies (DependencySet &) |
virtual void | beginEvent (edm::Event const &, edm::EventSetup const &) |
DQWorkerTask () | |
virtual void | endEvent (edm::Event const &, edm::EventSetup const &) |
virtual bool | filterTrigger (edm::TriggerResultsByName const &) |
void | recoverStats () |
virtual void | setTokens (edm::ConsumesCollector &) |
void | softReset () |
virtual | ~DQWorkerTask () |
Public Member Functions inherited from ecaldqm::DQWorker | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | bookMEs (DQMStore::IBooker &) |
DQWorker () | |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
std::string const & | 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 ()(false) |
Private Member Functions | |
void | setParams (edm::ParameterSet const &) override |
Private Attributes | |
bool | enable_ [nDCC] |
std::map< int, unsigned > | gainToME_ |
std::map< int, unsigned > | pnGainToME_ |
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_ |
Definition at line 12 of file PedestalTask.h.
PedestalTask::PedestalTask | ( | ) |
Definition at line 14 of file PedestalTask.cc.
References enable_, and ecaldqm::nDCC.
|
inline |
Definition at line 15 of file PedestalTask.h.
References analyze(), filterRunType(), runOnDigis(), runOnPnDigis(), and setParams().
|
inlineoverridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 33 of file PedestalTask.h.
References ecaldqm::kEBDigi, ecaldqm::kEEDigi, ecaldqm::kPnDiodeDigi, runOnDigis(), and runOnPnDigis().
Referenced by ~PedestalTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 52 of file PedestalTask.cc.
References Reconstruction_hiPF_cff::enable, enable_, ecaldqm::nDCC, EcalDCCHeaderBlock::PEDESTAL_GAP, and EcalDCCHeaderBlock::PEDESTAL_STD.
Referenced by ~PedestalTask().
void PedestalTask::runOnDigis | ( | DigiCollection const & | _digis | ) |
Definition at line 71 of file PedestalTask.cc.
References EcalMGPASample::adc(), ecaldqm::dccId(), enable_, ecaldqm::MESetMulti::fill(), muonCSCDigis_cfi::gain, EcalMGPASample::gainId(), gainToME_, triggerObjects_cff::id, EcalDataFrame::MAXSAMPLES, ecaldqm::DQWorker::MEs_, and EcalDataFrame::sample().
Referenced by analyze(), and ~PedestalTask().
void PedestalTask::runOnPnDigis | ( | EcalPnDiodeDigiCollection const & | _digis | ) |
Definition at line 111 of file PedestalTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), DEFINE_ECALDQM_WORKER, enable_, edm::SortedCollection< T, SORT >::end(), ecaldqm::MESetMulti::fill(), muonCSCDigis_cfi::gain, triggerObjects_cff::id, ecaldqm::DQWorker::MEs_, and pnGainToME_.
Referenced by analyze(), and ~PedestalTask().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 23 of file PedestalTask.cc.
References Exception, muonCSCDigis_cfi::gain, gainToME_, ecaldqm::MESetMulti::getIndex(), edm::ParameterSet::getUntrackedParameter(), ecaldqm::DQWorker::MEs_, muonCSCDigis_cfi::pedestal, and pnGainToME_.
Referenced by ~PedestalTask().
|
private |
Definition at line 30 of file PedestalTask.h.
Referenced by filterRunType(), PedestalTask(), runOnDigis(), and runOnPnDigis().
|
private |
Definition at line 27 of file PedestalTask.h.
Referenced by runOnDigis(), and setParams().
|
private |
Definition at line 28 of file PedestalTask.h.
Referenced by runOnPnDigis(), and setParams().