1 #ifndef OccupancyTask_H 2 #define OccupancyTask_H 23 template <
typename DigiCollection>
36 switch (_collection) {
39 runOnRawData(*static_cast<EcalRawDataCollection const*>(_p));
43 runOnDigis(*static_cast<EBDigiCollection const*>(_p), _collection);
48 runOnDigis(*static_cast<EEDigiCollection const*>(_p), _collection);
53 runOnTPDigis(*static_cast<EcalTrigPrimDigiCollection const*>(_p));
59 runOnRecHits(*static_cast<EcalRecHitCollection const*>(_p), _collection);
void runOnRecHits(EcalRecHitCollection const &, Collections)
void runOnRawData(EcalRawDataCollection const &)
void runOnDigis(DigiCollection const &, Collections)
bool analyze(void const *, Collections) override
void runOnTPDigis(EcalTrigPrimDigiCollection const &)
~OccupancyTask() override
void setParams(edm::ParameterSet const &) override
bool filterRunType(short const *) override
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override