1 #ifndef SelectiveReadoutTask_H
2 #define SelectiveReadoutTask_H
32 template <
typename SRFlagCollection>
34 template <
typename DigiCollection>
57 switch (_collection) {
60 runOnSource(*static_cast<FEDRawDataCollection const*>(_p));
65 runOnRawData(*static_cast<EcalRawDataCollection const*>(_p));
70 runOnSrFlags(*static_cast<EBSrFlagCollection const*>(_p), _collection);
75 runOnSrFlags(*static_cast<EESrFlagCollection const*>(_p), _collection);
80 runOnDigis(*static_cast<EBDigiCollection const*>(_p), _collection);
85 runOnDigis(*static_cast<EEDigiCollection const*>(_p), _collection);