Jpp
18.0.1-rc.1
the software that should make you happy
|
Auxiliary class for K40 rates. More...
#include <JK40Rates.hh>
Public Member Functions | |
JK40Rates () | |
Default constructor. More... | |
JK40Rates (const JRateL0_t rateL0_Hz, const JRateL1_t &rateL1_Hz=JRateL1_t()) | |
Constructor. More... | |
double | getSinglesRate () const |
Get singles rate. More... | |
const JRateL1_t & | getMultiplesRates () const |
Get multiples rate. More... | |
double | getMultiplesRate (const multiplicity_type M) const |
Get multiples rate at given multiplicity. More... | |
multiplicity_type | getLowerL1Multiplicity () const |
Get lower multiplicty. More... | |
multiplicity_type | getUpperL1Multiplicity () const |
Get upper multiplicty. More... | |
void | correct (const double QE) |
Correct rates for global efficiency,. More... | |
Static Public Attributes | |
static const multiplicity_type | LOWER_L1_MULTIPLICITY = 2 |
Lower L1 multiplicity. More... | |
Protected Attributes | |
JRateL0_t | rateL0 |
singles rate [Hz] More... | |
JRateL1_t | rateL1 |
multiples rates [Hz] More... | |
Friends | |
std::istream & | operator>> (std::istream &in, JK40Rates &object) |
Read K40 rates from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JK40Rates &object) |
Write K40 rates to output. More... | |
Auxiliary class for K40 rates.
The singles rate refers to the counting rate of a PMT and the multiples rate to the rate of genuine coincidences due to K40 decays.
Definition at line 41 of file JK40Rates.hh.
|
inline |
|
inline |
Constructor.
The multiples rates start counting at two-fold coincidences.
rateL0_Hz | singles rate [Hz] |
rateL1_Hz | multiples rates [Hz] |
Definition at line 59 of file JK40Rates.hh.
|
inline |
|
inline |
|
inline |
Get multiples rate at given multiplicity.
M | multiplicity (M >= JK40Rates::LOWER_L1_MULTIPLICITY) |
Definition at line 94 of file JK40Rates.hh.
|
inline |
Get lower multiplicty.
Definition at line 108 of file JK40Rates.hh.
|
inline |
|
inline |
Correct rates for global efficiency,.
QE | global efficiency |
Definition at line 130 of file JK40Rates.hh.
|
friend |
Read K40 rates from input.
in | input stream |
object | K40 rates |
Definition at line 174 of file JK40Rates.hh.
|
friend |
Write K40 rates to output.
out | output stream |
object | K40 rates |
Definition at line 202 of file JK40Rates.hh.
|
static |
Lower L1 multiplicity.
Definition at line 217 of file JK40Rates.hh.
|
protected |
singles rate [Hz]
Definition at line 221 of file JK40Rates.hh.
|
protected |
multiples rates [Hz]
Definition at line 222 of file JK40Rates.hh.