CMS 3D CMS Logo

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

◆ Digi

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

Definition at line 26 of file EcalTDigitizer.h.

◆ DigiCollection

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

Definition at line 27 of file EcalTDigitizer.h.

◆ EcalSamples

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

Definition at line 28 of file EcalTDigitizer.h.

◆ ElectronicsSim

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

Definition at line 25 of file EcalTDigitizer.h.

Constructor & Destructor Documentation

◆ EcalTDigitizer()

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

◆ ~EcalTDigitizer()

template<class Traits>
virtual EcalTDigitizer< Traits >::~EcalTDigitizer ( )
virtual

Member Function Documentation

◆ add()

template<class Traits>
void EcalTDigitizer< Traits >::add ( const std::vector< PCaloHit > &  hits,
int  bunchCrossing,
CLHEP::HepRandomEngine *   
)

◆ addNoise()

template<class Traits>
bool EcalTDigitizer< Traits >::addNoise ( ) const
protected

◆ addNoiseSignals()

template<class Traits>
void EcalTDigitizer< Traits >::addNoiseSignals ( )

◆ elecSim()

template<class Traits>
const ElectronicsSim* EcalTDigitizer< Traits >::elecSim ( ) const
protected

◆ hitResponse()

template<class Traits>
const EcalHitResponse* EcalTDigitizer< Traits >::hitResponse ( ) const
protected

◆ initializeHits()

template<class Traits>
virtual void EcalTDigitizer< Traits >::initializeHits ( )
virtual

◆ run() [1/2]

template<class Traits>
virtual void EcalTDigitizer< Traits >::run ( DigiCollection output,
CLHEP::HepRandomEngine *   
)
virtual

Referenced by ESDigitizer::run().

◆ run() [2/2]

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

Definition at line 40 of file EcalTDigitizer.h.

40 { assert(0); }

◆ setNoiseSignalGenerator()

template<class Traits>
void EcalTDigitizer< Traits >::setNoiseSignalGenerator ( EcalBaseSignalGenerator noiseSignalGenerator)

Member Data Documentation

◆ m_addNoise

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

Definition at line 56 of file EcalTDigitizer.h.

◆ m_electronicsSim

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

Definition at line 55 of file EcalTDigitizer.h.

◆ m_hitResponse

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

Definition at line 54 of file EcalTDigitizer.h.

◆ theNoiseSignalGenerator

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

Definition at line 58 of file EcalTDigitizer.h.

cms::cuda::assert
assert(be >=bs)