Go to the documentation of this file. 1 #ifndef OccupancyTask_H
2 #define OccupancyTask_H
28 template <
typename DigiCollection>
45 switch (_collection) {
48 runOnRawData(*static_cast<EcalRawDataCollection const*>(_p));
52 runOnDigis(*static_cast<EBDigiCollection const*>(_p), _collection);
57 runOnDigis(*static_cast<EEDigiCollection const*>(_p), _collection);
62 runOnTPDigis(*static_cast<EcalTrigPrimDigiCollection const*>(_p));
68 runOnRecHits(*static_cast<EcalRecHitCollection const*>(_p), _collection);
~OccupancyTask() override
void setTokens(edm::ConsumesCollector &) override
void beginRun(edm::Run const &, edm::EventSetup const &) override
void runOnDigis(DigiCollection const &, Collections)
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > lasertoken_
void setParams(edm::ParameterSet const &) override
void runOnRawData(EcalRawDataCollection const &)
void runOnTPDigis(EcalTrigPrimDigiCollection const &)
void setEventTime(const edm::TimeValue_t &iTime)
bool filterRunType(short const *) override
bool analyze(void const *, Collections) override
void runOnRecHits(EcalRecHitCollection const &, Collections)
unsigned long long TimeValue_t
void beginEvent(edm::Event const &, edm::EventSetup const &, bool const &, bool &) override