Variables
genie::constants Namespace Reference

Basic constants. More...

Variables

static const double kLightSpeed = 1.
 
static const double kPlankConstant = 1.
 
static const double kPi = TMath::Pi()
 
static const double kPi2 = TMath::Power(kPi,2)
 
static const double kPi3 = TMath::Power(kPi,3)
 
static const double kPi4 = TMath::Power(kPi,4)
 
static const double kSqrtPi = TMath::Sqrt(kPi)
 
static const double kNapierConst = TMath::E()
 
static const double kSqrtNapierConst = TMath::Sqrt(kNapierConst)
 
static const double kNA = 6.02214179E+23
 
static const double kLe = 3.8616E-11 *units::cm
 
static const double kLe2 = TMath::Power(kLe,2)
 
static const double kAem = 1./137.03599976
 
static const double kAem2 = TMath::Power(kAem,2)
 
static const double kGF = 1.16639E-5
 
static const double kGF2 = TMath::Power(kGF,2)
 
static const double kElectronMass = 5.109989461e-04
 
static const double kMuonMass = 1.056583745e-01
 
static const double kTauMass = 1.77686e+00
 
static const double kPionMass = 1.3957018e-01
 
static const double kPi0Mass = 1.349766e-01
 
static const double kProtonMass = 9.38272081e-01
 
static const double kNeutronMass = 9.39565413e-01
 
static const double kNucleonMass = (kProtonMass+kNeutronMass)/2.
 
static const double kLightestChmHad = 1.870
 
static const double kPhotontest = 1E-6
 
static const double kElectronMass2 = TMath::Power(kElectronMass,2)
 
static const double kMuonMass2 = TMath::Power(kMuonMass,2)
 
static const double kTauMass2 = TMath::Power(kTauMass,2)
 
static const double kPionMass2 = TMath::Power(kPionMass,2)
 
static const double kProtonMass2 = TMath::Power(kProtonMass,2)
 
static const double kNeutronMass2 = TMath::Power(kNeutronMass,2)
 
static const double kNucleonMass2 = TMath::Power(kNucleonMass,2)
 
static const double kMw = 8.0385e+01
 
static const double kMz = 9.11876e+01
 
static const double kMw2 = TMath::Power(kMw,2)
 
static const double kMz2 = TMath::Power(kMz,2)
 
static const double kNucRo = 1.2E-15 * units::m
 
static const double kNucDensity = 2.3E+17 * units::kg/units::m3
 
static const double FMTOGEV = 5.0761421
 
static const double kREarth = 6371 * units::km
 
static const double kSqrt2 = 1.4142136
 
static const double kSqrt3 = 1.7320508
 
static const double kSqrt4 = 2.0
 
static const double kSqrt5 = 2.236068
 
static const double kSqrt6 = 2.4494897
 
static const double kSqrt7 = 2.6457513
 
static const double kSqrt8 = 2.8284271
 
static const double kSqrt9 = 3.0
 
static const double kSqrt10 = 3.1622777
 
static const double kSqrt12 = 3.4641016
 
static const double kSqrt15 = 3.8729833
 
static const double kSqrt18 = 4.2426407
 
static const double kSqrt20 = 4.472136
 
static const double kSqrt24 = 4.8989795
 
static const double kSqrt27 = 5.1961524
 
static const double kSqrt30 = 5.4772256
 
static const double kSqrt35 = 5.9160798
 
static const double kSqrt40 = 6.3245553
 
static const double kSqrt60 = 7.7459667
 
static const double kSqrt120 = 10.954451
 
static const double k1_Sqrt2 = 0.70710678
 
static const double k1_Sqrt3 = 0.57735027
 
static const double k1_Sqrt5 = 0.44721360
 
static const double k1_Sqrt6 = 0.40824829
 
static const double k1_Sqrt7 = 0.37796447
 
static const double k1_Sqrt10 = 0.31622777
 
static const double k1_Sqrt15 = 0.25819889
 
static const double k1_Sqrt24 = 0.20412415
 
static const double k1_Sqrt30 = 0.18257419
 
static const double k1_Sqrt35 = 0.16903085
 
