Auxiliary class for simultaneously handling light yields and response of PMT.
More...
#include <JNPEHit.hh>
|
| JNPEHit () |
| Default constructor.
|
|
| JNPEHit (const JNPE &npe, const size_t n) |
| Constructor.
|
|
size_t | getN () const |
| Get number of hits.
|
|
double | getP () const |
| Get probability.
|
|
double | getP (const double E_GeV) const |
| Get muon energy dependent probability.
|
|
double | getChi2 (const double E_GeV) const |
| Get chi2.
|
|
double | getP (const double E_GeV, const bool hit) const |
| Get probability for observing a hit or not as a function of muon energy.
|
|
double | getChi2 (const double E_GeV, const bool hit) const |
| Get chi2 for observing a hit or not as a function of muon energy.
|
|
double | getY1 () const |
| Get light yield due to minimum ionizing particle.
|
|
double | getYA () const |
| Get light yield due to delta-rays.
|
|
double | getYB () const |
| Get light yield due to bremsstrahlung.
|
|
double | getZ () const |
| Get position along muon path.
|
|
double | getH1 (const double E_GeV) const |
| Expected number of photo-electrons for muon hypothesis as a function of muon energy.
|
|
double | getP (const bool hit) const |
| Get probability for observing a hit or not.
|
|
double | getChi2 (const bool hit) const |
| Get chi2 for observing a hit or not.
|
|
double | getY0 () const |
| Get light yield due to random background.
|
|
double | getH0 () const |
| Expected number of photo-electrons for random background hypothesis.
|
|
|
size_t | __n |
|
double | y1 |
| light yield due to minimum ionizing particle [npe]
|
|
double | yA |
| light yield due to delta-rays [npe*m/GeV]
|
|
double | yB |
| light yield due to bremsstrahlung [npe/GeV]
|
|
double | z |
| position along muon path [m]
|
|
double | y0 |
| light yield due to random background [npe]
|
|
Auxiliary class for simultaneously handling light yields and response of PMT.
Definition at line 19 of file JNPEHit.hh.
◆ JNPEHit() [1/2]
JFIT::JNPEHit::JNPEHit |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 28 of file JNPEHit.hh.
28 :
31 {}
JNPE()
Default constructor.
◆ JNPEHit() [2/2]
JFIT::JNPEHit::JNPEHit |
( |
const JNPE & | npe, |
|
|
const size_t | n ) |
|
inline |
Constructor.
- Parameters
-
Definition at line 40 of file JNPEHit.hh.
◆ getN()
size_t JFIT::JNPEHit::getN |
( |
| ) |
const |
|
inline |
Get number of hits.
- Returns
- number of hits
Definition at line 52 of file JNPEHit.hh.
◆ getP() [1/4]
double JFIT::JNPEHit::getP |
( |
| ) |
const |
|
inline |
Get probability.
- Returns
- probability
Definition at line 63 of file JNPEHit.hh.
64 {
66 }
size_t getN() const
Get number of hits.
double getP() const
Get probability.
◆ getP() [2/4]
double JFIT::JNPEHit::getP |
( |
const double | E_GeV | ) |
const |
|
inline |
Get muon energy dependent probability.
- Parameters
-
- Returns
- probability
Definition at line 75 of file JNPEHit.hh.
76 {
77 return this->
getP(E_GeV, this->
getN() > 0);
78 }
◆ getChi2() [1/3]
double JFIT::JNPEHit::getChi2 |
( |
const double | E_GeV | ) |
const |
|
inline |
Get chi2.
- Parameters
-
- Returns
- chi2
Definition at line 87 of file JNPEHit.hh.
88 {
90 }
double getChi2(const double E_GeV) const
Get chi2.
◆ getP() [3/4]
double JFIT::JNPE::getP |
( |
const double | E_GeV, |
|
|
const bool | hit ) const |
|
inline |
Get probability for observing a hit or not as a function of muon energy.
- Parameters
-
- Returns
- probability
Definition at line 139 of file JNPE.hh.
140 {
142 }
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 getH0() const
Expected number of photo-electrons for random background hypothesis.
double getH1(const double E_GeV) const
Expected number of photo-electrons for muon hypothesis as a function of muon energy.
◆ getChi2() [2/3]
double JFIT::JNPE::getChi2 |
( |
const double | E_GeV, |
|
|
const bool | hit ) const |
|
inline |
Get chi2 for observing a hit or not as a function of muon energy.
- Parameters
-
- Returns
- probability
Definition at line 152 of file JNPE.hh.
153 {
155 }
double getChi2(const double P)
Get chi2 corresponding to given probability.
◆ getY1()
double JFIT::JNPE::getY1 |
( |
| ) |
const |
|
inlineinherited |
Get light yield due to minimum ionizing particle.
- Returns
- light yield [npe]
Definition at line 72 of file JNPE.hh.
73 {
75 }
double y1
light yield due to minimum ionizing particle [npe]
◆ getYA()
double JFIT::JNPE::getYA |
( |
| ) |
const |
|
inlineinherited |
Get light yield due to delta-rays.
- Returns
- light yield [npe*m/GeV]
Definition at line 83 of file JNPE.hh.
84 {
86 }
double yA
light yield due to delta-rays [npe*m/GeV]
◆ getYB()
double JFIT::JNPE::getYB |
( |
| ) |
const |
|
inlineinherited |
Get light yield due to bremsstrahlung.
- Returns
- light yield [npe/GeV]
Definition at line 94 of file JNPE.hh.
95 {
97 }
double yB
light yield due to bremsstrahlung [npe/GeV]
◆ getZ()
double JFIT::JNPE::getZ |
( |
| ) |
const |
|
inlineinherited |
Get position along muon path.
- Returns
- position along muon path [m]
Definition at line 105 of file JNPE.hh.
106 {
108 }
double z
position along muon path [m]
◆ getH1()
double JFIT::JNPE::getH1 |
( |
const double | E_GeV | ) |
const |
|
inlineinherited |
Expected number of photo-electrons for muon hypothesis as a function of muon energy.
- Parameters
-
- Returns
- light yield [npe]
Definition at line 117 of file JNPE.hh.
118 {
120
121 const double E = gWater.getE(E_GeV, this->
getZ());
122
123 if (E >= MASS_MUON * INDEX_OF_REFRACTION_WATER)
124 return (this->
getY1() +
127 else
128 return 0.0;
129 }
double getDeltaRaysFromMuon(const double E, const JRange< double > T_GeV=JRange< double >(DELTARAY_TMIN, DELTARAY_TMAX))
Equivalent EM-shower energy due to delta-rays per unit muon track length.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
double getYB() const
Get light yield due to bremsstrahlung.
double getY1() const
Get light yield due to minimum ionizing particle.
double getZ() const
Get position along muon path.
double getYA() const
Get light yield due to delta-rays.
◆ getP() [4/4]
double JFIT::JK40::getP |
( |
const bool | hit | ) |
const |
|
inlineinherited |
Get probability for observing a hit or not.
- Parameters
-
- Returns
- probability
Definition at line 72 of file JK40.hh.
◆ getChi2() [3/3]
double JFIT::JK40::getChi2 |
( |
const bool | hit | ) |
const |
|
inlineinherited |
Get chi2 for observing a hit or not.
- Parameters
-
- Returns
- probability
Definition at line 84 of file JK40.hh.
◆ getY0()
double JFIT::JK40::getY0 |
( |
| ) |
const |
|
inlineinherited |
Get light yield due to random background.
- Returns
- light yield [npe]
Definition at line 49 of file JK40.hh.
50 {
52 }
double y0
light yield due to random background [npe]
◆ getH0()
double JFIT::JK40::getH0 |
( |
| ) |
const |
|
inlineinherited |
Expected number of photo-electrons for random background hypothesis.
- Returns
- light yield [npe]
Definition at line 60 of file JK40.hh.
61 {
63 }
double getY0() const
Get light yield due to random background.
◆ __n
size_t JFIT::JNPEHit::__n |
|
protected |
◆ y1
light yield due to minimum ionizing particle [npe]
Definition at line 158 of file JNPE.hh.
◆ yA
light yield due to delta-rays [npe*m/GeV]
Definition at line 159 of file JNPE.hh.
◆ yB
light yield due to bremsstrahlung [npe/GeV]
Definition at line 160 of file JNPE.hh.
position along muon path [m]
Definition at line 161 of file JNPE.hh.
◆ y0
light yield due to random background [npe]
Definition at line 90 of file JK40.hh.
The documentation for this struct was generated from the following file: