1 #ifndef SelectiveReadoutTask_H
2 #define SelectiveReadoutTask_H
34 template <
typename SRFlagCollection>
36 template <
typename DigiCollection>
61 switch (_collection) {
64 runOnSource(*static_cast<FEDRawDataCollection const*>(_p));
69 runOnRawData(*static_cast<EcalRawDataCollection const*>(_p));
74 runOnSrFlags(*static_cast<EBSrFlagCollection const*>(_p), _collection);
79 runOnSrFlags(*static_cast<EESrFlagCollection const*>(_p), _collection);
84 runOnDigis(*static_cast<EBDigiCollection const*>(_p), _collection);
89 runOnDigis(*static_cast<EEDigiCollection const*>(_p), _collection);
std::vector< short > flags_
void runOnDigis(DigiCollection const &, Collections)
void setFIRWeights_(std::vector< double > const &)
bool analyze(void const *, Collections) override
void runOnRawData(EcalRawDataCollection const &)
void setParams(edm::ParameterSet const &) override
void addDependencies(DependencySet &) override
void beginRun(edm::Run const &, edm::EventSetup const &) override
~SelectiveReadoutTask() override
void runOnSrFlags(SRFlagCollection const &, Collections)
edm::ESGetToken< EcalSRSettings, EcalSRSettingsRcd > hSr
void beginEvent(edm::Event const &, edm::EventSetup const &, bool const &, bool &) override
void runOnSource(FEDRawDataCollection const &)
void setTokens(edm::ConsumesCollector &) override
std::set< std::pair< int, int > > suppressed_
std::vector< int > ZSFIRWeights_