34 template <
typename DigiCollection>
67 switch (_collection) {
70 runOnRealTPs(*static_cast<EcalTrigPrimDigiCollection const*>(_p));
75 runOnEmulTPs(*static_cast<EcalTrigPrimDigiCollection const*>(_p));
80 runOnDigis(*static_cast<EBDigiCollection const*>(_p));
85 runOnDigis(*static_cast<EEDigiCollection const*>(_p));
void beginEvent(edm::Event const &, edm::EventSetup const &) override
void setParams(edm::ParameterSet const &) override
void beginRun(edm::Run const &, edm::EventSetup const &) override
edm::ESHandle< EcalTPGTowerStatus > TTStatusRcd
std::map< uint32_t, unsigned > towerReadouts_
edm::EDGetTokenT< TCDSRecord > lhcStatusInfoRecordToken_
std::array< int, nBXBins+1 > bxBinEdges_
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
void addDependencies(DependencySet &) override
void runOnEmulTPs(EcalTrigPrimDigiCollection const &)
void runOnDigis(DigiCollection const &)
EcalTrigPrimDigiCollection const * realTps_
void setTokens(edm::ConsumesCollector &) override
edm::ESHandle< EcalTPGStripStatus > StripStatusRcd
void runOnRealTPs(EcalTrigPrimDigiCollection const &)
bool analyze(void const *, Collections) override
edm::InputTag lhcStatusInfoCollectionTag_