Implementation for calculation of inverse interaction length and shower energy due to deep-inelastic muon-nucleon scattering.  
 More...
#include <JRadiationSource.hh>
 | 
|   | JDISSource (const int id, const double density) | 
|   | Constructor.  
  | 
|   | 
| virtual double  | getInverseInteractionLength (const double E) const override | 
|   | Get inverse interaction length.  
  | 
|   | 
| virtual double  | getEnergyOfShower (const double E) const override | 
|   | Get energy of shower.  
  | 
|   | 
| virtual double  | getThetaRMS (const double E, const double Es) const override | 
|   | Get RMS of scattering angle.  
  | 
|   | 
| int  | getID () const | 
|   | Get radiation identifer.  
  | 
|   | 
| double  | getCrossSection (const double E) const | 
|   | Get cross section.  
  | 
|   | 
| double  | getP (const double E, const double v) const | 
|   | Get probability of given energy fraction.  
  | 
|   | 
| double  | getE (const double E) const | 
|   | Get shower energy.  
  | 
|   | 
| double  | getV (const double E) const | 
|   | Get breakpoint.  
  | 
|   | 
Implementation for calculation of inverse interaction length and shower energy due to deep-inelastic muon-nucleon scattering. 
This class implements the JRadiationInterface interface. 
Definition at line 160 of file JRadiationSource.hh.
 
◆ JDISSource()
  
  
      
        
          | JPHYSICS::JDISSource::JDISSource  | 
          ( | 
          const int |           id,  | 
         
        
           | 
           | 
          const double |           density ) | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | id | radiation identifier  | 
    | density | mass density of radiation material [gr/cm³]  | 
  
   
Definition at line 171 of file JRadiationSource.hh.
  172                                     :
  175    {}
JRadiationInterface(const int id)
Constructor.
 
 
 
 
◆ getInverseInteractionLength()
  
  
      
        
          | virtual double JPHYSICS::JDISSource::getInverseInteractionLength  | 
          ( | 
          const double |           E | ) | 
           const | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
Get inverse interaction length. 
- Parameters
 - 
  
  
 
- Returns
 - inverse interaction length [m^-1] 
 
Implements JPHYSICS::JRadiationInterface.
Definition at line 184 of file JRadiationSource.hh.
  185    {
  187    }
double getCrossSection(const double E) const
Get cross section.
 
static const double AVOGADRO
Avogadro's number.
 
static const double NUCLEON_MOLAR_MASS
nucleon molar mass [g/mol]
 
 
 
 
◆ getEnergyOfShower()
  
  
      
        
          | virtual double JPHYSICS::JDISSource::getEnergyOfShower  | 
          ( | 
          const double |           E | ) | 
           const | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
 
◆ getThetaRMS()
  
  
      
        
          | virtual double JPHYSICS::JDISSource::getThetaRMS  | 
          ( | 
          const double |           E,  | 
         
        
           | 
           | 
          const double |           Es ) const | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
Get RMS of scattering angle. 
- Parameters
 - 
  
    | E | muon energy [GeV]  | 
    | Es | shower energy [GeV]  | 
  
   
- Returns
 - RMS scattering angle [rad] 
 
Implements JPHYSICS::JRadiationInterface.
Definition at line 209 of file JRadiationSource.hh.
  210    {
  212    }
virtual double getThetaRMS(const double E, const double Es) const override
Get RMS of scattering angle.
 
JDIS()
Default constructor.
 
 
 
 
◆ getID()
  
  
      
        
          | int JPHYSICS::JRadiationInterface::getID  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ getCrossSection()
  
  
      
        
          | double JPHYSICS::JDIS::getCrossSection  | 
          ( | 
          const double |           E | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get cross section. 
- Parameters
 - 
  
  
 
- Returns
 - cross section [cm^2] 
 
Definition at line 46 of file JDIS.hh.
   47    {
   48      const double x = log10(E*1.0e+1);
 
   49 
   51        return 0.35e-30 * 
pow(1.0 - 
JDIS_t::E0/E, 2.0) * exp(-2.10/x) * 
pow(10.0, 0.125*x);
 
   52      else
   53        return 0.0;
   54    }
static constexpr double E0
minimal energy [GeV]
 
T pow(const T &x, const double y)
Power .
 
 
 
 
◆ getP()
  
  
      
        
          | double JPHYSICS::JDIS::getP  | 
          ( | 
          const double |           E,  | 
         
        
           | 
           | 
          const double |           v ) const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get probability of given energy fraction. 
- Parameters
 - 
  
    | E | muon energy [GeV]  | 
    | v | energy fraction  | 
  
   
- Returns
 - probability 
 
Definition at line 64 of file JDIS.hh.
   65    {
   66      const JDIS_t dis(E);
   67 
   68      return dis.getP(v);
   69    }
 
 
 
◆ getE()
  
  
      
        
          | double JPHYSICS::JDIS::getE  | 
          ( | 
          const double |           E | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get shower energy. 
- Parameters
 - 
  
  
 
- Returns
 - shower energy [GeV] 
 
Definition at line 78 of file JDIS.hh.
   79    {
   80      const JDIS_t dis(E);
   81 
   82      return dis.getE();
   83    }
 
 
 
◆ getV()
  
  
      
        
          | double JPHYSICS::JDIS::getV  | 
          ( | 
          const double |           E | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get breakpoint. 
- Parameters
 - 
  
  
 
- Returns
 - energy fraction 
 
Definition at line 110 of file JDIS.hh.
  111    {
  113    }
static constexpr double E1
breakpoint [GeV]
 
 
 
 
◆ rho
  
  
      
        
          | const double JPHYSICS::JDISSource::rho | 
         
       
   | 
  
protected   | 
  
 
 
◆ id
  
  
      
        
          | const int JPHYSICS::JRadiationInterface::id | 
         
       
   | 
  
privateinherited   | 
  
 
 
The documentation for this class was generated from the following file: