7 : simParameterMap_(conf),
12 hbheAnalyzer_(
"HBHE", 1., &simParameterMap_, &hbheFilter_),
13 hoAnalyzer_(
"HO", 1., &simParameterMap_, &hoFilter_),
14 hfAnalyzer_(
"HF", 1., &simParameterMap_, &hfFilter_),
15 zdcAnalyzer_(
"ZDC", 1., &simParameterMap_, &zdcFilter_),
16 hbheRecHitCollectionTag_(conf.getParameter<
edm::InputTag>(
"hbheRecHitCollectionTag")),
17 hoRecHitCollectionTag_(conf.getParameter<
edm::InputTag>(
"hoRecHitCollectionTag")),
18 hfRecHitCollectionTag_(conf.getParameter<
edm::InputTag>(
"hfRecHitCollectionTag")) {}
21 template <
class Collection>
25 for (
unsigned i = 0;
i < recHits->size(); ++
i) {
void analyze(int detId, double recEnergy)
to be called for each RecHit
void analyze(edm::Event const &e, edm::EventSetup const &c) override
CaloHitAnalyzer hfAnalyzer_
HcalHitAnalyzer(edm::ParameterSet const &conf)
edm::InputTag hbheRecHitCollectionTag_
edm::InputTag hoRecHitCollectionTag_
void fillHits(MixCollection< PCaloHit > &hits)
should be called each event
CaloHitAnalyzer hbheAnalyzer_
edm::InputTag hfRecHitCollectionTag_
CaloHitAnalyzer hoAnalyzer_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
T const * product() const