#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 |
ElectronicsSim * | m_electronicsSim |
CaloHitResponse * | m_hitResponse |
Definition at line 16 of file EcalTDigitizer.h.
typedef CaloHitRespoNew EcalTDigitizer< Traits >::CaloHitResponse |
Definition at line 26 of file EcalTDigitizer.h.
typedef Traits::Digi EcalTDigitizer< Traits >::Digi |
Definition at line 23 of file EcalTDigitizer.h.
typedef Traits::DigiCollection EcalTDigitizer< Traits >::DigiCollection |
Definition at line 24 of file EcalTDigitizer.h.
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.
EcalTDigitizer< Traits >::EcalTDigitizer | ( | CaloHitResponse * | hitResponse, |
ElectronicsSim * | electronicsSim, | ||
bool | addNoise | ||
) |
EcalTDigitizer< Traits >::~EcalTDigitizer | ( | ) |
void EcalTDigitizer< Traits >::run | ( | MixCollection< PCaloHit > & | input, |
DigiCollection & | output | ||
) |
Referenced by EcalTBDigiProducer::produce(), and EcalDigiProducer::produce().
bool EcalTDigitizer< Traits >::m_addNoise [private] |
Definition at line 41 of file EcalTDigitizer.h.
ElectronicsSim* EcalTDigitizer< Traits >::m_electronicsSim [private] |
Definition at line 40 of file EcalTDigitizer.h.
CaloHitResponse* EcalTDigitizer< Traits >::m_hitResponse [private] |
Definition at line 39 of file EcalTDigitizer.h.