Jpp
17.1.1
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 | JParameters |
Detector simulation parameters. More... | |
struct | JHit_t |
Auxiliary class to set-up Hit. More... | |
struct | JHits_t |
Auxiliary data structure for list of hits with hit merging capability. More... | |
struct | JTrk_t |
Auxiliary class to set-up Trk. More... | |
struct | JPoint |
Point along muon trajectory. More... | |
struct | JTrack |
Muon trajectory. More... | |
struct | JVertex |
Vertex of energy loss of muon. 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... | |
Vec | getVisibleEnergy (const Trk &track, const JCylinder3D &can) |
Get the visible energy of a track. More... | |
Vec | getVisibleEnergy (const Trk &track) |
Get the visible energy of a track, assuming an infinite detector volume. More... | |
Vec | getVisibleEnergy (const Evt &evt, const JCylinder3D &can) |
Get the visible energy of an event. More... | |
Vec | getVisibleEnergy (const Evt &evt) |
Get the visible energy of an event, assuming an infinite detector volume. 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) |
double | pythia (const int type, const double E) |
Get equivalent EM-energy for given pion energy. More... | |
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 64 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 97 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 122 of file JSireneToolkit.hh.
Get the visible energy of a track.
This method accounts for muon radiative energy losses.
track | track |
can | detector can |
Definition at line 60 of file JVisibleEnergyToolkit.hh.
Get the visible energy of a track, assuming an infinite detector volume.
This method accounts for muon radiative energy losses.
track | track |
Definition at line 102 of file JVisibleEnergyToolkit.hh.
Get the visible energy of an event.
This method accounts for muon radiative energy losses.
evt | event |
can | detector can |
Definition at line 120 of file JVisibleEnergyToolkit.hh.
Get the visible energy of an event, assuming an infinite detector volume.
This method accounts for muon radiative energy losses.
evt | event |
Definition at line 140 of file JVisibleEnergyToolkit.hh.
|
inline |
Definition at line 20 of file pythia.hh.
|
inline |
Definition at line 58 of file pythia.hh.
|
inline |
Definition at line 69 of file pythia.hh.
|
inline |
Definition at line 92 of file pythia.hh.
|
inline |
Definition at line 108 of file pythia.hh.
|
inline |
Definition at line 119 of file pythia.hh.
|
inline |
Definition at line 135 of file pythia.hh.
|
inline |
Definition at line 149 of file pythia.hh.
|
inline |
Definition at line 173 of file pythia.hh.
|
inline |
Get equivalent EM-energy for given pion energy.
type | particle type [PDG] |
E | particle energy [GeV] |
Definition at line 245 of file pythia.hh.
|
static |
Function object for relative light yield as a function of GEANT particle code.
Definition at line 96 of file JPythia.hh.