1 #ifndef EcalSimAlgos_EcalTDigitizer_h
2 #define EcalSimAlgos_EcalTDigitizer_h
18 template<
class Traits >
24 typedef typename Traits::Digi
Digi ;
34 void add(
const std::vector<PCaloHit> & hits,
int bunchCrossing);
Traits::DigiCollection DigiCollection
Traits::ElectronicsSim ElectronicsSim
void add(const std::vector< PCaloHit > &hits, int bunchCrossing)
void setNoiseSignalGenerator(EcalBaseSignalGenerator *noiseSignalGenerator)
virtual void initializeHits()
static std::string const input
const ElectronicsSim * elecSim() const
virtual void run(MixCollection< PCaloHit > &input, DigiCollection &output)
Traits::EcalSamples EcalSamples
EcalBaseSignalGenerator * theNoiseSignalGenerator
EcalHitResponse * m_hitResponse
virtual void run(DigiCollection &output)
const EcalHitResponse * hitResponse() const
ElectronicsSim * m_electronicsSim