8 : hitReadoutName_(
"CastorHits"),
10 castorHitAnalyzer_(
"CASTORDigi", 1., &simParameterMap_, &castorFilter_),
11 castorDigiStatistics_(
"CASTORDigi", 3, 10., 6., 0.1, 0.5, castorHitAnalyzer_),
12 castorDigiCollectionTag_(conf.getParameter<
edm::InputTag>(
"castorDigiCollectionTag"))
18 template<
class Collection>
23 edm::LogError(
"CastorDigiAnalyzer") <<
"Could not find Castor Digi Container ";
25 for(
unsigned i = 0;
i < digis->size(); ++
i) {
37 e.
getByLabel(
"mix",
"g4SimHitsCastorFI", castorcf);
CaloHitAnalyzer castorHitAnalyzer_
CastorDigiStatistics castorDigiStatistics_
void fillHits(MixCollection< PCaloHit > &hits)
should be called each event
edm::InputTag castorDigiCollectionTag_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
T const * product() const
void analyze(const Digi &digi)
CastorDigiAnalyzer(edm::ParameterSet const &conf)
void analyze(edm::Event const &e, edm::EventSetup const &c) override