2 #ifndef HcalSimAlgos_HcalSiPM_h
3 #define HcalSimAlgos_HcalSiPM_h
15 #include "CLHEP/Random/RandGaussQ.h"
30 virtual double errOnX(
double x,
double prehit = 0.)
const;
32 const std::vector<double>& vec)
const;
45 #endif //HcalSimAlgos_HcalSiPM_h
A general implementation for the response of a SiPM.
CLHEP::RandGaussQ * theRndGauss
virtual double errOnX(double x, double prehit=0.) const
std::vector< double > theXSamples
std::vector< double > thePrehitSamples
void setNCells(int nCells)
void getBeforeAndAfter(double val, int &before, int &after, const std::vector< double > &vec) const
void initRandomEngine(CLHEP::HepRandomEngine &engine)
Integral< F, X >::type integral(const F &f)
std::vector< std::vector< double > > theErrSamples
virtual int hitCells(int photons, int integral=0) const