2 #ifndef HcalSimAlgos_HcalSiPM_h 3 #define HcalSimAlgos_HcalSiPM_h 14 #include <unordered_map> 19 class HepRandomEngine;
29 double hitCells(CLHEP::HepRandomEngine*,
unsigned int pes,
double tempDiff = 0.,
double photonTime = 0.);
46 typedef std::pair<unsigned int, std::vector<double> >
cdfpair;
47 typedef std::unordered_map<unsigned int, cdfpair>
cdfmap;
52 unsigned int addCrossTalkCells(CLHEP::HepRandomEngine* engine,
unsigned int in_pes);
70 #endif //HcalSimAlgos_HcalSiPM_h
A general implementation for the response of a SiPM.
double totalCharge() const
void setSaturationPars(const std::vector< float > &pars)
std::unordered_map< unsigned int, cdfpair > cdfmap
const cdfpair & BorelCDF(unsigned int k)
double hitCells(CLHEP::HepRandomEngine *, unsigned int pes, double tempDiff=0., double photonTime=0.)
double getTempDep() const
void setNCells(int nCells)
void setCrossTalk(double xtalk)
TupleMultiplicity< TrackerTraits > const HitToTuple< TrackerTraits > const cms::cuda::AtomicPairCounter GPUCACellT< TrackerTraits > const *__restrict__ uint32_t const *__restrict__ nCells
std::vector< float > theSiPM
double getCrossTalk() const
unsigned int addCrossTalkCells(CLHEP::HepRandomEngine *engine, unsigned int in_pes)
HcalSiPMnonlinearity * nonlin
unsigned int theCellCount
HcalSiPM(int nCells=1, double tau=15.)
void setTemperatureDependence(double tempDep)
std::pair< unsigned int, std::vector< double > > cdfpair
double cellCharge(double deltaTime) const