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 | Protected Member Functions | Private Attributes
EcalTDigitizer< Traits > Class Template Reference

#include <EcalTDigitizer.h>

Public Types

typedef Traits::Digi Digi
 
typedef Traits::DigiCollection DigiCollection
 
typedef Traits::EcalSamples EcalSamples
 
typedef Traits::ElectronicsSim ElectronicsSim
 

Public Member Functions

void add (const std::vector< PCaloHit > &hits, int bunchCrossing)
 
 EcalTDigitizer (EcalHitResponse *hitResponse, ElectronicsSim *electronicsSim, bool addNoise)
 
virtual void initializeHits ()
 
virtual void run (DigiCollection &output)
 
virtual void run (MixCollection< PCaloHit > &input, DigiCollection &output)
 
virtual ~EcalTDigitizer ()
 

Protected Member Functions

bool addNoise () const
 
const ElectronicsSimelecSim () const
 
const EcalHitResponsehitResponse () const
 

Private Attributes

bool m_addNoise
 
ElectronicsSimm_electronicsSim
 
EcalHitResponsem_hitResponse
 

Detailed Description

template<class Traits>
class EcalTDigitizer< Traits >

Definition at line 17 of file EcalTDigitizer.h.

Member Typedef Documentation

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

Definition at line 22 of file EcalTDigitizer.h.

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

Definition at line 23 of file EcalTDigitizer.h.

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

Definition at line 24 of file EcalTDigitizer.h.

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

Definition at line 21 of file EcalTDigitizer.h.

Constructor & Destructor Documentation

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

Member Function Documentation

template<class Traits>
void EcalTDigitizer< Traits >::add ( const std::vector< PCaloHit > &  hits,
int  bunchCrossing 
)
template<class Traits>
bool EcalTDigitizer< Traits >::addNoise ( ) const
protected
template<class Traits>
const ElectronicsSim* EcalTDigitizer< Traits >::elecSim ( ) const
protected
template<class Traits>
const EcalHitResponse* EcalTDigitizer< Traits >::hitResponse ( ) const
protected
template<class Traits>
virtual void EcalTDigitizer< Traits >::initializeHits ( )
virtual
template<class Traits>
virtual void EcalTDigitizer< Traits >::run ( DigiCollection output)
virtual

Reimplemented in ESDigitizer.

Referenced by EcalDigiProducer::finalizeEvent(), and ESDigitizer::run().

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

Definition at line 38 of file EcalTDigitizer.h.

39  {
40  assert(0);
41  }

Member Data Documentation

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

Definition at line 55 of file EcalTDigitizer.h.

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

Definition at line 54 of file EcalTDigitizer.h.

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

Definition at line 53 of file EcalTDigitizer.h.