8 : simParameterMap_(conf),
13 hbheAnalyzer_(
"HBHE", 1., &simParameterMap_, &hbheFilter_),
14 hoAnalyzer_(
"HO", 1., &simParameterMap_, &hoFilter_),
15 hfAnalyzer_(
"HF", 1., &simParameterMap_, &hfFilter_),
16 zdcAnalyzer_(
"ZDC", 1., &simParameterMap_, &zdcFilter_)
21 namespace HcalHitAnalyzerImpl {
22 template<
class Collection>
26 for(
unsigned i = 0 ;
i < recHits->size(); ++
i) {
46 HcalHitAnalyzerImpl::analyze<HBHERecHitCollection>(e,
hbheAnalyzer_);
47 HcalHitAnalyzerImpl::analyze<HORecHitCollection>(e,
hoAnalyzer_);
48 HcalHitAnalyzerImpl::analyze<HFRecHitCollection>(e,
hfAnalyzer_);
void analyze(int detId, double recEnergy)
to be called for each RecHit
CaloHitAnalyzer hfAnalyzer_
void analyze(edm::Event const &e, CaloHitAnalyzer &analyzer)
bool getByType(Handle< PROD > &result) const
HcalHitAnalyzer(edm::ParameterSet const &conf)
void fillHits(MixCollection< PCaloHit > &hits)
should be called each event
CaloHitAnalyzer hbheAnalyzer_
CaloHitAnalyzer hoAnalyzer_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual void analyze(edm::Event const &e, edm::EventSetup const &c)
T const * product() const