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);