7 : hitReadoutName_(
"CastorHits"),
9 castorHitAnalyzer_(
"CASTORDigi", 1., &simParameterMap_, &castorFilter_),
10 castorDigiStatistics_(
"CASTORDigi", 3, 10., 6., 0.1, 0.5, castorHitAnalyzer_),
11 castorDigiCollectionTag_(conf.getParameter<
edm::InputTag>(
"castorDigiCollectionTag")) {}
14 template <
class Collection>
19 edm::LogError(
"CastorDigiAnalyzer") <<
"Could not find Castor Digi Container ";
21 for (
unsigned i = 0;
i < digis->size(); ++
i) {
32 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