1 #ifndef EcalSimAlgos_EcalTDigitizer_h 2 #define EcalSimAlgos_EcalTDigitizer_h 19 class HepRandomEngine;
22 template <
class Traits>
34 void add(
const std::vector<PCaloHit>&
hits,
int bunchCrossing, CLHEP::HepRandomEngine*);
void add(const std::vector< PCaloHit > &hits, int bunchCrossing, CLHEP::HepRandomEngine *)
Traits::DigiCollection DigiCollection
Traits::ElectronicsSim ElectronicsSim
void setNoiseSignalGenerator(EcalBaseSignalGenerator *noiseSignalGenerator)
EcalTDigitizer(EcalHitResponse *hitResponse, ElectronicsSim *electronicsSim, bool addNoise)
virtual void initializeHits()
static std::string const input
virtual ~EcalTDigitizer()
virtual void run(MixCollection< PCaloHit > &input, DigiCollection &output)
const ElectronicsSim * elecSim() const
const EcalHitResponse * hitResponse() const
virtual void run(DigiCollection &output, CLHEP::HepRandomEngine *)
Traits::EcalSamples EcalSamples
EcalBaseSignalGenerator * theNoiseSignalGenerator
EcalHitResponse * m_hitResponse
ElectronicsSim * m_electronicsSim