18 namespace JPP {
using namespace JFIT; }
56 const double T_s = (T_ns.getUpperLimit() - T_ns.getLowerLimit()) * 1.0e-9;
70 const size_t numberOfPMTs,
75 const double T_s = (T_ns.getUpperLimit() - T_ns.getLowerLimit())* 1.0e-9;
114 if (M >= 2 && M - 2 <
__y1.size())
std::vector< double > JL1_t
Type definition of expectation values of number of multiple hits.
double getY0() const
Get expectation value for number of single hits.
JK40(const JTimeRange &T_ns, const double R_Hz)
Constructor for single PMT.
JTOOLS::JRange< double > JTimeRange
Type definition for time range (unit [ns]).
multiplicity_type getLowerL1Multiplicity() const
Get lower multiplicty.
Auxiliary class for converting various rates to expectation values of the number of hits within a giv...
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable STRING $argv[2] set_array QUANTILES set_variable FORMULA *[0] exp(-0.5 *(x-[1])*(x-[1])/([2]*[2]))" set_variable MODULE `getModule -a $DETECTOR -L "$STRING 0"` typeset -Z 4 STRING JOpera1D -f hydrophone.root
double getY1(const size_t M) const
Get expectation value for number of multiple hits.
double getP(size_t M) const
Get probability to observe a hit with given multiplicity.
JK40()
Default constructor.
JL1_t __y1
expectation values of number of multiple hits
double getMultiplesRate(const multiplicity_type M) const
Get multiples rate.
JK40(const JTimeRange &T_ns, const size_t numberOfPMTs, const JK40Rates &rates_Hz)
Constructor for modules.
double getP(const double expval, bool hit)
Get Poisson probability to observe a hit or not for given expectation value for the number of hits...
double getSinglesRate() const
Get singles rate.
multiplicity_type getUpperL1Multiplicity() const
Get upper multiplicty.
double __y0
expectation value of number of single hits
Auxiliary class for K40 rates.