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