Jpp - 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... | |
double | getMultiplesRate (const multiplicity_type M) const |
Get multiples rate. 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 Member Functions | |
static JK40Rates & | getInstance () |
Get reference to unique instance of this class object. 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.
|
inlinestatic |
Get reference to unique instance of this class object.
This method returns an object with default values.
The singles and multiples rates are taken from KM3NeT internal note
Definition at line 75 of file JK40Rates.hh.
|
inline |
|
inline |
Get multiples rate.
M | multiplicity (M >= JK40Rates::LOWER_L1_MULTIPLICITY) |
Definition at line 109 of file JK40Rates.hh.
|
inline |
Get lower multiplicty.
Definition at line 123 of file JK40Rates.hh.
|
inline |
|
inline |
Correct rates for global efficiency,.
QE | global efficiency |
Definition at line 145 of file JK40Rates.hh.
|
friend |
Read K40 rates from input.
in | input stream |
object | K40 rates |
Definition at line 189 of file JK40Rates.hh.
|
friend |
Write K40 rates to output.
out | output stream |
object | K40 rates |
Definition at line 217 of file JK40Rates.hh.
|
static |
Lower L1 multiplicity.
Definition at line 232 of file JK40Rates.hh.
|
protected |
singles rate [Hz]
Definition at line 236 of file JK40Rates.hh.
|
protected |
multiples rates [Hz]
Definition at line 237 of file JK40Rates.hh.