Jpp
|
Auxiliary class for handling EM shower light yield. More...
#include <JShowerNPE.hh>
Public Types | |
typedef std::vector< double > | JL1_t |
Type definition of expectation values of number of multiple hits. More... | |
Public Member Functions | |
JShowerNPE () | |
Default constructor. More... | |
JShowerNPE (const JK40 &k40, const double y) | |
Constructor. More... | |
double | getY () const |
Get light yield due to bremsstrahlung. More... | |
double | getH0 () const |
Expected number of photo-electrons for random background hypothesis. More... | |
double | getH0 (const size_t M) const |
Expected number of photo-electrons for random background hypothesis. More... | |
double | getH1 (const double E_GeV) const |
Expected number of photo-electrons for EM shower hypothesis as a function of shower energy. More... | |
double | getP (const double E_GeV, const bool hit) const |
Get probability for observing a hit or not as a function of shower energy. More... | |
double | getChi2 (const double E_GeV, const bool hit) const |
Get chi2 for observing a hit or not as a function of shower energy. 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 | __y |
light yield [npe/GeV] More... | |
double | __y0 |
expectation value of number of single hits More... | |
JL1_t | __y1 |
expectation values of number of multiple hits More... | |
Auxiliary class for handling EM shower light yield.
Note that the effective light yield due to bremsstrahlung is proportional to the EM shower energy.
Definition at line 25 of file JShowerNPE.hh.
|
inherited |
|
inline |
|
inline |
Constructor.
k40 | K40 light yields [npe] |
y | light yield due to bremsstrahlung [npe/GeV] |
Definition at line 47 of file JShowerNPE.hh.
|
inline |
Get light yield due to bremsstrahlung.
Definition at line 59 of file JShowerNPE.hh.
|
inline |
Expected number of photo-electrons for random background hypothesis.
Definition at line 69 of file JShowerNPE.hh.
|
inline |
Expected number of photo-electrons for random background hypothesis.
M | multiplicity |
Definition at line 81 of file JShowerNPE.hh.
|
inline |
Expected number of photo-electrons for EM shower hypothesis as a function of shower energy.
E_GeV | energy [GeV] |
Definition at line 93 of file JShowerNPE.hh.
|
inline |
Get probability for observing a hit or not as a function of shower energy.
E_GeV | energy [GeV] |
hit | hit |
Definition at line 109 of file JShowerNPE.hh.
|
inline |
Get chi2 for observing a hit or not as a function of shower energy.
E_GeV | energy [GeV] |
hit | hit |
Definition at line 122 of file JShowerNPE.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
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 |
light yield [npe/GeV]
Definition at line 128 of file JShowerNPE.hh.
|
protectedinherited |
|
protectedinherited |