11 double hitEnergyThreshold,
15 hitEnergyThreshold_(hitEnergyThreshold),
16 simParameterMap_(parameterMap),
18 summary_(name, 1., 0.),
28 for (; hitItr !=
last; ++hitItr) {
30 int id = hitItr->id();
33 double samplingFactor = 1.;
34 double energy = hitItr->energy() * samplingFactor;
double hitEnergyThreshold_
void analyze(int detId, double recEnergy)
to be called for each RecHit
CaloHitAnalyzer(const std::string &name, double hitEnergyThreshold, const CaloVSimParameterMap *parameterMap, const CaloVHitFilter *filter=nullptr)
CaloValidationStatistics summary_
uint16_t *__restrict__ id
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_