Go to the documentation of this file. 1 #ifndef __JDETECTOR__JPMTPARAMETERSTOOLKIT__
2 #define __JDETECTOR__JPMTPARAMETERSTOOLKIT__
55 return (1.0 - exp(-QE*mu)) / (1.0 - exp(-mu));
74 return 1.0 / (1.0 - exp(-mu));
76 return numeric_limits<double>::max();
89 inline double getQE(
const double R,
const double mu)
94 return -log(1.0 - R*(1.0 - exp(-mu))) / mu;
double getHitProbability(const double QE, const double mu)
Get ratio of hit probabilities for given QE and expectation value of the number of photo-electrons.
virtual double getSurvivalProbability(const int NPE) const
Probability that a hit survives the simulation of the PMT.
double getSurvivalProbability(const JPMTParameters ¶meters)
Get model dependent probability that a one photo-electron hit survives the simulation of the PMT assu...
double getQE(const double R, const double mu)
Get QE for given ratio of hit probabilities and expectation value of the number of photo-electrons.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Exception for accessing a value in a collection that is outside of its range.
double QE
relative quantum efficiency
Data structure for PMT parameters.
Auxiliary classes and methods for detector calibration.
double getMaximalHitProbability(const double mu)
Get maximal ratio of hit probabilities for given QE and expectation value of the number of photo-elec...
PMT analogue signal processor.