35 template <
typename DigiCollection>
71 switch (_collection) {
74 runOnRealTPs(*static_cast<EcalTrigPrimDigiCollection const*>(_p));
79 runOnEmulTPs(*static_cast<EcalTrigPrimDigiCollection const*>(_p));
84 runOnDigis(*static_cast<EBDigiCollection const*>(_p));
89 runOnDigis(*static_cast<EEDigiCollection const*>(_p));
const EcalTPGTowerStatus * TTStatus
void setParams(edm::ParameterSet const &) override
void beginRun(edm::Run const &, edm::EventSetup const &) override
void beginEvent(edm::Event const &, edm::EventSetup const &, bool const &, bool &) override
edm::ESGetToken< EcalTPGTowerStatus, EcalTPGTowerStatusRcd > TTStatusRcd_
std::vector< int > bxBinEdgesFine_
std::map< uint32_t, unsigned > towerReadouts_
edm::EDGetTokenT< TCDSRecord > lhcStatusInfoRecordToken_
void addDependencies(DependencySet &) override
void runOnEmulTPs(EcalTrigPrimDigiCollection const &)
edm::ESGetToken< EcalTPGStripStatus, EcalTPGStripStatusRcd > StripStatusRcd_
const EcalTPGStripStatus * StripStatus
void runOnDigis(DigiCollection const &)
EcalTrigPrimDigiCollection const * realTps_
void setTokens(edm::ConsumesCollector &) override
std::vector< int > bxBinEdges_
void runOnRealTPs(EcalTrigPrimDigiCollection const &)
bool analyze(void const *, Collections) override
edm::InputTag lhcStatusInfoCollectionTag_