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, CLHEP::HepRandomEngine *)
 
void addNoiseSignals ()
 
 EcalTDigitizer (EcalHitResponse *hitResponse, ElectronicsSim *electronicsSim, bool addNoise)
 
virtual void initializeHits ()
 
virtual void run (DigiCollection &output, CLHEP::HepRandomEngine *)
 
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 23 of file EcalTDigitizer.h.

Member Typedef Documentation

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

Definition at line 28 of file EcalTDigitizer.h.

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

Definition at line 29 of file EcalTDigitizer.h.

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

Definition at line 30 of file EcalTDigitizer.h.

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

Definition at line 27 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,
CLHEP::HepRandomEngine *   
)
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,
CLHEP::HepRandomEngine *   
)
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 44 of file EcalTDigitizer.h.

45  {
46  assert(0);
47  }
assert(m_qm.get())
template<class Traits>
void EcalTDigitizer< Traits >::setNoiseSignalGenerator ( EcalBaseSignalGenerator noiseSignalGenerator)

Member Data Documentation

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

Definition at line 65 of file EcalTDigitizer.h.

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

Definition at line 64 of file EcalTDigitizer.h.

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

Definition at line 63 of file EcalTDigitizer.h.

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

Definition at line 67 of file EcalTDigitizer.h.