CMS 3D CMS Logo

EEHitResponse.h
Go to the documentation of this file.
1 #ifndef EcalSimAlgos_EEHitResponse_h
2 #define EcalSimAlgos_EEHitResponse_h
3 
6 
7 class EEHitResponse : public EcalHitResponse {
8 public:
10 
11  EEHitResponse(const CaloVSimParameterMap* parameterMap, const CaloVShape* shape);
12 
13  ~EEHitResponse() override;
14 
15  virtual bool keepBlank() const { return false; }
16 
17  unsigned int samplesSize() const override;
18 
19  EcalSamples* operator[](unsigned int i) override;
20 
21  const EcalSamples* operator[](unsigned int i) const override;
22 
23 protected:
24  unsigned int samplesSizeAll() const override;
25 
26  EcalSamples* vSamAll(unsigned int i) override;
27 
28  const EcalSamples* vSamAll(unsigned int i) const override;
29 
30  EcalSamples* vSam(unsigned int i) override;
31 
32 private:
33  std::vector<EESamples> m_vSam;
34 };
35 #endif
EcalHitResponse.h
EEHitResponse
Definition: EEHitResponse.h:7
EEHitResponse::samplesSizeAll
unsigned int samplesSizeAll() const override
Definition: EEHitResponse.cc:33
mps_fire.i
i
Definition: mps_fire.py:355
EEHitResponse::EESamples
CaloTSamples< float, 10 > EESamples
Definition: EEHitResponse.h:9
CaloVSimParameterMap
Definition: CaloVSimParameterMap.h:7
EEHitResponse::vSamAll
EcalSamples * vSamAll(unsigned int i) override
Definition: EEHitResponse.cc:41
EEHitResponse::vSam
EcalSamples * vSam(unsigned int i) override
Definition: EEHitResponse.cc:39
EEHitResponse::keepBlank
virtual bool keepBlank() const
Definition: EEHitResponse.h:15
EcalHitResponse::EcalSamples
CaloTSamplesBase< float > EcalSamples
Definition: EcalHitResponse.h:30
EEHitResponse::operator[]
EcalSamples * operator[](unsigned int i) override
Definition: EEHitResponse.cc:37
CaloTSamples
Definition: CaloTSamples.h:14
CaloTSamples.h
EEHitResponse::~EEHitResponse
~EEHitResponse() override
Definition: EEHitResponse.cc:29
EcalHitResponse
Definition: EcalHitResponse.h:28
CaloVShape
Electronic response of the preamp.
Definition: CaloVShape.h:11
EcalHitResponse::shape
const CaloVShape * shape() const
Definition: EcalHitResponse.cc:41
EEHitResponse::m_vSam
std::vector< EESamples > m_vSam
Definition: EEHitResponse.h:33
EEHitResponse::EEHitResponse
EEHitResponse(const CaloVSimParameterMap *parameterMap, const CaloVShape *shape)
Definition: EEHitResponse.cc:10
EEHitResponse::samplesSize
unsigned int samplesSize() const override
Definition: EEHitResponse.cc:31