#include <OccupancyTask.h>
Private Member Functions | |
void | setParams (edm::ParameterSet const &) override |
Private Attributes | |
bool | FillLaser = false |
bool | FindPUinLS = false |
edm::ESGetToken < EcalLaserDbService, EcalLaserDbRecord > | lasertoken_ |
bool | lumiCheck_ |
edm::EDGetTokenT < LumiScalersCollection > | lumiScalersToken_ |
edm::InputTag | lumiTag |
edm::TimeValue_t | m_iTime |
int | nEv |
float | recHitThreshold_ |
double | scal_pu |
float | tpThreshold_ |
Definition at line 17 of file OccupancyTask.h.
ecaldqm::OccupancyTask::OccupancyTask | ( | ) |
Definition at line 11 of file OccupancyTask.cc.
|
inlineoverride |
Definition at line 20 of file OccupancyTask.h.
|
inlineoverridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 51 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 45 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), ecaldqm::MESet::fill(), FillLaser, FindPUinLS, edm::Event::getByToken(), edm::EventSetup::getData(), ecaldqm::DQWorker::getEcalDQMSetupObjects(), ecaldqm::DQWorker::GetElectronicsMap(), mps_fire::i, edm::HandleBase::isValid(), EBDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, EcalCondDBWriter_cfi::laser, lasertoken_, lumiCheck_, lumiScalersToken_, m_iTime, ecaldqm::DQWorker::MEs_, nEv, ecaldqm::DQWorker::onlineMode_, ecaldqm::MESet::reset(), scal_pu, edm::EventBase::time(), EBDetId::unhashIndex(), EEDetId::unhashIndex(), EBDetId::validDenseIndex(), EEDetId::validDenseIndex(), and edm::Timestamp::value().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 44 of file OccupancyTask.cc.
References FillLaser.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 106 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), EcalBarrel, ecaldqm::MESet::fill(), ecaldqm::DQWorker::getEcalDQMSetupObjects(), ecaldqm::DQWorker::Timestamp::iLumi, ecaldqm::DQWorker::MEs_, nEv, ecaldqm::DQWorker::onlineMode_, scal_pu, and ecaldqm::DQWorker::timestamp_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 32 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 119 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), EcalBarrel, EcalEndcap, ecaldqm::DQWorker::getEcalDQMSetupObjects(), gpuClustering::id, ecaldqm::DQWorker::Timestamp::iLumi, ecaldqm::kEBDigi, ecaldqm::DQWorker::MEs_, ecaldqm::DQWorker::onlineMode_, and ecaldqm::DQWorker::timestamp_.
Referenced by analyze().
void ecaldqm::OccupancyTask::runOnRawData | ( | EcalRawDataCollection const & | _dcchs | ) |
Definition at line 99 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 185 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), edm::SortedCollection< T, SORT >::begin(), EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), ecaldqm::DQWorker::getEcalDQMSetupObjects(), gpuClustering::id, hit::id, ecaldqm::DQWorker::Timestamp::iLumi, ecaldqm::kEBRecHit, EcalRecHit::kGood, ecaldqm::DQWorker::MEs_, recHitThreshold_, ecaldqm::DQWorker::timestamp_, and ecaldqm::zside().
Referenced by analyze().
void ecaldqm::OccupancyTask::runOnTPDigis | ( | EcalTrigPrimDigiCollection const & | _digis | ) |
Definition at line 149 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), edm::SortedCollection< T, SORT >::begin(), EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), ecaldqm::DQWorker::getEcalDQMSetupObjects(), gpuClustering::id, ecaldqm::DQWorker::Timestamp::iLumi, ecaldqm::DQWorker::MEs_, ecaldqm::DQWorker::timestamp_, and tpThreshold_.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 13 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::erase(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), lumiCheck_, lumiTag, ecaldqm::DQWorker::MEs_, ecaldqm::DQWorker::onlineMode_, recHitThreshold_, AlCaHLTBitMon_QueryRunRegistry::string, and tpThreshold_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 27 of file OccupancyTask.cc.
References edm::ConsumesCollector::consumes(), edm::ConsumesCollector::esConsumes(), lasertoken_, lumiScalersToken_, and lumiTag.
|
private |
Definition at line 39 of file OccupancyTask.h.
Referenced by beginEvent(), and beginRun().
|
private |
Definition at line 46 of file OccupancyTask.h.
Referenced by beginEvent().
|
private |
Definition at line 38 of file OccupancyTask.h.
Referenced by beginEvent(), and setTokens().
|
private |
Definition at line 48 of file OccupancyTask.h.
Referenced by beginEvent(), and setParams().
|
private |
Definition at line 44 of file OccupancyTask.h.
Referenced by beginEvent(), and setTokens().
|
private |
Definition at line 43 of file OccupancyTask.h.
Referenced by setParams(), and setTokens().
|
private |
Definition at line 42 of file OccupancyTask.h.
Referenced by beginEvent().
|
private |
Definition at line 47 of file OccupancyTask.h.
Referenced by beginEvent(), and endLuminosityBlock().
|
private |
Definition at line 40 of file OccupancyTask.h.
Referenced by runOnRecHits(), and setParams().
|
private |
Definition at line 45 of file OccupancyTask.h.
Referenced by beginEvent(), and endLuminosityBlock().
|
private |
Definition at line 41 of file OccupancyTask.h.
Referenced by runOnTPDigis(), and setParams().