1 #ifndef EcalSimAlgos_ESDigitizer_h
2 #define EcalSimAlgos_ESDigitizer_h
11 class HepRandomEngine ; }
29 void setDetIds(
const std::vector<DetId>& detIds ) ;
31 void setGain(
const int gain ) ;
void setDetIds(const std::vector< DetId > &detIds)
tell the digitizer which cells exist; cannot change during a run
void createNoisyList(std::vector< DetId > &abThreshCh)
std::vector< Triplet > m_trip
CLHEP::RandFlat * m_ranFlat
CLHEP::RandGeneral * m_ranGeneral
void setGain(const int gain)
ESDigitizerTraits::ElectronicsSim ElectronicsSim
CLHEP::HepRandomEngine * m_engine
const std::vector< DetId > * m_detIds
const EcalHitResponse * hitResponse() const
Triplet(uint32_t a0, uint32_t a1, uint32_t a2)
ESDigitizer(EcalHitResponse *hitResponse, ElectronicsSim *electronicsSim, bool addNoise)
virtual void run(ESDigiCollection &output)
turns hits into digis
CLHEP::RandPoissonQ * m_ranPois