#include <OccupancyTask.h>
Public Member Functions | |
bool | analyze (void const *, Collections) override |
void | beginEvent (edm::Event const &, edm::EventSetup const &, bool const &, bool &) override |
bool | filterRunType (short const *) override |
OccupancyTask () | |
template<typename DigiCollection > | |
void | runOnDigis (DigiCollection const &, Collections) |
void | runOnRawData (EcalRawDataCollection const &) |
void | runOnRecHits (EcalRecHitCollection const &, Collections) |
void | runOnTPDigis (EcalTrigPrimDigiCollection const &) |
~OccupancyTask () override | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
virtual void | addDependencies (DependencySet &) |
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 | 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 &) |
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 | |
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 11 of file OccupancyTask.h.
ecaldqm::OccupancyTask::OccupancyTask | ( | ) |
Definition at line 9 of file OccupancyTask.cc.
|
inlineoverride |
Definition at line 14 of file OccupancyTask.h.
|
inlineoverridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 35 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 28 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), ecaldqm::DQWorker::MEs_, and ecaldqm::MESet::reset().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 16 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 47 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), TrendClient_cfi::Digi, EcalBarrel, EcalEndcap, 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 39 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), ecaldqm::MESet::fill(), and ecaldqm::DQWorker::MEs_.
Referenced by analyze().
void ecaldqm::OccupancyTask::runOnRecHits | ( | EcalRecHitCollection const & | _hits, |
Collections | _collection | ||
) |
Definition at line 108 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), edm::SortedCollection< T, SORT >::begin(), EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), 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 72 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), edm::SortedCollection< T, SORT >::begin(), EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), triggerObjects_cff::id, ecaldqm::DQWorker::Timestamp::iLumi, ecaldqm::DQWorker::MEs_, ecaldqm::DQWorker::timestamp_, and tpThreshold_.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 11 of file OccupancyTask.cc.
References l1extraParticles_cfi::_params, recHitThreshold_, and tpThreshold_.
|
private |
Definition at line 31 of file OccupancyTask.h.
Referenced by runOnRecHits(), and setParams().
|
private |
Definition at line 32 of file OccupancyTask.h.
Referenced by runOnTPDigis(), and setParams().