CMS 3D CMS Logo

CaloHitAnalyzer.h
Go to the documentation of this file.
1 #ifndef CaloSimAlgos_CaloHitAnalyzer_h
2 #define CaloSimAlgos_CaloHitAnalyzer_h
3 
6 #include <map>
7 #include <string>
8 
17 class CaloVHitFilter;
20 
22 public:
24  double hitEnergyThreshold,
25  const CaloVSimParameterMap *parameterMap,
26  const CaloVHitFilter *filter = nullptr);
27 
30 
32  void analyze(int detId, double recEnergy);
33 
34 public:
35  std::map<int, double> hitEnergySumMap_;
41 };
42 
43 #endif
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_
const CaloVHitFilter * hitFilter_
const CaloVSimParameterMap * simParameterMap_
void fillHits(MixCollection< PCaloHit > &hits)
should be called each event
std::map< int, double > hitEnergySumMap_