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