static const double k1_Sqrt60 = 0.12909944
 
static const double k1_Sqrt120 = 0.091287093
 
static const double k2_Sqrt3 = 1.1547005
 
static const double k2_Sqrt5 = 0.89442719
 
static const double k2_Sqrt15 = 0.51639778
 
static const double k2_Sqrt35 = 0.3380617
 
static const double k3_Sqrt2 = 2.1213203
 
static const double k3_Sqrt5 = 1.3416408
 
static const double k3_Sqrt10 = 0.9486833
 
static const double k3_Sqrt20 = 0.67082039
 
static const double k3_Sqrt40 = 0.47434165
 
static const double kSqrt2_3 = 0.81649658
 
static const double kSqrt2_5 = 0.63245553
 
static const double kSqrt2_6 = 0.57735027
 
static const double kSqrt2_7 = 0.53452248
 
static const double kSqrt2_15 = 0.36514837
 
static const double kSqrt3_2 = 1.2247449
 
static const double kSqrt3_4 = 0.8660254
 
static const double kSqrt3_5 = 0.77459667
 
static const double kSqrt3_8 = 0.61237244
 
static const double kSqrt3_10 = 0.54772256
 
static const double kSqrt3_18 = 0.40824829
 
static const double kSqrt3_20 = 0.38729833
 
static const double kSqrt3_35 = 0.29277002
 
static const double kSqrt3_40 = 0.27386128
 
static const double kSqrt4_15 = 0.51639778
 
static const double kSqrt5_2 = 1.5811388
 
static const double kSqrt5_3 = 1.2909944
 
static const double kSqrt5_8 = 0.79056942
 
static const double kSqrt5_12 = 0.64549722
 
static const double kSqrt6_5 = 1.0954451
 
static const double kSqrt6_35 = 0.41403934
 
static const double kSqrt9_10 = 0.9486833
 
static const double kSqrt9_40 = 0.47434165
 
static const double kSqrt18_5 = 1.8973666
 
static const double kSqrt18_20 = 0.9486833
 
static const double kSqrt18_35 = 0.71713717
 
static const double kSqrt24_35 = 0.82807867
 
static const double kSqrt27_10 = 1.6431677
 
static const double kSqrt27_40 = 0.82158384
 
static const double k4NucMass2 = 4.000 * kNucleonMass2
 
static const double k4EleMass2 = 4.000 * kElectronMass2
 
static const double kNucMassDiff = kNeutronMass - kProtonMass
 
static const double kNucMassDiff2 = kNucMassDiff * kNucMassDiff
 

Detailed Description

Basic constants.

Author
Costas Andreopoulos <costas.andreopoulos stfc.ac.uk> University of Liverpool & STFC Rutherford Appleton Lab

May 03, 2004

Copyright (c) 2003-2019, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org or see $GENIE/LICENSE

Variable Documentation

const double genie::constants::FMTOGEV = 5.0761421
static

Definition at line 105 of file Constants.h.

const double genie::constants::k1_Sqrt10 = 0.31622777
static

Definition at line 141 of file Constants.h.

const double genie::constants::k1_Sqrt120 = 0.091287093
static
const double genie::constants::k1_Sqrt15 = 0.25819889
static
const double genie::constants::k1_Sqrt2 = 0.70710678
static
const double genie::constants::k1_Sqrt24 = 0.20412415
static
const double genie::constants::k1_Sqrt3 = 0.57735027
static
const double genie::constants::k1_Sqrt30 = 0.18257419
static
const double genie::constants::k1_Sqrt35 = 0.16903085
static
const double genie::constants::k1_Sqrt5 = 0.44721360
static
const double genie::constants::k1_Sqrt6 = 0.40824829
static
const double genie::constants::k1_Sqrt60 = 0.12909944
static

Definition at line 146 of file Constants.h.

const double genie::constants::k1_Sqrt7 = 0.37796447
static
const double genie::constants::k2_Sqrt15 = 0.51639778
static
const double genie::constants::k2_Sqrt3 = 1.1547005
static
const double genie::constants::k2_Sqrt35 = 0.3380617
static
const double genie::constants::k2_Sqrt5 = 0.89442719
static

