Jpp
pmt_effective_area_update_2
the software that should make you happy
|
Auxiliary class for converting various rates to expectation values of the number of hits within a given time interval. More...
#include <JK40.hh>
Public Types | |
typedef std::vector< double > | JL1_t |
Type definition of expectation values of number of multiple hits. More... | |
Public Member Functions | |
JK40 () | |
Default constructor. More... | |
JK40 (const JTimeRange &T_ns, const double R_Hz) | |
Constructor for single PMT. More... | |
JK40 (const JTimeRange &T_ns, const size_t numberOfPMTs, const JK40Rates &rates_Hz) | |
Constructor for modules. More... | |
double | getY0 () const |
Get expectation value for number of single hits. More... | |
double | getY1 (const size_t M) const |
Get expectation value for number of multiple hits. More... | |
double | getP (size_t M) const |
Get probability to observe a hit with given multiplicity. More... | |
Protected Attributes | |
double | __y0 |
expectation value of number of single hits More... | |
JL1_t | __y1 |
expectation values of number of multiple hits More... | |
Auxiliary class for converting various rates to expectation values of the number of hits within a given time interval.
typedef std::vector<double> JFIT::JK40::JL1_t |
|
inline |
|
inline |
Constructor for modules.
T_ns | time range [ns] |
numberOfPMTs | number of PMTs in module |
rates_Hz | K40 singles and multiples rates [Hz] |
Definition at line 69 of file JK40.hh.
|
inline |
|
inline |
|
inline |
Get probability to observe a hit with given multiplicity.
Note that if M = 0, the probability corresponds to observing no hits.
M | multiplicity (M >= 0) |
Definition at line 128 of file JK40.hh.
|
protected |
|
protected |