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_),
17 hbheRecHitCollectionTag_(conf.getParameter<edm::
InputTag>(
"hbheRecHitCollectionTag")),
18 hoRecHitCollectionTag_(conf.getParameter<edm::
InputTag>(
"hoRecHitCollectionTag")),
19 hfRecHitCollectionTag_(conf.getParameter<edm::
InputTag>(
"hfRecHitCollectionTag"))
24 namespace HcalHitAnalyzerImpl {
25 template<
class Collection>
29 for(
unsigned i = 0 ;
i < recHits->size(); ++
i) {
void analyze(edm::Event const &e, CaloHitAnalyzer &analyzer, edm::InputTag &tag)
void analyze(int detId, double recEnergy)
to be called for each RecHit
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
virtual void analyze(edm::Event const &e, edm::EventSetup const &c)
T const * product() const