#include <CaloHitAnalyzer.h>
Public Member Functions | |
void | analyze (int detId, double recEnergy) |
to be called for each RecHit More... | |
CaloHitAnalyzer (const std::string &name, double hitEnergyThreshold, const CaloVSimParameterMap *parameterMap, const CaloVHitFilter *filter=0) | |
void | fillHits (MixCollection< PCaloHit > &hits) |
should be called each event More... | |
Public Attributes | |
std::map< int, double > | hitEnergySumMap_ |
double | hitEnergyThreshold_ |
const CaloVHitFilter * | hitFilter_ |
int | noiseHits_ |
const CaloVSimParameterMap * | simParameterMap_ |
CaloValidationStatistics | summary_ |
Definition at line 22 of file CaloHitAnalyzer.h.
CaloHitAnalyzer::CaloHitAnalyzer | ( | const std::string & | name, |
double | hitEnergyThreshold, | ||
const CaloVSimParameterMap * | parameterMap, | ||
const CaloVHitFilter * | filter = 0 |
||
) |
Definition at line 10 of file CaloHitAnalyzer.cc.
void CaloHitAnalyzer::analyze | ( | int | detId, |
double | recEnergy | ||
) |
to be called for each RecHit
Definition at line 51 of file CaloHitAnalyzer.cc.
References CaloValidationStatistics::addEntry(), hitEnergySumMap_, hitEnergyThreshold_, noiseHits_, and summary_.
Referenced by CastorHitAnalyzerImpl::analyze(), HcalHitAnalyzerImpl::analyze(), HcalDigiStatistics::analyze(), and CastorDigiStatistics::analyze().
void CaloHitAnalyzer::fillHits | ( | MixCollection< PCaloHit > & | hits | ) |
should be called each event
Definition at line 25 of file CaloHitAnalyzer.cc.
References CaloVHitFilter::accepts(), MixCollection< T >::begin(), MixCollection< T >::end(), relval_parameters_module::energy, hitEnergySumMap_, hitFilter_, errorMatrix2Lands_multiChannel::id, prof2calltree::last, and noiseHits_.
Referenced by CastorHitAnalyzer::analyze(), CastorDigiAnalyzer::analyze(), HcalHitAnalyzer::analyze(), and HcalDigiAnalyzer::analyze().
std::map<int, double> CaloHitAnalyzer::hitEnergySumMap_ |
Definition at line 37 of file CaloHitAnalyzer.h.
Referenced by analyze(), and fillHits().
double CaloHitAnalyzer::hitEnergyThreshold_ |
Definition at line 38 of file CaloHitAnalyzer.h.
Referenced by analyze().
const CaloVHitFilter* CaloHitAnalyzer::hitFilter_ |
Definition at line 40 of file CaloHitAnalyzer.h.
Referenced by fillHits().
int CaloHitAnalyzer::noiseHits_ |
Definition at line 42 of file CaloHitAnalyzer.h.
Referenced by analyze(), and fillHits().
const CaloVSimParameterMap* CaloHitAnalyzer::simParameterMap_ |
Definition at line 39 of file CaloHitAnalyzer.h.
CaloValidationStatistics CaloHitAnalyzer::summary_ |
Definition at line 41 of file CaloHitAnalyzer.h.
Referenced by analyze().