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)
 
void addNoiseSignals ()
 
 EcalTDigitizer (EcalHitResponse *hitResponse, ElectronicsSim *electronicsSim, bool addNoise)
 
virtual void initializeHits ()
 
virtual void run (DigiCollection &output)
 
virtual void run (MixCollection< PCaloHit > &input, DigiCollection &output)
 
void setNoiseSignalGenerator (EcalBaseSignalGenerator *noiseSignalGenerator)
 
virtual ~EcalTDigitizer ()
 

Protected Member Functions

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

Private Attributes

bool m_addNoise
 
ElectronicsSimm_electronicsSim
 
EcalHitResponsem_hitResponse
 
EcalBaseSignalGeneratortheNoiseSignalGenerator
 

Detailed Description

template<class Traits>
class EcalTDigitizer< Traits >

Definition at line 19 of file EcalTDigitizer.h.

Member Typedef Documentation

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

Definition at line 24 of file EcalTDigitizer.h.

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

Definition at line 25 of file EcalTDigitizer.h.

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

Definition at line 26 of file EcalTDigitizer.h.

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

Definition at line 23 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>
void EcalTDigitizer< Traits >::addNoiseSignals ( )
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 40 of file EcalTDigitizer.h.

41  {
42  assert(0);
43  }
template<class Traits>
void EcalTDigitizer< Traits >::setNoiseSignalGenerator ( EcalBaseSignalGenerator noiseSignalGenerator)

Member Data Documentation

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

Definition at line 61 of file EcalTDigitizer.h.

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

Definition at line 60 of file EcalTDigitizer.h.

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

Definition at line 59 of file EcalTDigitizer.h.

template<class Traits>
EcalBaseSignalGenerator* EcalTDigitizer< Traits >::theNoiseSignalGenerator
private

Definition at line 62 of file EcalTDigitizer.h.