2 #ifndef HcalSimAlgos_HcalSiPMHitResponse_h
3 #define HcalSimAlgos_HcalSiPMHitResponse_h
14 class HepRandomEngine;
27 bool HighFidelity =
true);
42 virtual void addPEnoise(CLHEP::HepRandomEngine* engine);
46 virtual void setDetIds(
const std::vector<DetId>& detIds);
67 #endif //HcalSimAlgos_HcalSiPMHitResponse_h
A general implementation for the response of a SiPM.
const std::vector< DetId > * theDetIds
void finalizeHits(CLHEP::HepRandomEngine *) override
Finalize hits.
bool operator()(const PCaloHit *a, const PCaloHit *b) const
virtual void addPEnoise(CLHEP::HepRandomEngine *engine)
Creates electronics signals from hits.
void add(const PCaloHit &hit, CLHEP::HepRandomEngine *) override
process a single SimHit
virtual void setDetIds(const std::vector< DetId > &detIds)
virtual int getReadoutFrameSize(const DetId &id) const
std::vector< unsigned int > photonTimeHist
virtual CaloSamples makeBlankSignal(const DetId &detId) const
~HcalSiPMHitResponse() override
void initializeHits() override
Initialize hits.
std::map< DetId, photonTimeHist > photonTimeMap
virtual CaloSamples makeSiPMSignal(DetId const &id, photonTimeHist const &photons, CLHEP::HepRandomEngine *)
std::map< int, HcalSiPMShape > shapeMap
HcalSiPMHitResponse(const CaloVSimParameterMap *parameterMap, const CaloShapes *shapes, bool PreMix1=false, bool HighFidelity=true)
photonTimeMap precisionTimedPhotons