11 double hitEnergyThreshold,
15 hitEnergyThreshold_(hitEnergyThreshold),
16 simParameterMap_(parameterMap),
18 summary_(name, 1., 0.),
28 for (; hitItr !=
last; ++hitItr) {
30 int id = hitItr->id();
41 mapItr->second += energy;
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_
virtual bool accepts(const PCaloHit &hit) const =0
void fillHits(MixCollection< PCaloHit > &hits)
should be called each event
void addEntry(float value, float weight=1.)
std::map< int, double > hitEnergySumMap_