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
CaloValidationStatistics
Definition: CaloValidationStatistics.h:12
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
CaloVSimParameterMap
Definition: CaloVSimParameterMap.h:7
CaloHitAnalyzer::hitEnergyThreshold_
double hitEnergyThreshold_
Definition: CaloHitAnalyzer.h:36
CaloValidationStatistics.h
CaloHitAnalyzer::hitEnergySumMap_
std::map< int, double > hitEnergySumMap_
Definition: CaloHitAnalyzer.h:35
MixCollection.h
MixCollection
Definition: MixCollection.h:10
CaloHitAnalyzer::fillHits
void fillHits(MixCollection< PCaloHit > &hits)
should be called each event
Definition: CaloHitAnalyzer.cc:22
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition: ALCARECOTkAlBeamHalo_cff.py:27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CaloHitAnalyzer
Definition: CaloHitAnalyzer.h:21
PCaloHit.h
CaloHitAnalyzer::summary_
CaloValidationStatistics summary_
Definition: CaloHitAnalyzer.h:39
CaloHitAnalyzer::simParameterMap_
const CaloVSimParameterMap * simParameterMap_
Definition: CaloHitAnalyzer.h:37
CaloHitAnalyzer::hitFilter_
const CaloVHitFilter * hitFilter_
Definition: CaloHitAnalyzer.h:38
CaloHitAnalyzer::analyze
void analyze(int detId, double recEnergy)
to be called for each RecHit
Definition: CaloHitAnalyzer.cc:47
CaloHitAnalyzer::noiseHits_
int noiseHits_
Definition: CaloHitAnalyzer.h:40
CaloHitAnalyzer::CaloHitAnalyzer
CaloHitAnalyzer(const std::string &name, double hitEnergyThreshold, const CaloVSimParameterMap *parameterMap, const CaloVHitFilter *filter=nullptr)
Definition: CaloHitAnalyzer.cc:10
CaloVHitFilter
Definition: CaloVHitFilter.h:6
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
PCaloHitContainer.h