Definition at line 149 of file Constants.h.

const double genie::constants::k3_Sqrt10 = 0.9486833
static
const double genie::constants::k3_Sqrt2 = 2.1213203
static
const double genie::constants::k3_Sqrt20 = 0.67082039
static
const double genie::constants::k3_Sqrt40 = 0.47434165
static
const double genie::constants::k3_Sqrt5 = 1.3416408
static
const double genie::constants::k4EleMass2 = 4.000 * kElectronMass2
static

Definition at line 31 of file Constants.h.

Referenced by genie::StrumiaVissaniIBDPXSec::MBterm().

const double genie::constants::k4NucMass2 = 4.000 * kNucleonMass2
static
const double genie::constants::kAem = 1./137.03599976
static
const double genie::constants::kAem2 = TMath::Power(kAem,2)
static
const double genie::constants::kElectronMass = 5.109989461e-04
static
const double genie::constants::kElectronMass2 = TMath::Power(kElectronMass,2)
static
const double genie::constants::kGF = 1.16639E-5
static
const double genie::constants::kGF2 = TMath::Power(kGF,2)
static
const double genie::constants::kLe = 3.8616E-11 *units::cm
static

Definition at line 51 of file Constants.h.

Referenced by genie::mueloss::gsl::KokoulinPetrukhinIntegrand::DoEval().

const double genie::constants::kLe2 = TMath::Power(kLe,2)
static
const double genie::constants::kLightestChmHad = 1.870
static
const double genie::constants::kLightSpeed = 1.
static
const double genie::constants::kMuonMass = 1.056583745e-01
static
const double genie::constants::kMuonMass2 = TMath::Power(kMuonMass,2)
static
const double genie::constants::kMw = 8.0385e+01
static

Definition at line 92 of file Constants.h.

Referenced by genie::GLRESPXSec::Integral().

const double genie::constants::kMw2 = TMath::Power(kMw,2)
static
const double genie::constants::kMz = 9.11876e+01
static

Definition at line 93 of file Constants.h.

const double genie::constants::kMz2 = TMath::Power(kMz,2)
static

Definition at line 95 of file Constants.h.

Referenced by genie::QPMDISPXSec::XSec().

const double genie::constants::kNA = 6.02214179E+23
static
const double genie::constants::kNapierConst = TMath::E()
static

Definition at line 44 of file Constants.h.

Referenced by genie::utils::gsl::dXSec_Log_Wrapper::DoEval().

const double genie::constants::kNeutronMass = 9.39565413e-01
static
const double genie::constants::kNeutronMass2 = TMath::Power(kNeutronMass,2)
static
const double genie::constants::kNucDensity = 2.3E+17 * units::kg/units::m3
static

Definition at line 101 of file Constants.h.

const double genie::constants::kNucleonMass = (kProtonMass+kNeutronMass)/2.
static
const double genie::constants::kNucleonMass2 = TMath::Power(kNucleonMass,2)
static
const double genie::constants::kNucMassDiff = kNeutronMass - kProtonMass
static
const double genie::constants::kNucMassDiff2 = kNucMassDiff * kNucMassDiff
static

Definition at line 33 of file Constants.h.

Referenced by genie::StrumiaVissaniIBDPXSec::MAterm().

const double genie::constants::kNucRo = 1.2E-15 * units::m
static

Definition at line 100 of file Constants.h.

const double genie::constants::kPhotontest = 1E-6
static
const double genie::constants::kPi = TMath::Pi()
static
const double genie::constants::kPi0Mass = 1.349766e-01
static
const double genie::constants::kPi2 = TMath::Power(kPi,2)
static
const double genie::constants::kPi3 = TMath::Power(kPi,3)
static

Definition at line 40 of file Constants.h.

Referenced by genie::ReinDFRPXSec::XSec(), and genie::ReinSehgalCOHPiPXSec::XSec().

const double genie::constants::kPi4 = TMath::Power(kPi,4)
static
const double genie::constants::kPionMass = 1.3957018e-01
static

Definition at line 74 of file Constants.h.

