#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::TimeValue_t | m_iTime |
edm::InputTag | metadataTag |
edm::EDGetTokenT< OnlineLuminosityRecord > | metaDataToken_ |
int | nEv |
float | recHitThreshold_ |
double | scal_pu |
float | tpThreshold_ |
Definition at line 17 of file OccupancyTask.h.
ecaldqm::OccupancyTask::OccupancyTask | ( | ) |
Definition at line 10 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 44 of file OccupancyTask.cc.
References ecaldqm::MESetCollection::at(), OnlineLuminosityRecord::avgPileUp(), 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_, m_iTime, ecaldqm::DQWorker::MEs_, metaDataToken_, 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 43 of file OccupancyTask.cc.
References FillLaser.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 104 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 31 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 117 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_, ecaldqm::DQWorker::onlineMode_, and ecaldqm::DQWorker::timestamp_.
Referenced by analyze().
void ecaldqm::OccupancyTask::runOnRawData | ( | EcalRawDataCollection const & | _dcchs | ) |
Definition at line 97 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 183 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 147 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().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 12 of file OccupancyTask.cc.
References l1extraParticles_cfi::_params, ecaldqm::MESetCollection::erase(), lumiCheck_, ecaldqm::DQWorker::MEs_, metadataTag, ecaldqm::DQWorker::onlineMode_, recHitThreshold_, AlCaHLTBitMon_QueryRunRegistry::string, and tpThreshold_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 26 of file OccupancyTask.cc.
References edm::ConsumesCollector::consumes(), edm::ConsumesCollector::esConsumes(), lasertoken_, metadataTag, and metaDataToken_.
|
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 42 of file OccupancyTask.h.
Referenced by beginEvent().
|
private |
Definition at line 43 of file OccupancyTask.h.
Referenced by setParams(), and setTokens().
|
private |
Definition at line 44 of file OccupancyTask.h.
Referenced by beginEvent(), and setTokens().
|
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().