8 : hitReadoutName_(
"CastorHits"),
11 castorAnalyzer_(
"CASTOR", 1., &simParameterMap_, &castorFilter_)
16 namespace CastorHitAnalyzerImpl {
17 template<
class Collection>
22 edm::LogError(
"CastorHitAnalyzer") <<
"Could not find Castor RecHitContainer ";
24 for(
unsigned i = 0 ;
i < recHits->size(); ++
i) {
34 e.
getByLabel(
"mix",
"g4SimHitsCastorFI", castorcf);
CastorHitAnalyzer(edm::ParameterSet const &conf)
void analyze(edm::Event const &e, CaloHitAnalyzer &analyzer)
void analyze(int detId, double recEnergy)
to be called for each RecHit
virtual void analyze(edm::Event const &e, edm::EventSetup const &c)
bool getByType(Handle< PROD > &result) const
void fillHits(MixCollection< PCaloHit > &hits)
should be called each event
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
CaloHitAnalyzer castorAnalyzer_
T const * product() const