Go to the documentation of this file. 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);
bool analyze(void const *, Collections) override
void addDependencies(DependencySet &) override
std::vector< int > ZSFIRWeights_
void runOnDigis(DigiCollection const &, Collections)
edm::ESGetToken< EcalSRSettings, EcalSRSettingsRcd > hSr
std::set< std::pair< int, int > > suppressed_
void runOnSrFlags(SRFlagCollection const &, Collections)
void setFIRWeights_(std::vector< double > const &)
~SelectiveReadoutTask() override
void runOnRawData(EcalRawDataCollection const &)
void beginRun(edm::Run const &, edm::EventSetup const &) override
void runOnSource(FEDRawDataCollection const &)
void beginEvent(edm::Event const &, edm::EventSetup const &, bool const &, bool &) override
void setTokens(edm::ConsumesCollector &) override
void setParams(edm::ParameterSet const &) override
std::vector< short > flags_