1 #ifndef EcalSimAlgos_EcalTDigitizer_h
2 #define EcalSimAlgos_EcalTDigitizer_h
19 class HepRandomEngine;
22 template<
class Traits >
38 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)
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
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