1 #ifndef EcalSimAlgos_EcalTDigitizer_h
2 #define EcalSimAlgos_EcalTDigitizer_h
19 class HepRandomEngine;
22 template <
class Traits>
26 typedef typename Traits::Digi
Digi;
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)
virtual void initializeHits()
static std::string const input
const ElectronicsSim * elecSim() const
virtual void run(MixCollection< PCaloHit > &input, DigiCollection &output)
virtual void run(DigiCollection &output, CLHEP::HepRandomEngine *)
Traits::EcalSamples EcalSamples
EcalBaseSignalGenerator * theNoiseSignalGenerator
EcalHitResponse * m_hitResponse
const EcalHitResponse * hitResponse() const
ElectronicsSim * m_electronicsSim