Jpp  18.2.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

JPHYSICS::JDIS::JDIS ( )
inline

Default constructor.

Definition at line 36 of file JDIS.hh.

37  {}

Member Function Documentation

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  }
then usage $script< input file >[option[primary[working directory]]] nWhere option can be E
Definition: JMuonPostfit.sh:40
static constexpr double E0
minimal energy [GeV]
Definition: JDIS.hh:204
set_variable E_E log10(E_{fit}/E_{#mu})"
T pow(const T &x, const double y)
Power .
Definition: JMath.hh:97
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable STRING $argv[2] set_array QUANTILES set_variable FORMULA *[0] exp(-0.5 *(x-[1])*(x-[1])/([2]*[2]))" set_variable MODULE `getModule -a $DETECTOR -L "$STRING 0"` source JAcousticsToolkit.sh typeset -A TRIPODS get_tripods $WORKDIR/tripod.txt TRIPODS XMEAN
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  }
then usage $script< input file >[option[primary[working directory]]] nWhere option can be E
Definition: JMuonPostfit.sh:40
data_type v[N+1][M+1]
Definition: JPolint.hh:777
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  }
then usage $script< input file >[option[primary[working directory]]] nWhere option can be E
Definition: JMuonPostfit.sh:40
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  }
then usage $script< input file >[option[primary[working directory]]] nWhere option can be E
Definition: JMuonPostfit.sh:40
T pow(const T &x, const double y)
Power .
Definition: JMath.hh:97
data_type v[N+1][M+1]
Definition: JPolint.hh:777
double u[N+1]
Definition: JPolint.hh:776
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  }
then usage $script< input file >[option[primary[working directory]]] nWhere option can be E
Definition: JMuonPostfit.sh:40
static constexpr double E1
breakpoint [GeV]
Definition: JDIS.hh:205

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