1 #ifndef EcalSimAlgos_ESDigitizer_h
2 #define EcalSimAlgos_ESDigitizer_h
11 class HepRandomEngine ; }
30 void setDetIds(
const std::vector<DetId>& detIds ) ;
32 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
virtual void run(MixCollection< PCaloHit > &input, DigiCollection &output)
turns hits into digis
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)
CLHEP::RandPoissonQ * m_ranPois