Jpp  18.5.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JPHYSICS::JGeane Class Referenceabstract

Interface for muon energy loss. More...

#include <JGeane.hh>

Inheritance diagram for JPHYSICS::JGeane:
JPHYSICS::JGeane_t JPHYSICS::JGeaneWater

Public Member Functions

virtual double getA () const =0
 Get energy loss constant. More...
 
virtual double getB () const =0
 Get energy loss constant. More...
 
virtual double getE (const double E, const double dx) const =0
 Get energy of muon after specified distance. More...
 
virtual double getX (const double E0, const double E1) const =0
 Get distance traveled by muon. More...
 
double operator() (const double E, const double dx) const
 Energy of muon after specified distance. More...
 
double operator() (const double E) const
 Range of muon. More...
 
double operator() () const
 Equivalent unit track length per unit shower energy and per unit track length. More...
 

Detailed Description

Interface for muon energy loss.

This interface provides for the various function object operators.

Definition at line 39 of file JGeane.hh.

Member Function Documentation

virtual double JPHYSICS::JGeane::getA ( ) const
pure virtual

Get energy loss constant.

Returns
Energy loss due to ionisation [GeV/m]

Implemented in JPHYSICS::JGeaneWater, and JPHYSICS::JGeane_t.

virtual double JPHYSICS::JGeane::getB ( ) const
pure virtual

Get energy loss constant.

Returns
Energy loss due to pair production and bremsstrahlung [m^-1]

Implemented in JPHYSICS::JGeaneWater, and JPHYSICS::JGeane_t.

virtual double JPHYSICS::JGeane::getE ( const double  E,
const double  dx 
) const
pure virtual

Get energy of muon after specified distance.

Parameters
EEnergy of muon [GeV]
dxdistance traveled [m]
Returns
Energy of muon [GeV]

Implemented in JPHYSICS::JGeaneWater, and JPHYSICS::JGeane_t.

virtual double JPHYSICS::JGeane::getX ( const double  E0,
const double  E1 
) const
pure virtual

Get distance traveled by muon.

Parameters
E0Energy of muon at start [GeV]
E1Energy of muon at end [GeV]
Returns
distance traveled [m]

Implemented in JPHYSICS::JGeaneWater, and JPHYSICS::JGeane_t.

double JPHYSICS::JGeane::operator() ( const double  E,
const double  dx 
) const
inline

Energy of muon after specified distance.

Parameters
EEnergy of muon [GeV]
dxdistance traveled [m]
Returns
Energy of muon [GeV]

Definition at line 85 of file JGeane.hh.

86  {
87  return this->getE(E, dx);
88  }
then usage $script< input file >[option[primary[working directory]]] nWhere option can be E
Definition: JMuonPostfit.sh:40
virtual double getE(const double E, const double dx) const =0
Get energy of muon after specified distance.
double JPHYSICS::JGeane::operator() ( const double  E) const
inline

Range of muon.

Parameters
EEnergy of muon [GeV]
Returns
range [m]

Definition at line 97 of file JGeane.hh.

98  {
99  return this->getX(E, 0.0);
100  }
then usage $script< input file >[option[primary[working directory]]] nWhere option can be E
Definition: JMuonPostfit.sh:40
virtual double getX(const double E0, const double E1) const =0
Get distance traveled by muon.
double JPHYSICS::JGeane::operator() ( ) const
inline

Equivalent unit track length per unit shower energy and per unit track length.

Returns
equivalent unit track length [Gev^-1]

Definition at line 108 of file JGeane.hh.

109  {
110  return this->getB() * geanc();
111  }
double geanc()
Equivalent muon track length per unit shower energy.
Definition: JGeane.hh:28
virtual double getB() const =0
Get energy loss constant.

The documentation for this class was generated from the following file: