CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EEHitResponse.h
Go to the documentation of this file.
1 #ifndef EcalSimAlgos_EEHitResponse_h
2 #define EcalSimAlgos_EEHitResponse_h
3 
6 
8 {
9  public:
10 
12 
13  EEHitResponse( const CaloVSimParameterMap* parameterMap ,
14  const CaloVShape* shape ) ;
15 
16  virtual ~EEHitResponse() ;
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<EESamples> m_vSam ;
39 };
40 #endif
41 
42 
int i
Definition: DBlmapReader.cc:9
const CaloVShape * shape() const
virtual ~EEHitResponse()
virtual unsigned int samplesSize() const
Electronic response of the preamp.
Definition: CaloVShape.h:11
virtual unsigned int samplesSizeAll() const
virtual EcalSamples * operator[](unsigned int i)
std::vector< EESamples > m_vSam
Definition: EEHitResponse.h:38
EEHitResponse(const CaloVSimParameterMap *parameterMap, const CaloVShape *shape)
CaloTSamplesBase< float > EcalSamples
CaloTSamples< float, 10 > EESamples
Definition: EEHitResponse.h:11
virtual EcalSamples * vSamAll(unsigned int i)
virtual bool keepBlank() const
Definition: EEHitResponse.h:18
virtual EcalSamples * vSam(unsigned int i)