Go to the documentation of this file. 1 #ifndef __JSIRENE__JSIRENETOOLKIT__
2 #define __JSIRENE__JSIRENETOOLKIT__
62 for (
int i = N; i != 0; --i) {
63 if (gRandom->Rndm() * NPE < npe) {
72 return gRandom->Poisson(npe);
89 static const int NPE = 20;
93 const int n = (int) (NPE * log10((
double) npe / (
double) NPE));
322 double getE(
const double z)
const
324 if (!this->empty()) {
328 if (pos != this->end() && pos != this->begin()) {
332 return pos->getE() - (z - pos->getZ()) *
gWater.
getA();
351 return sqrt((E - m) * (E + m));
direct light from delta-rays
JVertex & step(const double ds)
Step.
Vertex of energy loss of muon.
double getEs() const
Get shower energy.
static const JGeaneWater gWater
Function object for energy loss of muon in sea water.
JHitType_t getHitType(const JPDFType_t pdf, const bool shower=false)
Get hit type corresponding to given PDF type.
direct light from EM shower
Direct light from delta-rays.
Auxiliary classes and methods for calculation of PDF and muon energy loss.
double getRange(const JGeane &geane) const
Get range of muon.
JVertex()
Default constructor.
JVertex(const double z, const double t, const double E)
Constructor.
Scattered light from muon.
Direct light from primary shower.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
JVertex & step(const JGeane &geane, const double ds)
Step.
double getKineticEnergy(const double E, const double m)
Get kinetic energy of particle with given mass.
scattered light from EM shower
Scattered light from delta-rays.
void applyEloss(const double Es)
Apply energy loss energy.
Interface for muon energy loss.
JHitType_t
Enumeration of hit types based on km3 codes.
double getZ() const
Get position.
Extensions to AAnet data format.
int getNumberOfPhotoElectrons(const int npe)
Get number of photo-electrons of a hit given number of photo-electrons on PMT.
double getE() const
Get muon energy.
double getE(const double z) const
Get muon energy at given position.
Direct light from Bremsstrahlung.
double getT() const
Get time.
JTrack(const JVertex &vertex)
Constructor.
Scattered light from primary shower.
JComparator< JResult_t T::*, JComparison::lt > make_comparator(JResult_t T::*member)
Helper method to create comparator between values of data member.
Scattered light from Bremsstrahlung.
double getRange() const
Get range of muon.
scattered light from delta-rays
virtual double getA() const
Get energy loss constant.
scattered light from muon