1 #ifndef OccupancyTask_H 2 #define OccupancyTask_H 29 template <
typename DigiCollection>
52 switch (_collection) {
55 runOnRawData(*static_cast<EcalRawDataCollection const*>(_p));
59 runOnDigis(*static_cast<EBDigiCollection const*>(_p), _collection);
64 runOnDigis(*static_cast<EEDigiCollection const*>(_p), _collection);
69 runOnTPDigis(*static_cast<EcalTrigPrimDigiCollection const*>(_p));
75 runOnRecHits(*static_cast<EcalRecHitCollection const*>(_p), _collection);
void runOnRecHits(EcalRecHitCollection const &, Collections)
edm::InputTag metadataTag
void runOnRawData(EcalRawDataCollection const &)
void runOnDigis(DigiCollection const &, Collections)
void beginRun(edm::Run const &, edm::EventSetup const &) override
bool analyze(void const *, Collections) override
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
void runOnTPDigis(EcalTrigPrimDigiCollection const &)
~OccupancyTask() override
void setTokens(edm::ConsumesCollector &) override
unsigned long long TimeValue_t
void setParams(edm::ParameterSet const &) override
void beginEvent(edm::Event const &, edm::EventSetup const &, bool const &, bool &) override
bool filterRunType(short const *) override
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > lasertoken_
edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_