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
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)
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
Traits::EcalSamples EcalSamples
EcalBaseSignalGenerator * theNoiseSignalGenerator
EcalHitResponse * m_hitResponse
ElectronicsSim * m_electronicsSim