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 
8 {
9  public:
10 
12 
13  ESHitResponse( const CaloVSimParameterMap* parameterMap ,
14  const CaloVShape* shape ) ;
15 
16  ~ESHitResponse() override ;
17 
18  virtual bool keepBlank() const { return false ; }
19 
20  unsigned int samplesSize() const override ;
21 
22  EcalSamples* operator[]( unsigned int i ) override ;
23 
24  const EcalSamples* operator[]( unsigned int i ) const override ;
25 
26  protected:
27 
28  unsigned int samplesSizeAll() const override ;
29 
30  EcalSamples* vSamAll( unsigned int i ) override ;
31 
32  const EcalSamples* vSamAll( unsigned int i ) const override ;
33 
34  EcalSamples* vSam( unsigned int i ) override ;
35 
36  private:
37 
38  std::vector<ESSamples> m_vSam ;
39 };
40 #endif
41 
42 
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)
std::vector< ESSamples > m_vSam
Definition: ESHitResponse.h:38
virtual bool keepBlank() const
Definition: ESHitResponse.h:18
CaloTSamples< float, 3 > ESSamples
Definition: ESHitResponse.h:11
EcalSamples * vSamAll(unsigned int i) override
unsigned int samplesSizeAll() const override
~ESHitResponse() override