SimCalorimetry
CaloSimAlgos
interface
CaloHitAnalyzer.h
Go to the documentation of this file.
1
#ifndef CaloSimAlgos_CaloHitAnalyzer_h
2
#define CaloSimAlgos_CaloHitAnalyzer_h
3
4
#include "
SimCalorimetry/CaloSimAlgos/interface/CaloValidationStatistics.h
"
5
#include "
SimDataFormats/CaloHit/interface/PCaloHitContainer.h
"
6
#include <map>
7
#include <string>
8
16
class
CaloVSimParameterMap
;
17
class
CaloVHitFilter
;
18
#include "
SimDataFormats/CaloHit/interface/PCaloHit.h
"
19
#include "
SimDataFormats/CrossingFrame/interface/MixCollection.h
"
20
21
class
CaloHitAnalyzer
{
22
public
:
23
CaloHitAnalyzer
(
const
std::string
&
name
,
24
double
hitEnergyThreshold,
25
const
CaloVSimParameterMap
*parameterMap,
26
const
CaloVHitFilter
*
filter
=
nullptr
);
27
29
void
fillHits
(
MixCollection<PCaloHit>
&
hits
);
30
32
void
analyze
(
int
detId,
double
recEnergy);
33
34
public
:
35
std::map<int, double>
hitEnergySumMap_
;
36
double
hitEnergyThreshold_
;
37
const
CaloVSimParameterMap
*
simParameterMap_
;
38
const
CaloVHitFilter
*
hitFilter_
;
39
CaloValidationStatistics
summary_
;
40
int
noiseHits_
;
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
Generated for CMSSW Reference Manual by
1.8.16