CMS 3D CMS Logo

ESHitResponse.h
Go to the documentation of this file.
1 #ifndef EcalSimAlgos_ESHitResponse_h
2 #define EcalSimAlgos_ESHitResponse_h
3 
6 
7 class ESHitResponse : public EcalHitResponse {
8 public:
10 
11  ESHitResponse(const CaloVSimParameterMap* parameterMap, const CaloVShape* shape);
12 
13  ~ESHitResponse() 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<ESSamples> m_vSam;
34 };
35 #endif
unsigned int samplesSize() const override
const CaloVShape * shape() const
EcalSamples * vSam(unsigned int i) override
EcalSamples * operator[](unsigned int i) override
Electronic response of the preamp.
Definition: CaloVShape.h:11
ESHitResponse(const CaloVSimParameterMap *parameterMap, const CaloVShape *shape)
Definition: ESHitResponse.cc:9
CaloTSamples< float, 3 > ESSamples
Definition: ESHitResponse.h:9
std::vector< ESSamples > m_vSam
Definition: ESHitResponse.h:33
virtual bool keepBlank() const
Definition: ESHitResponse.h:15
EcalSamples * vSamAll(unsigned int i) override
unsigned int samplesSizeAll() const override
~ESHitResponse() override