Referenced by genie::COHKinematicsGenerator::CalculateKin_AlvarezRuso(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), genie::COHKinematicsGenerator::CheckKinematics(), genie::utils::kinematics::CohYLim(), genie::QPMDISPXSec::DISRESJoinSuppressionFactor(), genie::QPMDMDISPXSec::DMDISRESJoinSuppressionFactor(), genie::utils::gsl::d5XSecAR::DoEval(), genie::utils::gsl::d5Xsec_dEldOmegaldOmegapi::DoEval(), genie::utils::gsl::d4Xsec_dEldThetaldOmegapi::DoEval(), genie::utils::gsl::d3Xsec_dOmegaldThetapi::DoEval(), genie::BaryonResonanceDecayer::EvolveDeltaDecayWidth(), genie::BergerSehgalFMCOHPiPXSec2015::ExactKinematicTerm(), genie::BergerSehgalCOHPiPXSec2015::ExactKinematicTerm(), genie::LwlynSmithFFNC::Fp(), genie::LwlynSmithFF::Fp(), genie::KNOPythiaHadronization::Hadronize(), genie::CharmHadronization::Hadronize(), genie::utils::hadxs::InelasticPionNucleonXSec(), genie::HadronizationModelBase::MaxMult(), genie::COHKinematicsGenerator::MaxXSec_AlvarezRuso(), genie::BergerSehgalFMCOHPiPXSec2015::PionCOMAbsMomentum(), genie::BergerSehgalCOHPiPXSec2015::PionCOMAbsMomentum(), genie::COHKinematicsGenerator::pionMass(), genie::utils::hadxs::berger::PionNucleonXSec(), genie::P33PaschosLalakulichPXSec::PPiStar(), genie::KPhaseSpace::Q2Lim(), genie::COHKinematicsGenerator::SetKinematics(), genie::KPhaseSpace::Threshold(), genie::KPhaseSpace::TLim(), genie::utils::hadxs::TotalPionNucleonXSec(), genie::KPhaseSpace::WLim(), genie::HadronizationModelBase::Wmin(), genie::AlamSimoAtharVacasSKPXSec2014::XSec(), genie::ReinDFRPXSec::XSec(), genie::BergerSehgalFMCOHPiPXSec2015::XSec(), genie::BergerSehgalCOHPiPXSec2015::XSec(), genie::ReinSehgalCOHPiPXSec::XSec(), and genie::KPhaseSpace::YLim().

const double genie::constants::kPionMass2 = TMath::Power(kPionMass,2)
static
const double genie::constants::kPlankConstant = 1.
static
const double genie::constants::kProtonMass = 9.38272081e-01
static
const double genie::constants::kProtonMass2 = TMath::Power(kProtonMass,2)
static
const double genie::constants::kREarth = 6371 * units::km
static
const double genie::constants::kSqrt10 = 3.1622777
static

Definition at line 124 of file Constants.h.

Referenced by genie::RSHelicityAmplModelEMn::Compute().

const double genie::constants::kSqrt12 = 3.4641016
static

Definition at line 125 of file Constants.h.

const double genie::constants::kSqrt120 = 10.954451
static

Definition at line 135 of file Constants.h.

const double genie::constants::kSqrt15 = 3.8729833
static
const double genie::constants::kSqrt18 = 4.2426407
static

Definition at line 127 of file Constants.h.

const double genie::constants::kSqrt18_20 = 0.9486833
static
const double genie::constants::kSqrt18_35 = 0.71713717
static
const double genie::constants::kSqrt18_5 = 1.8973666
static
const double genie::constants::kSqrt2 = 1.4142136
static
const double genie::constants::kSqrt20 = 4.472136
static

Definition at line 128 of file Constants.h.

const double genie::constants::kSqrt24 = 4.8989795
static

Definition at line 129 of file Constants.h.

const double genie::constants::kSqrt24_35 = 0.82807867
static

Definition at line 183 of file Constants.h.

Referenced by genie::RSHelicityAmplModelCC::Compute().

const double genie::constants::kSqrt27 = 5.1961524
static

Definition at line 130 of file Constants.h.

const double genie::constants::kSqrt27_10 = 1.6431677
static
const double genie::constants::kSqrt27_40 = 0.82158384
static
const double genie::constants::kSqrt2_15 = 0.36514837
static

