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