1 #ifndef __JSIRENE__JSIRENETOOLKIT__ 
    2 #define __JSIRENE__JSIRENETOOLKIT__ 
   25 namespace JPP { 
using namespace JSIRENE; }
 
   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));
 
  114     using namespace JAANET;
 
  115     using namespace JPHYSICS;
 
  312       std::vector<
JVertex>(1, vertex)
 
  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));
 
JHitType_t
Enumeration of hit types based on km3 codes. 
 
double getEs() const 
Get shower energy. 
 
JTrack(const JVertex &vertex)
Constructor. 
 
static const JGeane gWater(2.67e-1 *JTOOLS::DENSITY_SEA_WATER, 3.4e-4 *JTOOLS::DENSITY_SEA_WATER)
Function object for Energy loss of muon in sea water. 
 
Scattered light from primary shower. 
 
double getT() const 
Get time. 
 
JVertex & step(const double ds)
Step. 
 
JComparator< JResult_t T::*, JComparison::lt > make_comparator(JResult_t T::*member)
Helper method to create comparator between values of data member. 
 
void applyEloss(const double Es)
Apply energy loss energy. 
 
Direct light from delta-rays. 
 
Scattered light from muon. 
 
scattered light from EM shower 
 
JHitType_t getHitType(const JPDFType_t pdf, const bool shower=false)
Get hit type corresponding to given PDF type. 
 
double getE() const 
Get muon energy. 
 
Scattered light from Bremsstrahlung. 
 
Direct light from Bremsstrahlung. 
 
Direct light from primary shower. 
 
JVertex()
Default constructor. 
 
JVertex(const double z, const double t, const double E)
Constructor. 
 
Numbering scheme for PDF types. 
 
JVertex & step(const JGeane &geane, const double ds)
Step. 
 
scattered light from muon 
 
double getZ() const 
Get position. 
 
double getE(const double z) const 
Get muon energy at given position. 
 
scattered light from delta-rays 
 
direct light from EM shower 
 
Function object for the Energy loss of the muon. 
 
double getKineticEnergy(const double E, const double m)
Get kinetic energy of particle with given mass. 
 
double getRange(const JGeane &geane) const 
Get range of muon. 
 
Vertex of energy loss of muon. 
 
direct light from delta-rays 
 
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 ...
 
Scattered light from delta-rays. 
 
double getRange() const 
Get range of muon. 
 
double getA() const 
Get energy loss constant.