1 #ifndef EcalSimAlgos_EcalTDigitizer_h 2 #define EcalSimAlgos_EcalTDigitizer_h 19 class HepRandomEngine;
22 template <
class Traits>
34 void add(
const std::vector<PCaloHit>&
hits,
int bunchCrossing, CLHEP::HepRandomEngine*);
36 virtual void initializeHits();
38 virtual void run(DigiCollection&
output, CLHEP::HepRandomEngine*);
44 void addNoiseSignals();
47 bool addNoise()
const;
51 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