CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
EcalTDigitizer< Traits > Class Template Reference

#include <EcalTDigitizer.h>

Public Types

typedef CaloHitRespoNew CaloHitResponse
 
typedef Traits::Digi Digi
 
typedef Traits::DigiCollection DigiCollection
 
typedef Traits::ElectronicsSim ElectronicsSim
 

Public Member Functions

 EcalTDigitizer (CaloHitResponse *hitResponse, ElectronicsSim *electronicsSim, bool addNoise)
 
void run (MixCollection< PCaloHit > &input, DigiCollection &output)
 
 ~EcalTDigitizer ()
 

Private Attributes

bool m_addNoise
 
ElectronicsSimm_electronicsSim
 
CaloHitResponsem_hitResponse
 

Detailed Description

template<class Traits>
class EcalTDigitizer< Traits >

Definition at line 16 of file EcalTDigitizer.h.

Member Typedef Documentation

template<class Traits>
typedef CaloHitRespoNew EcalTDigitizer< Traits >::CaloHitResponse

Definition at line 26 of file EcalTDigitizer.h.

template<class Traits>
typedef Traits::Digi EcalTDigitizer< Traits >::Digi

Definition at line 23 of file EcalTDigitizer.h.

template<class Traits>
typedef Traits::DigiCollection EcalTDigitizer< Traits >::DigiCollection

Definition at line 24 of file EcalTDigitizer.h.

template<class Traits>
typedef Traits::ElectronicsSim EcalTDigitizer< Traits >::ElectronicsSim

these are the types that need to be defined in the Traits class. The ElectronicsSim needs to have an interface that you'll see in the run() method

Definition at line 22 of file EcalTDigitizer.h.

Constructor & Destructor Documentation

template<class Traits>
EcalTDigitizer< Traits >::EcalTDigitizer ( CaloHitResponse hitResponse,
ElectronicsSim electronicsSim,
bool  addNoise 
)
template<class Traits>
EcalTDigitizer< Traits >::~EcalTDigitizer ( )

Member Function Documentation

template<class Traits>
void EcalTDigitizer< Traits >::run ( MixCollection< PCaloHit > &  input,
DigiCollection output 
)

Member Data Documentation

template<class Traits>
bool EcalTDigitizer< Traits >::m_addNoise
private

Definition at line 41 of file EcalTDigitizer.h.

template<class Traits>
ElectronicsSim* EcalTDigitizer< Traits >::m_electronicsSim
private

Definition at line 40 of file EcalTDigitizer.h.

template<class Traits>
CaloHitResponse* EcalTDigitizer< Traits >::m_hitResponse
private

Definition at line 39 of file EcalTDigitizer.h.