19 namespace JPP {
using namespace JFIT; }
57 const double T_s = (T_ns.getUpperLimit() - T_ns.getLowerLimit()) * 1.0e-9;
71 const size_t numberOfPMTs,
76 const double T_s = (T_ns.getUpperLimit() - T_ns.getLowerLimit())* 1.0e-9;
115 if (M >= 2 && M - 2 <
__y1.size())
std::vector< double > JL1_t
Type definition of expectation values of number of multiple hits.
double getSinglesRate() const
Get singles rate.
double getY0() const
Get expectation value for number of single hits.
multiplicity_type getLowerL1Multiplicity() const
Get lower multiplicty.
JK40(const JTimeRange &T_ns, const double R_Hz)
Constructor for single PMT.
Auxiliary class for converting various rates to expectation values of the number of hits within a giv...
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
JK40(const JTimeRange &T_ns, const size_t numberOfPMTs, const JK40Rates &rates_Hz)
Constructor for modules.
double getMultiplesRate(const multiplicity_type M) const
Get multiples rate.
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 __y0
expectation value of number of single hits
multiplicity_type getUpperL1Multiplicity() const
Get upper multiplicty.
then set_variable FORMULA *[0] exp(-0.5 *(x-[1])*(x-[1])/([2]*[2]))" set_variable OUTPUT_FILE histogram.root JHistogram1D -o $WORKDIR/$OUTPUT_FILE -F "$FORMULA" -
Auxiliary class for K40 rates.