CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTDigitizer.h
Go to the documentation of this file.
1 #ifndef EcalSimAlgos_EcalTDigitizer_h
2 #define EcalSimAlgos_EcalTDigitizer_h
3 
13 
14 class EcalHitResponse ;
15 
16 template< class Traits >
18 {
19  public:
20 
21  typedef typename Traits::ElectronicsSim ElectronicsSim ;
22  typedef typename Traits::Digi Digi ;
23  typedef typename Traits::DigiCollection DigiCollection ;
24  typedef typename Traits::EcalSamples EcalSamples ;
25 
27  ElectronicsSim* electronicsSim ,
28  bool addNoise ) ;
29 
30  virtual ~EcalTDigitizer< Traits >() ;
31 
32  virtual void run( MixCollection<PCaloHit>& input ,
34 
35  protected:
36 
37  bool addNoise() const ;
38 
39  const EcalHitResponse* hitResponse() const ;
40 
41  const ElectronicsSim* elecSim() const ;
42 
43  private:
44 
47  bool m_addNoise ;
48 };
49 
50 #endif
51 
Traits::DigiCollection DigiCollection
Traits::ElectronicsSim ElectronicsSim
const ElectronicsSim * elecSim() const
virtual void run(MixCollection< PCaloHit > &input, DigiCollection &output)
bool addNoise() const
Traits::EcalSamples EcalSamples
Traits::Digi Digi
EcalHitResponse * m_hitResponse
const EcalHitResponse * hitResponse() const
ElectronicsSim * m_electronicsSim