Go to the documentation of this file. 1 #ifndef EcalSimAlgos_ESDigitizer_h
2 #define EcalSimAlgos_ESDigitizer_h
24 void setDetIds(
const std::vector<DetId>& detIds);
29 void createNoisyList(std::vector<DetId>& abThreshCh, CLHEP::HepRandomEngine*);
void setDetIds(const std::vector< DetId > &detIds)
tell the digitizer which cells exist; cannot change during a run
std::vector< Triplet > m_trip
Triplet(uint32_t a0, uint32_t a1, uint32_t a2)
void createNoisyList(std::vector< DetId > &abThreshCh, CLHEP::HepRandomEngine *)
CLHEP::RandGeneral * m_ranGeneral
void setGain(const int gain)
ESDigitizerTraits::ElectronicsSim ElectronicsSim
const std::vector< DetId > * m_detIds
void run(ESDigiCollection &output, CLHEP::HepRandomEngine *) override
turns hits into digis
static constexpr float a0
const EcalHitResponse * hitResponse() const
ESDigitizer(EcalHitResponse *hitResponse, ElectronicsSim *electronicsSim, bool addNoise)