#include <OccupancyTask.h>
Private Member Functions | |
void | setParams (edm::ParameterSet const &) override |
Private Attributes | |
bool | FillLaser = false |
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > | lasertoken_ |
edm::TimeValue_t | m_iTime |
float | recHitThreshold_ |
float | tpThreshold_ |
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 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 16 of file OccupancyTask.h.
ecaldqm::OccupancyTask::OccupancyTask | ( | ) |
Definition at line 8 of file OccupancyTask.cc.
|
inlineoverride |
Definition at line 19 of file OccupancyTask.h.
|
inlineoverridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 44 of file OccupancyTask.h.
References ecaldqm::kEBDigi, ecaldqm::kEBRecHit, ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEERecHit, ecaldqm::kTrigPrimDigi, runOnDigis(), runOnRawData(), runOnRecHits(), and runOnTPDigis().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 31 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), FillLaser, edm::EventSetup::getData(), ecaldqm::DQWorker::getEcalDQMSetupObjects(), ecaldqm::DQWorker::GetElectronicsMap(), mps_fire::i, EBDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, EcalCondDBWriter_cfi::laser, lasertoken_, m_iTime, ecaldqm::DQWorker::MEs_, ecaldqm::MESet::reset(), EBDetId::unhashIndex(), EEDetId::unhashIndex(), EBDetId::validDenseIndex(), and EEDetId::validDenseIndex().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 29 of file OccupancyTask.cc.
References FillLaser.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 17 of file OccupancyTask.cc.
References EcalDCCHeaderBlock::COSMIC, EcalDCCHeaderBlock::COSMICS_GLOBAL, EcalDCCHeaderBlock::COSMICS_LOCAL, EcalDCCHeaderBlock::MTCC, EcalDCCHeaderBlock::PHYSICS_GLOBAL, and EcalDCCHeaderBlock::PHYSICS_LOCAL.
void ecaldqm::OccupancyTask::runOnDigis | ( | DigiCollection const & | _digis, |
Collections | _collection | ||
) |
Definition at line 73 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), TrendClient_cfi::Digi, EcalBarrel, EcalEndcap, ecaldqm::DQWorker::getEcalDQMSetupObjects(), triggerObjects_cff::id, ecaldqm::DQWorker::Timestamp::iLumi, ecaldqm::kEBDigi, ecaldqm::DQWorker::MEs_, and ecaldqm::DQWorker::timestamp_.
Referenced by analyze().
void ecaldqm::OccupancyTask::runOnRawData | ( | EcalRawDataCollection const & | _dcchs | ) |
Definition at line 65 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), ecaldqm::MESet::fill(), ecaldqm::DQWorker::getEcalDQMSetupObjects(), and ecaldqm::DQWorker::MEs_.
Referenced by analyze().
void ecaldqm::OccupancyTask::runOnRecHits | ( | EcalRecHitCollection const & | _hits, |
Collections | _collection | ||
) |
Definition at line 134 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), edm::SortedCollection< T, SORT >::begin(), EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), ecaldqm::DQWorker::getEcalDQMSetupObjects(), triggerObjects_cff::id, hit::id, ecaldqm::DQWorker::Timestamp::iLumi, LEDCalibrationChannels::iphi, ecaldqm::kEBRecHit, EcalRecHit::kGood, ecaldqm::DQWorker::MEs_, recHitThreshold_, ecaldqm::DQWorker::timestamp_, testProducerWithPsetDescEmpty_cfi::x1, and ecaldqm::zside().
Referenced by analyze().
void ecaldqm::OccupancyTask::runOnTPDigis | ( | EcalTrigPrimDigiCollection const & | _digis | ) |
Definition at line 98 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), edm::SortedCollection< T, SORT >::begin(), EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), ecaldqm::DQWorker::getEcalDQMSetupObjects(), triggerObjects_cff::id, ecaldqm::DQWorker::Timestamp::iLumi, ecaldqm::DQWorker::MEs_, ecaldqm::DQWorker::timestamp_, and tpThreshold_.
Referenced by analyze().
void ecaldqm::OccupancyTask::setEventTime | ( | const edm::TimeValue_t & | iTime | ) |
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 10 of file OccupancyTask.cc.
References l1extraParticles_cfi::_params, recHitThreshold_, and tpThreshold_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 15 of file OccupancyTask.cc.
References edm::ConsumesCollector::esConsumes(), and lasertoken_.
|
private |
Definition at line 38 of file OccupancyTask.h.
Referenced by beginEvent(), and beginRun().
|
private |
Definition at line 37 of file OccupancyTask.h.
Referenced by beginEvent(), and setTokens().
|
private |
Definition at line 41 of file OccupancyTask.h.
Referenced by beginEvent(), and setEventTime().
|
private |
Definition at line 39 of file OccupancyTask.h.
Referenced by runOnRecHits(), and setParams().
|
private |
Definition at line 40 of file OccupancyTask.h.
Referenced by runOnTPDigis(), and setParams().