Jpp
16.0.0
the software that should make you happy
|
Detector simulations. More...
Classes | |
class | JPulse |
Auxiliary class for a time-over-threshold pulse from a PMT. More... | |
struct | JPythia |
Auxiliary class to determine EM-equivalent energy as a function of PDG particle code and energy. More... | |
class | JSeaWater |
Sea water composition. More... | |
struct | JVertex |
Vertex of energy loss of muon. More... | |
struct | JTrack |
Muon trajectory. More... | |
Functions | |
bool | operator< (const JPulse &first, const JPulse &second) |
Compare Monte Carlo hit times. More... | |
bool | operator< (const JPulse &hit, const double t0) |
Compare Monte Carlo hit times. More... | |
int | getNumberOfPhotoElectrons (const double NPE, const int N, const double npe) |
Get number of photo-electrons of a hit given the expectation values of the number of photo-electrons on a module and PMT. More... | |
int | getNumberOfPhotoElectrons (const int npe) |
Get number of photo-electrons of a hit given number of photo-electrons on PMT. More... | |
JHitType_t | getHitType (const JPDFType_t pdf, const bool shower=false) |
Get hit type corresponding to given PDF type. More... | |
double | getKineticEnergy (const double E, const double m) |
Get kinetic energy of particle with given mass. More... | |
double | pythia (const int type, const double E) |
Get equivalent EM-energy for given pion energy. More... | |
double | opa_weight_high_e (const double ekin) |
double | ngamma_elec (const double ekin) |
double | weight_pion (const double ekin) |
double | weight_kaon (const double ekin) |
double | weight_kshort (const double ekin) |
double | weight_klong (const double ekin) |
double | weight_proton (const double ekin) |
double | weight_neutron (const double ekin) |
double | opa_efrac (const int ipart, const double ekin) |
Variables | |
static const JPythia | pythia |
Function object for relative light yield as a function of GEANT particle code. More... | |
Detector simulations.
|
inline |
|
inline |
Get number of photo-electrons of a hit given the expectation values of the number of photo-electrons on a module and PMT.
The return value is evaluated by pick-and-drop statistics from the generated number of photo-electrons when the expectation value of the number of photo-electrons on a module deviates less than 5 sigmas from 0 (i.e. when it is less than 25). Otherwise, the return value is evaluated by Poisson statistics from the expectation value of the number of photo-electrons on PMT.
NPE | expectation value of npe on module |
N | generated value of npe on module |
npe | expectation value of npe on PMT |
Definition at line 54 of file JSireneToolkit.hh.
|
inline |
Get number of photo-electrons of a hit given number of photo-electrons on PMT.
The number of photo-electrons of a hit may be larger than unity to limit the overall number of hits and consequently the memory coonsumption as well as the number of times the arrival time needs to be evaluated which is CPU intensive.
npe | number of photo-electrons on PMT |
Definition at line 87 of file JSireneToolkit.hh.
|
inline |
Get hit type corresponding to given PDF type.
PDF type | |
shower | force origin from neutrino interaction shower |
Definition at line 112 of file JSireneToolkit.hh.
|
inline |
Get kinetic energy of particle with given mass.
E | energy [GeV] |
m | mass [GeV] |
Definition at line 375 of file JSireneToolkit.hh.
|
inline |
Get equivalent EM-energy for given pion energy.
type | particle type [PDG] |
E | particle energy [GeV] |
Definition at line 31 of file km3-opa_efrac.hh.
|
inline |
Definition at line 20 of file pythia.hh.
|
inline |
Definition at line 58 of file pythia.hh.
|
inline |
|
inline |
Definition at line 92 of file pythia.hh.
|
inline |
Definition at line 135 of file pythia.hh.
|
inline |
|
inline |
|
static |
Function object for relative light yield as a function of GEANT particle code.
Definition at line 96 of file JPythia.hh.