Go to the documentation of this file. 1 #ifndef OccupancyTask_H
2 #define OccupancyTask_H
28 template <
typename DigiCollection>
44 switch (_collection) {
47 runOnRawData(*static_cast<EcalRawDataCollection const*>(_p));
51 runOnDigis(*static_cast<EBDigiCollection const*>(_p), _collection);
56 runOnDigis(*static_cast<EEDigiCollection const*>(_p), _collection);
61 runOnTPDigis(*static_cast<EcalTrigPrimDigiCollection const*>(_p));
67 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 &)
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