CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloHitAnalyzer.h
Go to the documentation of this file.
1 #ifndef CaloSimAlgos_CaloHitAnalyzer_h
2 #define CaloSimAlgos_CaloHitAnalyzer_h
3 
4 #include <map>
5 #include <string>
8 
17 class CaloVHitFilter;
20 
21 
23 {
24 public:
25  CaloHitAnalyzer(const std::string & name,
26  double hitEnergyThreshold,
27  const CaloVSimParameterMap * parameterMap,
28  const CaloVHitFilter * filter = 0);
29 
31  void fillHits(MixCollection<PCaloHit> & hits);
32 
34  void analyze(int detId, double recEnergy);
35 
36 public:
37  std::map<int, double> hitEnergySumMap_;
43 };
44 
45 #endif
46 
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_
const CaloVSimParameterMap * simParameterMap_
void fillHits(MixCollection< PCaloHit > &hits)
should be called each event
std::map< int, double > hitEnergySumMap_