2 #ifndef HcalSimAlgos_HcalSiPMHitResponse_h 3 #define HcalSimAlgos_HcalSiPMHitResponse_h 14 class HepRandomEngine;
29 const CaloShapes * shapes,
bool PreMix1 =
false,
bool HighFidelity =
true);
36 virtual void initializeHits()
override;
38 virtual void finalizeHits(CLHEP::HepRandomEngine*)
override;
40 virtual void add(
const PCaloHit&
hit, CLHEP::HepRandomEngine*)
override;
44 virtual void addPEnoise(CLHEP::HepRandomEngine* engine);
48 virtual void setDetIds(
const std::vector<DetId> & detIds);
50 virtual int getReadoutFrameSize(
const DetId&
id)
const;
69 #endif //HcalSimAlgos_HcalSiPMHitResponse_h
A general implementation for the response of a SiPM.
const std::vector< DetId > * theDetIds
std::map< DetId, photonTimeHist > photonTimeMap
void add(const std::vector< const T * > &source, std::vector< const T * > &dest)
bool operator()(const PCaloHit *a, const PCaloHit *b) const
Creates electronics signals from hits.
std::vector< unsigned int > photonTimeHist
photonTimeMap precisionTimedPhotons
std::map< int, HcalSiPMShape > shapeMap