Definition at line 161 of file Constants.h.

Referenced by genie::RSHelicityAmplModelCC::Compute().

const double genie::constants::kSqrt2_3 = 0.81649658
static
const double genie::constants::kSqrt2_5 = 0.63245553
static

Definition at line 158 of file Constants.h.

Referenced by genie::RSHelicityAmplModelEMn::Compute().

const double genie::constants::kSqrt2_6 = 0.57735027
static

Definition at line 159 of file Constants.h.

const double genie::constants::kSqrt2_7 = 0.53452248
static
const double genie::constants::kSqrt3 = 1.7320508
static
const double genie::constants::kSqrt30 = 5.4772256
static

Definition at line 131 of file Constants.h.

Referenced by genie::RSHelicityAmplModelEMn::Compute().

const double genie::constants::kSqrt35 = 5.9160798
static

Definition at line 132 of file Constants.h.

const double genie::constants::kSqrt3_10 = 0.54772256
static
const double genie::constants::kSqrt3_18 = 0.40824829
static

Definition at line 167 of file Constants.h.

const double genie::constants::kSqrt3_2 = 1.2247449
static
const double genie::constants::kSqrt3_20 = 0.38729833
static
const double genie::constants::kSqrt3_35 = 0.29277002
static
const double genie::constants::kSqrt3_4 = 0.8660254
static

Definition at line 163 of file Constants.h.

Referenced by genie::RSHelicityAmplModelCC::Compute().

const double genie::constants::kSqrt3_40 = 0.27386128
static
const double genie::constants::kSqrt3_5 = 0.77459667
static
const double genie::constants::kSqrt3_8 = 0.61237244
static
const double genie::constants::kSqrt4 = 2.0
static

Definition at line 118 of file Constants.h.

const double genie::constants::kSqrt40 = 6.3245553
static

Definition at line 133 of file Constants.h.

const double genie::constants::kSqrt4_15 = 0.51639778
static
const double genie::constants::kSqrt5 = 2.236068
static

Definition at line 119 of file Constants.h.

const double genie::constants::kSqrt5_12 = 0.64549722
static
const double genie::constants::kSqrt5_2 = 1.5811388
static

Definition at line 172 of file Constants.h.

Referenced by genie::RSHelicityAmplModelCC::Compute().

const double genie::constants::kSqrt5_3 = 1.2909944
static

Definition at line 173 of file Constants.h.

Referenced by genie::RSHelicityAmplModelCC::Compute().

const double genie::constants::kSqrt5_8 = 0.79056942
static
const double genie::constants::kSqrt6 = 2.4494897
static
const double genie::constants::kSqrt60 = 7.7459667
static

Definition at line 134 of file Constants.h.

const double genie::constants::kSqrt6_35 = 0.41403934
static
const double genie::constants::kSqrt6_5 = 1.0954451
static

Definition at line 176 of file Constants.h.

Referenced by genie::RSHelicityAmplModelCC::Compute().

const double genie::constants::kSqrt7 = 2.6457513
static

Definition at line 121 of file Constants.h.

const double genie::constants::kSqrt8 = 2.8284271
static

Definition at line 122 of file Constants.h.

const double genie::constants::kSqrt9 = 3.0
static

Definition at line 123 of file Constants.h.

const double genie::constants::kSqrt9_10 = 0.9486833
static

Definition at line 178 of file Constants.h.

Referenced by genie::RSHelicityAmplModelCC::Compute().

const double genie::constants::kSqrt9_40 = 0.47434165
static

Definition at line 179 of file Constants.h.

Referenced by genie::RSHelicityAmplModelNCn::Compute().

const double genie::constants::kSqrtNapierConst = TMath::Sqrt(kNapierConst)
static
const double genie::constants::kSqrtPi = TMath::Sqrt(kPi)
static

Definition at line 42 of file Constants.h.

const double genie::constants::kTauMass = 1.77686e+00
static

Definition at line 73 of file Constants.h.

const double genie::constants::kTauMass2 = TMath::Power(kTauMass,2)
static

Definition at line 86 of file Constants.h.