1 #ifndef EcalSimAlgos_EcalTDigitizer_h 2 #define EcalSimAlgos_EcalTDigitizer_h 19 class HepRandomEngine;
22 template<
class Traits >
33 ElectronicsSim* electronicsSim ,
38 void add(
const std::vector<PCaloHit> &
hits,
int bunchCrossing, CLHEP::HepRandomEngine*);
40 virtual void initializeHits();
42 virtual void run(DigiCollection&
output, CLHEP::HepRandomEngine* );
51 void addNoiseSignals();
55 bool addNoise()
const ;
59 const ElectronicsSim* elecSim()
const ;
Traits::DigiCollection DigiCollection
Traits::ElectronicsSim ElectronicsSim
void add(const std::vector< const T * > &source, std::vector< const T * > &dest)
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
static std::string const input
virtual void run(MixCollection< PCaloHit > &input, DigiCollection &output)
Traits::EcalSamples EcalSamples
EcalBaseSignalGenerator * theNoiseSignalGenerator
EcalHitResponse * m_hitResponse
ElectronicsSim * m_electronicsSim