Auxiliary class for simultaneously handling light yields and response of module.
More...
#include <JK40Hit.hh>
Auxiliary class for simultaneously handling light yields and response of module.
Definition at line 23 of file JK40Hit.hh.
◆ JL1_t
Type definition of expectation values of number of multiple hits.
Definition at line 34 of file JK40.hh.
◆ JK40Hit() [1/2]
JFIT::JK40Hit::JK40Hit |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 32 of file JK40Hit.hh.
◆ JK40Hit() [2/2]
Constructor.
- Parameters
-
id | module identifier |
k40 | k40 |
n | number of hits |
Definition at line 46 of file JK40Hit.hh.
◆ getN()
size_t JFIT::JK40Hit::getN |
( |
| ) |
const |
|
inline |
Get number of hits.
- Returns
- number of hits
Definition at line 60 of file JK40Hit.hh.
◆ getP() [1/3]
double JFIT::JK40Hit::getP |
( |
| ) |
const |
|
inline |
Get probability.
- Returns
- probability
Definition at line 71 of file JK40Hit.hh.
◆ getP() [2/3]
Get probability to observe a hit with given multiplicity.
Note that if M = 0, the probability corresponds to observing no hits.
- Parameters
-
- Returns
- probability
Definition at line 129 of file JK40.hh.
◆ getID()
int JLANG::JObjectID::getID |
( |
| ) |
const |
|
inlineinherited |
Get identifier.
- Returns
- identifier
Definition at line 55 of file JObjectID.hh.
◆ setID()
void JLANG::JObjectID::setID |
( |
const int |
id | ) |
|
|
inlineinherited |
Set identifier.
- Parameters
-
Definition at line 66 of file JObjectID.hh.
◆ less() [1/2]
bool JLANG::JObjectID::less |
( |
const JObjectID & |
object | ) |
const |
|
inlineinherited |
Less than method.
- Parameters
-
- Returns
- true if this identifier less than given identifier; else false
Definition at line 78 of file JObjectID.hh.
80 return this->
getID() <
object.getID();
◆ less() [2/2]
bool JLANG::JObjectID::less |
( |
const int |
id | ) |
const |
|
inlineinherited |
Less than method.
- Parameters
-
- Returns
- true if this identifier less than given identifier; else false
Definition at line 90 of file JObjectID.hh.
92 return this->
getID() < id;
◆ more()
bool JLANG::JObjectID::more |
( |
const int |
id | ) |
const |
|
inlineinherited |
More than method.
- Parameters
-
- Returns
- true if this identifier greater than given identifier; else false
Definition at line 102 of file JObjectID.hh.
104 return this->
getID() > id;
◆ getY0()
double JFIT::JK40::getY0 |
( |
| ) |
const |
|
inlineinherited |
Get expectation value for number of single hits.
- Returns
- expectation value
Definition at line 101 of file JK40.hh.
◆ getY1()
double JFIT::JK40::getY1 |
( |
const size_t |
M | ) |
const |
|
inlineinherited |
Get expectation value for number of multiple hits.
- Parameters
-
- Returns
- expectation value
Definition at line 113 of file JK40.hh.
115 if (M >= 2 && M - 2 <
__y1.size())
◆ getP() [3/3]
double JFIT::JK40::getP |
( |
size_t |
M | ) |
const |
|
inlineinherited |
Get probability to observe a hit with given multiplicity.
Note that if M = 0, the probability corresponds to observing no hits.
- Parameters
-
- Returns
- probability
Definition at line 129 of file JK40.hh.
◆ __n
size_t JFIT::JK40Hit::__n |
|
protected |
◆ __id
int JLANG::JObjectID::__id |
|
protectedinherited |
◆ __y0
expectation value of number of single hits
Definition at line 142 of file JK40.hh.
◆ __y1
expectation values of number of multiple hits
Definition at line 143 of file JK40.hh.
The documentation for this struct was generated from the following file: