Muon trajectory.  
 More...
#include <JSireneToolkit.hh>
Muon trajectory. 
Definition at line 247 of file JSireneToolkit.hh.
 
◆ JTrack()
  
  
      
        
          | JSIRENE::JTrack::JTrack  | 
          ( | 
          const JPoint &  | 
          point | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ getE()
  
  
      
        
          | double JSIRENE::JTrack::getE  | 
          ( | 
          const double  | 
          z | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get muon energy at given position along trajectory. 
- Parameters
 - 
  
  
 
- Returns
 - energy [GeV] 
 
Definition at line 266 of file JSireneToolkit.hh.
  268        if (!this->empty()) {
 
  272         if (p != this->end() && p != this->begin()) {
 
  276           return p->getE() -  (z - p->getZ()) * 
gWater.
getA();
 
double getZ() const
Get z position.
 
virtual double getA() const override
Get energy loss constant.
 
JComparator< JResult_t T::*, JComparison::lt > make_comparator(JResult_t T::*member)
Helper method to create comparator between values of data member.
 
static const double MASS_MUON
muon mass [GeV]
 
static const JGeaneWater gWater
Function object for energy loss of muon in sea water.
 
 
 
 
◆ getPosition()
  
  
      
        
          | JVector2D JSIRENE::JTrack::getPosition  | 
          ( | 
          const double  | 
          z | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get muon position at given position along trajectory. 
- Parameters
 - 
  
  
 
- Returns
 - position 
 
Definition at line 290 of file JSireneToolkit.hh.
  294       const double precision = 1.0e-2;
 
  296       if (!this->empty()) {
 
  300         if (p == this->end()) { 
 
  304         if (p == this->begin()) {
 
  313           pos  = p->getPosition();
 
  317           pos -= p->getPosition();
 
  319           const double u = (pos.
getZ() > precision ? (z - p->getZ()) / pos.
getZ() : 0.0);
 
  322                            p->getY() + 
u * pos.
getY());
 
Data structure for vector in two dimensions.
 
Data structure for vector in three dimensions.
 
double getY() const
Get y position.
 
double getX() const
Get x position.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
 
 
 
The documentation for this struct was generated from the following file: