11 double hitEnergyThreshold,
15 hitEnergyThreshold_(hitEnergyThreshold),
16 simParameterMap_(parameterMap),
18 summary_(name, 1., 0.),
31 for( ; hitItr !=
last; ++hitItr)
34 int id = hitItr->id();
36 double samplingFactor = 1.;
37 double energy = hitItr->energy() * samplingFactor;
double hitEnergyThreshold_
CaloHitAnalyzer(const std::string &name, double hitEnergyThreshold, const CaloVSimParameterMap *parameterMap, const CaloVHitFilter *filter=0)
void analyze(int detId, double recEnergy)
to be called for each RecHit
CaloValidationStatistics summary_
const CaloVHitFilter * hitFilter_
void fillHits(MixCollection< PCaloHit > &hits)
should be called each event
virtual bool accepts(const PCaloHit &hit) const =0
void addEntry(float value, float weight=1.)
std::map< int, double > hitEnergySumMap_