CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~ESHitResponse() ;
17 
18  virtual bool keepBlank() const { return false ; }
19 
20  virtual unsigned int samplesSize() const ;
21 
22  virtual EcalSamples* operator[]( unsigned int i ) ;
23 
24  virtual const EcalSamples* operator[]( unsigned int i ) const ;
25 
26  protected:
27 
28  virtual unsigned int samplesSizeAll() const ;
29 
30  virtual EcalSamples* vSamAll( unsigned int i ) ;
31 
32  virtual const EcalSamples* vSamAll( unsigned int i ) const ;
33 
34  virtual EcalSamples* vSam( unsigned int i ) ;
35 
36  private:
37 
38  std::vector<ESSamples> m_vSam ;
39 };
40 #endif
41 
42 
int i
Definition: DBlmapReader.cc:9
const CaloVShape * shape() const
virtual unsigned int samplesSize() const
virtual EcalSamples * vSam(unsigned int i)
Electronic response of the preamp.
Definition: CaloVShape.h:11
virtual ~ESHitResponse()
virtual unsigned int samplesSizeAll() const
ESHitResponse(const CaloVSimParameterMap *parameterMap, const CaloVShape *shape)
virtual EcalSamples * vSamAll(unsigned int i)
std::vector< ESSamples > m_vSam
Definition: ESHitResponse.h:38
CaloTSamplesBase< float > EcalSamples
virtual bool keepBlank() const
Definition: ESHitResponse.h:18
CaloTSamples< float, 3 > ESSamples
Definition: ESHitResponse.h:11
virtual EcalSamples * operator[](unsigned int i)