Jpp  master_rocky-40-g5f0272dcd
the software that should make you happy
Classes | Public Member Functions | List of all members
JPHYSICS::JDIS Class Reference

Deep-inelastic muon-nucleon scattering. More...

#include <JDIS.hh>

Inheritance diagram for JPHYSICS::JDIS:
JPHYSICS::JDISSource

Classes

class  JDIS_t
 Auxiliary helper class for kinematics of deep-inelastic muon-nucleon scattering at fixed muon energy. More...
 

Public Member Functions

 JDIS ()
 Default constructor. More...
 
double getCrossSection (const double E) const
 Get cross section. More...
 
double getP (const double E, const double v) const
 Get probability of given energy fraction. More...
 
double getE (const double E) const
 Get shower energy. More...
 
double getThetaRMS (const double E, const double v) const
 Get RMS of scattering angle. More...
 
double getV (const double E) const
 Get breakpoint. More...
 

Detailed Description

Deep-inelastic muon-nucleon scattering.

For cross section, see reference:
D.A. Timashkov and A.A. Petrukhin, 29th International Cosmic Ray Conference Pune (2005) 9, 89-92.

For kinematics, see reference:
A. van Ginneken, Nucl. Instr. and Meth. A251 (1986) 21.

Definition at line 31 of file JDIS.hh.

Constructor & Destructor Documentation

◆ JDIS()

JPHYSICS::JDIS::JDIS ( )
inline

Default constructor.

Definition at line 36 of file JDIS.hh.

37  {}

Member Function Documentation

◆ getCrossSection()

double JPHYSICS::JDIS::getCrossSection ( const double  E) const
inline

Get cross section.

Parameters
Emuon energy [GeV]
Returns
cross section [cm^2]

Definition at line 46 of file JDIS.hh.

47  {
48  const double x = log10(E*1.0e+1);
49 
50  if (E > JDIS_t::E0)
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]
Definition: JDIS.hh:204
T pow(const T &x, const double y)
Power .
Definition: JMath.hh:97

◆ getP()

double JPHYSICS::JDIS::getP ( const double  E,
const double  v 
) const
inline

Get probability of given energy fraction.

Parameters
Emuon energy [GeV]
venergy 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  }
data_type v[N+1][M+1]
Definition: JPolint.hh:866

◆ getE()

double JPHYSICS::JDIS::getE ( const double  E) const
inline

Get shower energy.

Parameters
Emuon energy [GeV]
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  }

◆ getThetaRMS()

double JPHYSICS::JDIS::getThetaRMS ( const double  E,
const double  v 
) const
inline

Get RMS of scattering angle.

Parameters
Emuon energy [GeV]
venergy loss fraction
Returns
angle [rad]

Definition at line 93 of file JDIS.hh.

94  {
95  const double u = 1.0 - v;
96 
97  if (E*v > 0.135)
98  return (0.39 / (E*u)) * pow(sqrt(E)*u*v, 0.17) * (1.0 - 0.135/(E*v));
99  else
100  return 0.0;
101  }
double u[N+1]
Definition: JPolint.hh:865

◆ getV()

double JPHYSICS::JDIS::getV ( const double  E) const
inline

Get breakpoint.

Parameters
Emuon energy [GeV]
Returns
energy fraction

Definition at line 110 of file JDIS.hh.

111  {
112  return JDIS_t::E1/E;
113  }
static constexpr double E1
breakpoint [GeV]
Definition: JDIS.hh:205

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