Jpp 21.0.1
the software that should make you happy
Loading...
Searching...
No Matches
JPHYSICS Namespace Reference

Auxiliary methods for light properties of deep-sea water. More...

Namespaces

namespace  PDF
 

Classes

struct  JAbsorptionLength
 Auxiliary data structure to customize absorption length. More...
 
class  JAbstractLED
 Interface for emission profile from LED. More...
 
class  JAbstractMedium
 Medium interface. More...
 
class  JAbstractPDF
 Probability Density Functions of the time response of a PMT with an implementation for the JDispersionInterface interface. More...
 
class  JAbstractPMT
 PMT interface. More...
 
class  JACoeffInterface
 Interface for calculation of ionization constant. More...
 
class  JACoeffSource
 Implementation for calculation of ionization constant. More...
 
class  JCDFTable
 Multi-dimensional CDF table for arrival time of Cherenkov light. More...
 
class  JCDFTable1D
 Custom class for CDF table in 1 dimension. More...
 
class  JCDFTable2D
 Custom class for CDF table in 2 dimensions. More...
 
struct  JColorFactor
 Auxiliary class for color factors of SM fields. More...
 
struct  JDeltaRays
 Auxiliary data structure for delta-rays. More...
 
class  JDeltaRaysSource
 Implementation for calculation of inverse interaction length and shower energy due to delta-rays from muon. More...
 
class  JDIS
 Deep-inelastic muon-nucleon scattering. More...
 
class  JDispersion
 Implementation of dispersion for water in deep sea. More...
 
class  JDispersionInterface
 Light dispersion inteface. More...
 
class  JDISSource
 Implementation for calculation of inverse interaction length and shower energy due to deep-inelastic muon-nucleon scattering. More...
 
struct  JElectricCharge
 Auxiliary class for electric charges of SM fields. More...
 
class  JGeane
 Interface for muon energy loss. More...
 
class  JGeane_t
 Function object for the energy loss of the muon. More...
 
class  JGeaneWater
 Function object for energy dependent energy loss of the muon. More...
 
class  JGeant
 Function object for the probability density function of photon emission from EM-shower as a function of the index of refraction and the cosine of the emission angle. More...
 
class  JGeant_t
 Base class for the probability density function of photon emission from EM-shower as a function of the index of refraction and the cosine of the emission angle. More...
 
class  JGeanx
 Probability density function of photon emission from EM-shower as a function of cosine of the emission angle. More...
 
class  JGeanz
 Function object for longitudinal profile of EM-shower. More...
 
struct  JK40Rates
 Auxiliary class for K40 rates. More...
 
class  JLED
 Probability Density Functions of the time response of a PMT. More...
 
class  JLED_C
 Probability Density Functions of the time response of a PMT (C-like interface) More...
 
struct  JMixedK40Rates
 Auxiliary class for mixed-L1/L0 K40 rates. More...
 
struct  JMobley
 Auxiliary data structure for scattering lengths of deep-sea water. More...
 
class  JNPETable
 Custom class for integrated values of the PDF of the arrival time of Cherenkov light. More...
 
struct  JPassarinoVeltman
 Singleton class for computing Passarino-Veltman functions using LoopTools. More...
 
class  JPD0Transformer_t
 Transformer for the 1D probability density function (PDF) of the time response of a PMT due to a point source. More...
 
class  JPDF
 Low level interface for the calculation of the Probability Density Functions (PDFs) of the arrival time of Cherenkov light from a muon or an EM-shower on a photo-multiplier tube (PMT). More...
 
class  JPDF_C
 Probability Density Functions of the time response of a PMT with an implementation of the JAbstractPMT and JAbstractMedium interfaces via C-like methods. More...
 
class  JPDFTable
 Multi-dimensional PDF table for arrival time of Cherenkov light. More...
 
class  JPDFTransformer
 Template definition of transformer of the probability density function (PDF) of the time response of a PMT. More...
 
class  JPDFTransformer< 2, JArgument_t >
 Template specialisation of transformer of the 2D probability density function (PDF) of the time response of a PMT due to a bright point. More...
 
class  JPDFTransformer< 3, JArgument_t >
 Template specialisation of transformer of the 3D probability density function (PDF) of the time response of a PMT due to a muon. More...
 
class  JPDFTransformer< 4, JArgument_t >
 Template specialisation of transformer of the 4D probability density function (PDF) of the time response of a PMT due to an EM shower. More...
 
class  JPDFTransformer< 5, JArgument_t >
 Template specialisation of transformer of the 5D probability density function (PDF) of the time response of a PMT due to an EM shower. More...
 
class  JPDFTransformer_t
 Transformer for the 1D probability density function (PDF) of the time response of a PMT to a muon. More...
 
class  JPDGTransformer_t
 Transformer for the 2D probability density function (PDF) of the time response of a PMT due to an EM shower. More...
 
struct  JPMTAngularAcceptance
 Auxiliary data structure to customize PMT angular acceptance. More...
 
struct  JQE
 Auxiliary data structure to customize quantum efficiency. More...
 
class  JRadiation
 Auxiliary class for the calculation of the muon radiative cross sections. More...
 
class  JRadiationFunction
 Fast implementation of class JRadiation. More...
 
class  JRadiationInterface
 Interface for calculation of inverse interaction length and shower energy. More...
 
class  JRadiationSource
 Implementation for calculation of inverse interaction length and shower energy. More...
 
struct  JScatteringLength
 Auxiliary data structure to customize scattering length. More...
 
struct  JScatteringProbability
 Auxiliary data structure to customize scattering probability. More...
 
struct  JSeaWater
 Sea water composition. More...
 
struct  JSter
 Struct for the Sternheimer coefficients. More...
 
struct  JSterCoefficient
 Auxiliary data structure Ster coefficients as a function of proton number. More...
 
struct  JWeakHyperCharge
 Auxiliary class for weak hypercharges of SM fields. More...
 
struct  JWeakIsospinProjection
 Auxiliary class for weak isospin projections of SM fields. More...
 

Typedefs

typedef JTOOLS::JRange< double > JEnergyRange
 Type definition for energy range (unit [GeV]).
 
typedef JTOOLS::JGridPolint1Function1D_t JGeantFunction1D_t
 
typedef double JRateL0_t
 Type definition of singles rate [Hz].
 
typedef std::vector< double > JRateL1_t
 Type definition of count rate as a function of multiplicty [Hz] The multiples rate start counting at two-fold coincidences.
 
typedef size_t multiplicity_type
 Type definition of multiplicity.
 
typedef JTOOLS::JElement2D< double, double > JElement2D_t
 
typedef JTOOLS::JElement3D< double, double > JElement3D_t
 
typedef JTOOLS::JRange< double > JTimeRange
 Type definition for time range (unit [ns]).
 

Enumerations

enum class  JColorFactor_t : int { ZERO = 0 , ONE = 1 , THREE = 3 }
 Enumeration for color factors of SM fields. More...
 
enum class  JColorCharge_t : char { RED = 'r' , BLUE = 'b' , GREEN = 'g' }
 Enumeration for color charges of SM fields. More...
 
enum  JPDFType_t {
  DIRECT_LIGHT_FROM_MUON = 1 , SCATTERED_LIGHT_FROM_MUON = 2 , DIRECT_LIGHT_FROM_EMSHOWERS = 3 , SCATTERED_LIGHT_FROM_EMSHOWERS = 4 ,
  DIRECT_LIGHT_FROM_DELTARAYS = 5 , SCATTERED_LIGHT_FROM_DELTARAYS = 6 , SCATTERED_LIGHT_FROM_MUON_5D = 12 , DIRECT_LIGHT_FROM_EMSHOWER = 13 ,
  SCATTERED_LIGHT_FROM_EMSHOWER = 14 , DIRECT_LIGHT_FROM_BRIGHT_POINT = 23 , SCATTERED_LIGHT_FROM_BRIGHT_POINT = 24 , LIGHT_FROM_ELONGATED_EMSHOWER = 113 ,
  LIGHT_FROM_MUON = 1001 , LIGHT_FROM_EMSHOWERS = 1003 , LIGHT_FROM_DELTARAYS = 1005 , LIGHT_FROM_EMSHOWER = 1013 ,
  LIGHT_FROM_BRIGTH_POINT = 1023
}
 PDF types. More...
 

Functions

const double getSpeedOfLight ()
 Get speed of light.
 
const double getInverseSpeedOfLight ()
 Get inverse speed of light.
 
double getIndexOfRefraction ()
 Get average index of refraction of water corresponding to group velocity.
 
double getIndexOfRefractionPhase ()
 Get average index of refraction of water corresponding to phase velocity.
 
double getTanThetaC ()
 Get average tangent of Cherenkov angle of water corresponding to group velocity.
 
double getCosThetaC ()
 Get average cosine of Cherenkov angle of water corresponding to group velocity.
 
double getSinThetaC ()
 Get average sine of Cherenkov angle of water corresponding to group velocity.
 
double getKappaC ()
 Get average R-dependence of arrival time of Cherenkov light (a.k.a.
 
double getFineStructureConstant ()
 Get fine-structure constant.
 
double getReducedFineStructureConstant ()
 Get reduced fine-structure constant.
 
double getSin2ThetaW ()
 Get squared sine of weak mixing angle.
 
double getCos2ThetaW ()
 Get squared cosine of weak mixing angle.
 
double getVeltmanParameter ()
 Get leading-order Veltman parameter ( $Delta rho$).
 
double geanc ()
 Equivalent muon track length per unit shower energy.
 
static const JGeane_t fWater (2.67e-1 *DENSITY_SEA_WATER, 3.40e-4 *DENSITY_SEA_WATER)
 Function object for energy loss of muon in sea water.
 
static const JGeane_t gRock (2.67e-1 *0.9 *DENSITY_ROCK, 3.40e-4 *1.2 *DENSITY_ROCK)
 Function object for energy loss of muon in rock.
 
template<class T >
std::string getKey (const std::map< std::string, T > &map, const std::string &key, const T &value)
 Auxiliary method to get preferred key for given value.
 
double getMinimalWavelength ()
 Get minimal wavelength for PDF evaluations.
 
double getMaximalWavelength ()
 Get maximal wavelength for PDF evaluations.
 
double cherenkov (const double lambda, const double n)
 Number of Cherenkov photons per unit track length and per unit wavelength.
 
const double getRayleighCrossSection (const double n, const double lambda)
 Rayleigh cross section.
 
const double getRayleighScatteringLength (const double n, const double lambda)
 Rayleigh scattering length.
 
std::string getLabel (const JPDFType_t pdf)
 Get PDF label.
 
int getPDFType (const std::string &file_name)
 Get PDF type.
 
std::string getFilename (const std::string &file_name, const JPDFType_t pdf)
 Get PDF file name.
 
bool is_muon (const int pdf)
 Test if given PDF type corresponds to Cherenkov light from muon.
 
bool is_bremsstrahlung (const int pdf)
 Test if given PDF type corresponds to Cherenkov light from Bremsstrahlung.
 
bool is_deltarays (const int pdf)
 Test if given PDF type corresponds to Cherenkov light from delta-rays.
 
bool is_scattered (const int pdf)
 Test if given PDF type corresponds to scattered light.
 
double getThetaMCS (const double E, const double x, const double X0, const double M, const double Q)
 Get multiple Coulomb scattering angle.
 
double getThetaMCS (const double E, const double x)
 Get multiple Coulomb scattering angle for muon.
 
double henyey_greenstein (const double g, const double x)
 Auxiliary method to describe light scattering in water (Henyey-Greenstein).
 
double henyey_greenstein (const double x)
 Auxiliary method to describe light scattering in water (Heneyey-Greenstein).
 
double rayleigh (const double a, const double x)
 Auxiliary method to describe light scattering in water (Rayleigh).
 
double rayleigh (const double x)
 Auxiliary method to describe light scattering in water (Rayleigh).
 
double f4 (const double x)
 Model specific function to describe light scattering in water (f4).
 
double p00075 (const double x)
 Model specific function to describe light scattering in water (p00075).
 
double petzhold (const double x)
 Model specific function to describe light scattering in water (Petzhold).
 
double getAbsorptionLengthSmithAndBaker (const double lambda)
 Absorption length of deep-sea water according Smith & Baker.
 
double getAbsorptionLengthOfPureWater (const double lambda)
 Absorption length of pure water.
 
double getKineticEnergy (const double E, const double m)
 Get kinetic energy of particle with given energy and mass.
 
double getBeta (const double gamma)
 Get relative velocity given Lorentz boost.
 
template<bool equalCparity>
double getO1LeadingLogEWCorrectionCCDIS (const double y, const double u, const double v, const double L)
 Template declaration for method to compute 1st order leading-log EW corrections for CC DIS.
 
template<>
double getO1LeadingLogEWCorrectionCCDIS< true > (const double y, const double u, const double v, const double L)
 Compute 1st order leading-log electroweak correction for CC DIS involving a neutrino and a quark or an anti-neutrino and an anti-quark.
 
template<>
double getO1LeadingLogEWCorrectionCCDIS< false > (const double y, const double u, const double v, const double L)
 Compute 1st order leading-log electroweak correction for CC DIS involving an anti-neutrino and a quark or a neutrino and an anti-quark.
 
template<bool equalCparity>
double getO2LeadingLogEWCorrectionCCDIS (const double y, const double u, const double v, const double L, const double LL1)
 Template declaration for method to compute 2nd order leading-log EW corrections for CC DIS.
 
template<>
double getO2LeadingLogEWCorrectionCCDIS< true > (const double y, const double u, const double v, const double L, const double LL1)
 Compute 2nd order leading-log correction for CC DIS involving a neutrino and a quark or an anti-neutrino and an anti-quark.
 
template<>
double getO2LeadingLogEWCorrectionCCDIS< false > (const double y, const double u, const double v, const double L, const double LL1)
 Compute 2nd order leading-log correction for CC DIS involving an anti-neutrino and a quark or a neutrino and an anti-quark.
 
template<bool equalCparity>
double getO2LeadingLogEWCorrectionCCDIS (const double y, const double u, const double v, const double L)
 Template declaration for method to compute 2nd order leading-log EW corrections for CC DIS.
 
double getMSCorrection (const JElectricCharge &q1, const double Q2, const double m1)
 Compute Minimal Subtraction (MS) scheme correction factor to account for initial state quark mass singularities.
 
template<bool equalCparity>
double getRadiativeCorrectionCCDIS (const double y, const double Sx, const double ml, const JElectricCharge &q1)
 Template declaration of method for computing CC DIS radiative corrections.
 
template<>
double getRadiativeCorrectionCCDIS< true > (const double y, const double Sx, const double ml, const JElectricCharge &q1)
 Compute the radiative correction factor for CC DIS interactions of neutrinos off quarks or anti-neutrinos off anti-quarks according to eqns.
 
template<>
double getRadiativeCorrectionCCDIS< false > (const double y, const double Sx, const double ml, const JElectricCharge &q1)
 Compute the radiative correction factor for CC DIS interactions of neutrinos off anti-quarks or anti-neutrinos off quarks according to eqns.
 
double getRadiativeCorrectionCCDISNeutrino (const double y, const double Sx, const double ml, const JElectricCharge &q1)
 Compute the radiative correction factor for neutrino CC DIS interactions according to eqns.
 
double getRadiativeCorrectionCCDISAntiNeutrino (const double y, const double Sx, const double ml, const JElectricCharge &q1)
 Compute the radiative correction factor for anti-neutrino CC DIS interactions according to eqns.
 
double getRho1980 (const double mt=MASS_TOP_QUARK, const double mH=MASS_HIGGS_BOSON, const double mW=MASS_W_BOSON, const double s2W=getSin2ThetaW())
 Compute electroweak form factor rho as specified in eqn.
 
std::complex< double > getRho1986 (const JElectricCharge &qf, const double Q2)
 Compute electroweak renormalization factor rho as specified on p.
 
std::complex< double > getKappa1986 (const JElectricCharge &qf, const double Q2, const double ml2)
 Compute electroweak renormalization factor kappa as specified on p.
 
double getRho (const JElectricCharge &Cf, const JWeakIsospinProjection &I3)
 Compute electroweak renormalization factor rho according to eqn.
 
std::complex< double > getKappa (const JElectricCharge &Cf, const JWeakIsospinProjection &I3, const double Q2, const double mf)
 Compute electroweak renormalization factor kappa according to eqn.
 
double getEWgR (const JElectricCharge &Qf)
 Get electroweak right-chiral coupling constant.
 
double getEWgL (const JElectricCharge &Qf, const JWeakIsospinProjection &I3)
 Get electroweak left-chiral coupling constant.
 
std::complex< double > getEWgRrenormalized (const JElectricCharge &Qf, const std::complex< double > &rho, const std::complex< double > &kappa)
 Compute renormalized electroweak right-chiral coupling constant.
 
std::complex< double > getEWgLrenormalized (const JWeakIsospinProjection &I3, const std::complex< double > &rho, const std::complex< double > &gRrenorm)
 Compute renormalized left-chiral electroweak coupling constant.
 
template<bool equalCparity>
double getRadiativeCorrectionNCDIS (const double y, const double Sx, const double m1, const JElectricCharge &q1, const double gL, const double gR, const std::complex< double > &gLrenorm, const std::complex< double > &gRrenorm)
 Template declaration of method for computing NC DIS radiative correction.
 
template<>
double getRadiativeCorrectionNCDIS< true > (const double y, const double Sx, const double m1, const JElectricCharge &q1, const double gL, const double gR, const std::complex< double > &gLrenorm, const std::complex< double > &gRrenorm)
 Compute the radiative correction factor for NC DIS interactions of neutrinos off anti-quarks or anti-neutrinos off quarks according to eqns.
 
template<>
double getRadiativeCorrectionNCDIS< false > (const double y, const double Sx, const double m1, const JElectricCharge &q1, const double gL, const double gR, const std::complex< double > &gLrenorm, const std::complex< double > &gRrenorm)
 Compute the radiative correction factor for NC anti-neutrino DIS interactions of anti-neutrinos off quarks or neutrinos off anti-quarks according to eqns.
 
template<bool equalCparity>
double getRadiativeCorrectionNCDIS (const double y, const double Sx, const double Q2, const double ml, const double m1, const JElectricCharge &q1)
 Compute the radiative correction factor for NC DIS interactions
according to eqns.
 
double getRadiativeCorrectionNCDISNeutrino (const double y, const double Sx, const double Q2, const double ml, const double m1, const JElectricCharge &q1)
 Compute the radiative correction factor for NC neutrino DIS interactions
according to eqns.
 
double getRadiativeCorrectionNCDISAntiNeutrino (const double y, const double Sx, const double Q2, const double ml, const double m1, const JElectricCharge &q1)
 Compute the radiative correction factor for NC anti-neutrino DIS interactions
according to eqns.
 

Variables

static const double C = 0.299792458
 Physics constants.
 
static const double C_INVERSE = 1.0/C
 Inverse speed of light in vacuum [ns/m].
 
static const double AVOGADRO = 6.0221415e23
 Avogadro's number.
 
static const double NUCLEON_MOLAR_MASS = 1.0
 nucleon molar mass [g/mol]
 
static const double H = 4.13566733e-15
 Planck constant [eV s].
 
static const double HBAR = H/(2*PI)
 Planck constant [eV s].
 
static const double HBARC = HBAR*C*1.0e9
 Planck constant [eV m].
 
static const double ALPHA_ELECTRO_MAGNETIC = 1.0/137.036
 Electro-Magnetic coupling constant.
 
static const double THETA_MCS = 13.6e-3
 Multiple Coulomb scattering constant [GeV].
 
static const double FERMI_CONSTANT = 1.1663789e-5
 Fermi coupling constant [GeV^-2].
 
static const double R_EARTH_KM = 6371
 Geophysics constants.
 
static const double DENSITY_EARTH = 5.51
 Average density of the Earth [gr/cm³].
 
static const double DENSITY_SEA_WATER = 1.038
 Fixed environment values.
 
static const double DENSITY_ROCK = 2.65
 Density of rock [g/cm^3].
 
static const double SALINITY_SEA_WATER = 0.035
 Salinity of sea water.
 
static const double INDEX_OF_REFRACTION_WATER = 1.3800851282
 Average index of refraction of water corresponding to the group velocity.
 
static const double X0_WATER_M = 0.36
 Radiation length pure water [m].
 
static const double TAN_THETA_C_WATER = sqrt((INDEX_OF_REFRACTION_WATER - 1.0) * (INDEX_OF_REFRACTION_WATER + 1.0))
 Derived quantities of optical medium.
 
static const double COS_THETA_C_WATER = 1.0 / INDEX_OF_REFRACTION_WATER
 Average cosine corresponding to the group velocity.
 
static const double SIN_THETA_C_WATER = TAN_THETA_C_WATER * COS_THETA_C_WATER
 Average sine corresponding to the group velocity.
 
static const double KAPPA_WATER = 0.96
 Average R-dependence of arrival time of Cherenkov light.
 
static const double MASS_PHOTON = 0.0
 Particle masses.
 
static const double MASS_ELECTRON_NEUTRINO = 0.0
 electron neutrino mass [GeV]
 
static const double MASS_MUON_NEUTRINO = 0.0
 muon neutrino mass [GeV]
 
static const double MASS_TAU_NEUTRINO = 0.0
 tau neutrino mass [GeV]
 
static const double MASS_ELECTRON = 0.510998946e-3
 electron mass [GeV]
 
static const double MASS_MUON = 0.1056583745
 muon mass [GeV]
 
static const double MASS_TAU = 1.77682
 tau mass [GeV]
 
static const double MASS_UP_QUARK = 0.00216
 up quark mass [GeV]
 
static const double MASS_DOWN_QUARK = 0.00470
 down quark mass [GeV]
 
static const double MASS_STRANGE_QUARK = 0.0935
 strange quark mass [GeV]
 
static const double MASS_CHARM_QUARK = 1.2730
 charm quark mass [GeV]
 
static const double MASS_BOTTOM_QUARK = 4.183
 bottom quark mass [GeV]
 
static const double MASS_TOP_QUARK = 172.56
 top quark mass [GeV]
 
static const double MASS_NEUTRAL_PION = 0.1349766
 pi_0 mass [GeV]
 
static const double MASS_CHARGED_PION = 0.13957018
 pi^+/- mass [GeV]
 
static const double MASS_NEUTRAL_KAON = 0.497614
 K_0 mass [GeV].
 
static const double MASS_CHARGED_KAON = 0.493677
 K^+/- mass [GeV].
 
static const double MASS_NEUTRAL_RHO = 0.77526
 rho_0 mass [GeV]
 
static const double MASS_CHARGED_RHO = 0.77511
 rho^+/- mass [GeV]
 
static const double MASS_NEUTRAL_D = 1.86483
 D_0 mass [GeV].
 
static const double MASS_CHARGED_D = 1.86965
 D^+/- mass [GeV].
 
static const double MASS_CHARGED_D_S = 1.96834
 D_s^+/- mass [GeV].
 
static const double MASS_PROTON = 0.9382720813
 proton mass [GeV]
 
static const double MASS_NEUTRON = 0.9395654133
 neutron mass [GeV]
 
static const double MASS_DELTA_1232 = 1.232
 Delta (1232) mass [GeV].
 
static const double MASS_LAMBDA = 1.115683
 Lambda mass [GeV].
 
static const double MASS_NEUTRAL_SIGMA = 1.192642
 Sigma_0 mass [GeV].
 
static const double MASS_CHARGED_SIGMA = 1.18937
 Sigma^+/- mass [GeV].
 
static const double MASS_NEUTRAL_XI = 1.31486
 Xi_0 mass [GeV].
 
static const double MASS_CHARGED_XI = 1.32171
 Xi^+/- mass [GeV].
 
static const double MASS_CHARGED_OMEGA = 1.67245
 Omega^+/- mass [GeV].
 
static const double MASS_CHARGED_LAMBDA_C = 2.28646
 Lambda_c^+/- mass [GeV].
 
static const double MASS_DOUBLYCHARGED_SIGMA_C = 2.45397
 Sigma_c^++/– mass [GeV]

 
static const double MASS_CHARGED_SIGMA_C = 2.4529
 Sigma_c^+/- mass [GeV].
 
static const double MASS_NEUTRAL_SIGMA_C = 2.45375
 Sigma_c_0 mass [GeV].
 
static const double MASS_CHARGED_XI_C = 2.46793
 Xi_c^+/- mass [GeV].
 
static const double MASS_NEUTRAL_XI_C = 2.47091
 Xi_c_0 mass [GeV].
 
static const double MASS_NEUTRAL_OMEGA_C = 2.6952
 Omega_c_0 mass [GeV].
 
static const double MASS_NEUTRAL_B = 5.27958
 B_0 mass [GeV].
 
static const double MASS_CHARGED_B = 5.27926
 B^+/- mass [GeV].
 
static const double MASS_NEUTRAL_B_S = 5.36677
 B_s^0 mass [GeV].
 
static const double MASS_NEUTRAL_LAMBDA_B = 5.6194
 Lambda_b^0 mass [GeV].
 
static const double MASS_NEUTRAL_XI_B = 5.7878
 Xi_b^0 mass [GeV].
 
static const double MASS_CHARGED_XI_B = 5.7911
 Xi_b^+/- mass [GeV].
 
static const double MASS_CHARGED_OMEGA_B = 6.071
 Omega_b^+/- mass [GeV].
 
static const double MASS_CHARGED_B_C = 6.2756
 B_c^+/- mass [GeV].
 
static const double MASS_W_BOSON = 80.3692
 W^+/- mass [GeV].
 
static const double MASS_Z_BOSON = 91.1880
 Z^0 mass [GeV].
 
static const double MASS_HIGGS_BOSON = 125.20
 Higgs mass [GeV].
 
static const JGeaneWater gWater
 Function object for energy loss of muon in sea water.
 
static const JGeant geant (geanx, 0.0001)
 Function object for the number of photons from EM-shower as a function of emission angle.
 
static const JGeanx geanx (0.35, -5.40)
 Function object for the number of photons from EM-shower as a function of emission angle.
 
static const JGeanz geanz (1.85, 0.62, 0.54)
 Function object for longitudinal EM-shower profile.
 
static JSterCoefficient getSterCoefficient
 Function object for Ster coefficients.
 
static const JCCnu cc_nu
 Function object for charged current neutrino cross section [cm^2] as a function of neutrino energy [GeV].
 
static const JNCnu nc_nu
 Function object for neutral current neutrino cross section [cm^2] as a function of neutrino energy [GeV].
 
static const JCCnubar cc_nubar
 Function object for charged current anti-neutrino cross section [cm^2] as a function of neutrino energy [GeV].
 
static const JNCnubar nc_nubar
 Function object for neutral current anti-neutrino cross section [cm^2] as a function of neutrino energy [GeV].
 
static double MODULE_RADIUS_M = 0.216
 Radius of optical module [m].
 

Detailed Description

Auxiliary methods for light properties of deep-sea water.

Author
mdejong
vcarretero
bjjung

Typedef Documentation

◆ JEnergyRange

Type definition for energy range (unit [GeV]).

Definition at line 19 of file JEnergyRange.hh.

◆ JGeantFunction1D_t

◆ JRateL0_t

typedef double JPHYSICS::JRateL0_t

Type definition of singles rate [Hz].

Definition at line 21 of file JK40Rates.hh.

◆ JRateL1_t

Type definition of count rate as a function of multiplicty [Hz] The multiples rate start counting at two-fold coincidences.

Definition at line 27 of file JK40Rates.hh.

◆ multiplicity_type

Type definition of multiplicity.

Definition at line 33 of file JK40Rates.hh.

◆ JElement2D_t

typedef JTOOLS::JElement2D<double, double> JPHYSICS::JElement2D_t

Definition at line 27 of file JLED.hh.

◆ JElement3D_t

typedef JTOOLS::JElement3D<double, double> JPHYSICS::JElement3D_t

Definition at line 28 of file JLED.hh.

◆ JTimeRange

Type definition for time range (unit [ns]).

Definition at line 19 of file JPhysics/JTimeRange.hh.

Enumeration Type Documentation

◆ JColorFactor_t

enum class JPHYSICS::JColorFactor_t : int
strong

Enumeration for color factors of SM fields.

Enumerator
ZERO 
ONE 
THREE 

Definition at line 375 of file JCharges.hh.

375 : int {
376 ZERO = 0,
377 ONE = 1,
378 THREE = 3
379 };

◆ JColorCharge_t

enum class JPHYSICS::JColorCharge_t : char
strong

Enumeration for color charges of SM fields.

Enumerator
RED 
BLUE 
GREEN 

Definition at line 385 of file JCharges.hh.

385 : char {
386 RED = 'r',
387 BLUE = 'b',
388 GREEN = 'g'
389 };

◆ JPDFType_t

PDF types.

Enumerator
DIRECT_LIGHT_FROM_MUON 

direct light from muon

SCATTERED_LIGHT_FROM_MUON 

scattered light from muon

DIRECT_LIGHT_FROM_EMSHOWERS 

direct light from EM showers

SCATTERED_LIGHT_FROM_EMSHOWERS 

scattered light from EM showers

DIRECT_LIGHT_FROM_DELTARAYS 

direct light from delta-rays

SCATTERED_LIGHT_FROM_DELTARAYS 

scattered light from delta-rays

SCATTERED_LIGHT_FROM_MUON_5D 

scattered light from muon

DIRECT_LIGHT_FROM_EMSHOWER 

direct light from EM shower

SCATTERED_LIGHT_FROM_EMSHOWER 

scattered light from EM shower

DIRECT_LIGHT_FROM_BRIGHT_POINT 

direct light from bright point

SCATTERED_LIGHT_FROM_BRIGHT_POINT 

scattered light from bright point

LIGHT_FROM_ELONGATED_EMSHOWER 

light from elongated EM shower

LIGHT_FROM_MUON 

direct and scattered light from muon

LIGHT_FROM_EMSHOWERS 

direct and scattered light from EM showers

LIGHT_FROM_DELTARAYS 

direct and scattered light from delta-rays

LIGHT_FROM_EMSHOWER 

direct and scattered light from EM shower

LIGHT_FROM_BRIGTH_POINT 

direct and scattered light from brigth point

Definition at line 24 of file JPDFTypes.hh.

24 {
25
26 DIRECT_LIGHT_FROM_MUON = 1, //!< direct light from muon
27 SCATTERED_LIGHT_FROM_MUON = 2, //!< scattered light from muon
28
29 DIRECT_LIGHT_FROM_EMSHOWERS = 3, //!< direct light from EM showers
30 SCATTERED_LIGHT_FROM_EMSHOWERS = 4, //!< scattered light from EM showers
31
32 DIRECT_LIGHT_FROM_DELTARAYS = 5, //!< direct light from delta-rays
33 SCATTERED_LIGHT_FROM_DELTARAYS = 6, //!< scattered light from delta-rays
34
35 SCATTERED_LIGHT_FROM_MUON_5D = 12, //!< scattered light from muon
36
37 DIRECT_LIGHT_FROM_EMSHOWER = 13, //!< direct light from EM shower
38 SCATTERED_LIGHT_FROM_EMSHOWER = 14, //!< scattered light from EM shower
39
40 //DIRECT_LIGHT_FROM_SHOWER = 15, //!< direct + scattered light from HADRONIC shower
41
42 DIRECT_LIGHT_FROM_BRIGHT_POINT = 23, //!< direct light from bright point
43 SCATTERED_LIGHT_FROM_BRIGHT_POINT = 24, //!< scattered light from bright point
44
45 LIGHT_FROM_ELONGATED_EMSHOWER = 113, //!< light from elongated EM shower
46
47 LIGHT_FROM_MUON = 1001, //!< direct and scattered light from muon
48 LIGHT_FROM_EMSHOWERS = 1003, //!< direct and scattered light from EM showers
49 LIGHT_FROM_DELTARAYS = 1005, //!< direct and scattered light from delta-rays
50 LIGHT_FROM_EMSHOWER = 1013, //!< direct and scattered light from EM shower
51 LIGHT_FROM_BRIGTH_POINT = 1023 //!< direct and scattered light from brigth point
52 };
@ LIGHT_FROM_EMSHOWERS
direct and scattered light from EM showers
Definition JPDFTypes.hh:48
@ LIGHT_FROM_ELONGATED_EMSHOWER
light from elongated EM shower
Definition JPDFTypes.hh:45
@ LIGHT_FROM_EMSHOWER
direct and scattered light from EM shower
Definition JPDFTypes.hh:50
@ LIGHT_FROM_DELTARAYS
direct and scattered light from delta-rays
Definition JPDFTypes.hh:49
@ SCATTERED_LIGHT_FROM_MUON_5D
scattered light from muon
Definition JPDFTypes.hh:35
@ LIGHT_FROM_BRIGTH_POINT
direct and scattered light from brigth point
Definition JPDFTypes.hh:51
@ LIGHT_FROM_MUON
direct and scattered light from muon
Definition JPDFTypes.hh:47

Function Documentation

◆ getSpeedOfLight()

const double JPHYSICS::getSpeedOfLight ( )
inline

Get speed of light.

Returns
speed of light [m/ns]

Definition at line 125 of file JPhysics/JConstants.hh.

126 {
127 return C;
128 }

◆ getInverseSpeedOfLight()

const double JPHYSICS::getInverseSpeedOfLight ( )
inline

Get inverse speed of light.

Returns
inverse speed of light [ns/m]

Definition at line 136 of file JPhysics/JConstants.hh.

137 {
138 return C_INVERSE;
139 }
static const double C_INVERSE
Inverse speed of light in vacuum [ns/m].

◆ getIndexOfRefraction()

double JPHYSICS::getIndexOfRefraction ( )
inline

Get average index of refraction of water corresponding to group velocity.

Returns
index of refraction

Definition at line 147 of file JPhysics/JConstants.hh.

148 {
150 }
static const double INDEX_OF_REFRACTION_WATER
Average index of refraction of water corresponding to the group velocity.

◆ getIndexOfRefractionPhase()

double JPHYSICS::getIndexOfRefractionPhase ( )
inline

Get average index of refraction of water corresponding to phase velocity.

Returns
index of refraction

Definition at line 158 of file JPhysics/JConstants.hh.

159 {
160 return 1.35;
161 }

◆ getTanThetaC()

double JPHYSICS::getTanThetaC ( )
inline

Get average tangent of Cherenkov angle of water corresponding to group velocity.

Returns
tan(theta_C)

Definition at line 169 of file JPhysics/JConstants.hh.

170 {
171 return TAN_THETA_C_WATER;
172 }
static const double TAN_THETA_C_WATER
Derived quantities of optical medium.

◆ getCosThetaC()

double JPHYSICS::getCosThetaC ( )
inline

Get average cosine of Cherenkov angle of water corresponding to group velocity.

Returns
cos(theta_C)

Definition at line 180 of file JPhysics/JConstants.hh.

181 {
182 return COS_THETA_C_WATER;
183 }
static const double COS_THETA_C_WATER
Average cosine corresponding to the group velocity.

◆ getSinThetaC()

double JPHYSICS::getSinThetaC ( )
inline

Get average sine of Cherenkov angle of water corresponding to group velocity.

Returns
sin(theta_C)

Definition at line 191 of file JPhysics/JConstants.hh.

192 {
193 return SIN_THETA_C_WATER;
194 }
static const double SIN_THETA_C_WATER
Average sine corresponding to the group velocity.

◆ getKappaC()

double JPHYSICS::getKappaC ( )
inline

Get average R-dependence of arrival time of Cherenkov light (a.k.a.

kappa).

Returns
kappa

Definition at line 202 of file JPhysics/JConstants.hh.

203 {
204 return KAPPA_WATER;
205 }
static const double KAPPA_WATER
Average R-dependence of arrival time of Cherenkov light.

◆ getFineStructureConstant()

double JPHYSICS::getFineStructureConstant ( )
inline

Get fine-structure constant.

Returns
reduced fine-structure constant

Definition at line 213 of file JPhysics/JConstants.hh.

214 {
216 }
static const double ALPHA_ELECTRO_MAGNETIC
Electro-Magnetic coupling constant.

◆ getReducedFineStructureConstant()

double JPHYSICS::getReducedFineStructureConstant ( )
inline

Get reduced fine-structure constant.

Returns
reduced fine-structure constant

Definition at line 224 of file JPhysics/JConstants.hh.

225 {
226 static const double ALPHA_EM_REDUCED = 0.5 * ALPHA_ELECTRO_MAGNETIC / PI;
227
228 return ALPHA_EM_REDUCED;
229 }

◆ getSin2ThetaW()

double JPHYSICS::getSin2ThetaW ( )
inline

Get squared sine of weak mixing angle.

Returns
cosine of weak mixing angle

Definition at line 237 of file JPhysics/JConstants.hh.

238 {
239 static const double SIN2_THETA_W = ((1.0 + MASS_W_BOSON / MASS_Z_BOSON) *
240 (1.0 - MASS_W_BOSON / MASS_Z_BOSON));
241 return SIN2_THETA_W;
242 }
static const double MASS_W_BOSON
W^+/- mass [GeV].
static const double MASS_Z_BOSON
Z^0 mass [GeV].

◆ getCos2ThetaW()

double JPHYSICS::getCos2ThetaW ( )
inline

Get squared cosine of weak mixing angle.

Returns
cosine of weak mixing angle

Definition at line 250 of file JPhysics/JConstants.hh.

251 {
252 static const double COS2_THETA_W = 1.0 - getSin2ThetaW();
253
254 return COS2_THETA_W;
255 }
double getSin2ThetaW()
Get squared sine of weak mixing angle.

◆ getVeltmanParameter()

double JPHYSICS::getVeltmanParameter ( )
inline

Get leading-order Veltman parameter ( $Delta rho$).

Returns
Veltman parameter (leading top correction)

Definition at line 263 of file JPhysics/JConstants.hh.

264 {
265 static const double DELTA_RHO = (3.0 * FERMI_CONSTANT *
267 (8.0 * PI * PI * sqrt(2.0)));
268 return DELTA_RHO;
269 }
static const double MASS_TOP_QUARK
top quark mass [GeV]
static const double FERMI_CONSTANT
Fermi coupling constant [GeV^-2].

◆ geanc()

double JPHYSICS::geanc ( )
inline

Equivalent muon track length per unit shower energy.

See ANTARES internal note ANTARES-SOFT-2002-015, J. Brunner.

Returns
equivalent muon track length [m/Gev]

Definition at line 28 of file JGeane.hh.

29 {
30 return 4.7319; // dx/dE [m/GeV]
31 }

◆ fWater()

static const JGeane_t JPHYSICS::fWater ( 2.67e-1 * DENSITY_SEA_WATER,
3.40e-4 * DENSITY_SEA_WATER )
static

Function object for energy loss of muon in sea water.

◆ gRock()

static const JGeane_t JPHYSICS::gRock ( 2.67e-1 *0.9 * DENSITY_ROCK,
3.40e-4 *1.2 * DENSITY_ROCK )
static

Function object for energy loss of muon in rock.

◆ getKey()

template<class T >
std::string JPHYSICS::getKey ( const std::map< std::string, T > & map,
const std::string & key,
const T & value )
inline

Auxiliary method to get preferred key for given value.

Parameters
mapmap
keypreferred key
valuetarget value
Returns
key

Definition at line 44 of file JPDFSupportkit.hh.

45 {
46 if (map.count(key) && map.at(key) == value) {
47 return key;
48 }
49
50 for (const auto& i : map) {
51 if (i.second == value) {
52 return i.first;
53 }
54 }
55
56 return "";
57 }
const char * map
Definition elog.cc:87

◆ getMinimalWavelength()

double JPHYSICS::getMinimalWavelength ( )
inline

Get minimal wavelength for PDF evaluations.

Returns
wavelength of light [nm]

Definition at line 27 of file JPDFToolkit.hh.

28 {
29 return 300.0;
30 }

◆ getMaximalWavelength()

double JPHYSICS::getMaximalWavelength ( )
inline

Get maximal wavelength for PDF evaluations.

Returns
wavelength of light [nm]

Definition at line 38 of file JPDFToolkit.hh.

39 {
40 return 700.0;
41 }

◆ cherenkov()

double JPHYSICS::cherenkov ( const double lambda,
const double n )
inline

Number of Cherenkov photons per unit track length and per unit wavelength.

Parameters
lambdawavelength of light [nm]
nindex of refraction
Returns
number of photons per unit track length and per unit wavelength [m^-1 nm^-1]

Definition at line 51 of file JPDFToolkit.hh.

53 {
54 const double x = n*lambda;
55
56 return 1.0e9 * 2 * PI * ALPHA_ELECTRO_MAGNETIC * (n*n - 1.0) / (x*x);
57 }

◆ getRayleighCrossSection()

const double JPHYSICS::getRayleighCrossSection ( const double n,
const double lambda )
inline

Rayleigh cross section.

Parameters
nindex of refraction
lambdawavelength of light [nm]
Returns
cross section [cm^2]

Definition at line 67 of file JPDFToolkit.hh.

69 {
70 static const double d = 0.36; // size of H2O molecule [nm]
71 static const double U = PI*PI*PI*PI*PI*2.0/3.0;
72 static const double V = d*d*d*d*d*d;
73
74 const double W = (n*n - 1.0) / (n*n + 2.0);
75 const double sigma = 1.0e-14 * U*V*W*W / (lambda*lambda*lambda*lambda); // [cm^2]
76
77 return sigma;
78 }

◆ getRayleighScatteringLength()

const double JPHYSICS::getRayleighScatteringLength ( const double n,
const double lambda )
inline

Rayleigh scattering length.

Parameters
nindex of refraction
lambdawavelength of light [nm]
Returns
scattering length [m]

Definition at line 88 of file JPDFToolkit.hh.

90 {
91 static const double amu = 18.01528; // H20 mass in Atomic mass units
92
93 const double sigma = getRayleighCrossSection(n, lambda);
94 const double ls = 1.0e-2 / (DENSITY_SEA_WATER * AVOGADRO * sigma / amu); // [m]
95
96 return ls;
97 }
const double getRayleighCrossSection(const double n, const double lambda)
Rayleigh cross section.

◆ getLabel()

std::string JPHYSICS::getLabel ( const JPDFType_t pdf)
inline

Get PDF label.

Parameters
pdfPDF type
Returns
PDF label

Definition at line 61 of file JPDFTypes.hh.

62 {
63 std::ostringstream os;
64
65 os << pdf;
66
67 return os.str();
68 }

◆ getPDFType()

int JPHYSICS::getPDFType ( const std::string & file_name)
inline

Get PDF type.

Parameters
file_namefile name
Returns
PDF type (-1 in case of error)

Definition at line 77 of file JPDFTypes.hh.

78 {
79 using namespace std;
80
81 static const char* digits = "0123456789";
82
83 int type = -1;
84
85 string buffer = JEEP::getFilename(file_name);
86
87 string::size_type pos = buffer.find_first_of(digits);
88
89 if (pos != string::npos) {
90
91 string::size_type len = buffer.substr(pos).find_first_not_of(digits);
92
93 istringstream(buffer.substr(pos, len)) >> type;
94 }
95
96 return type;
97 }
std::string getFilename(const std::string &file_name)
Get file name part, i.e. part after last JEEP::PATHNAME_SEPARATOR if any.

◆ getFilename()

std::string JPHYSICS::getFilename ( const std::string & file_name,
const JPDFType_t pdf )
inline

Get PDF file name.

The input file name should contain the wild card character JEEP::FILENAME_WILDCARD which will be replaced by the label corresponding to the given PDF type.

Parameters
file_nameinput file name
pdfPDF type
Returns
output file name

Definition at line 110 of file JPDFTypes.hh.

112 {
113 return JEEP::setWildCard(file_name, getLabel(pdf));
114 }
std::string setWildCard(const std::string &file_name, const std::string &value)
Get file name by setting wild card to given value.

◆ is_muon()

bool JPHYSICS::is_muon ( const int pdf)
inline

Test if given PDF type corresponds to Cherenkov light from muon.

Parameters
pdfPDF type
Returns
true if PDF corresponds to muon; else false

Definition at line 123 of file JPDFTypes.hh.

124 {
125 return (pdf == DIRECT_LIGHT_FROM_MUON ||
126 pdf == SCATTERED_LIGHT_FROM_MUON ||
127 pdf == LIGHT_FROM_MUON);
128 }

◆ is_bremsstrahlung()

bool JPHYSICS::is_bremsstrahlung ( const int pdf)
inline

Test if given PDF type corresponds to Cherenkov light from Bremsstrahlung.

Parameters
pdfPDF type
Returns
true if PDF corresponds to Bremsstrahlung; else false

Definition at line 137 of file JPDFTypes.hh.

138 {
139 return (pdf == DIRECT_LIGHT_FROM_EMSHOWERS ||
140 pdf == SCATTERED_LIGHT_FROM_EMSHOWERS ||
141 pdf == LIGHT_FROM_EMSHOWERS);
142 }

◆ is_deltarays()

bool JPHYSICS::is_deltarays ( const int pdf)
inline

Test if given PDF type corresponds to Cherenkov light from delta-rays.

Parameters
pdfPDF type
Returns
true if PDF corresponds to delta-rays; else false

Definition at line 151 of file JPDFTypes.hh.

152 {
153 return (pdf == DIRECT_LIGHT_FROM_DELTARAYS ||
154 pdf == SCATTERED_LIGHT_FROM_DELTARAYS ||
155 pdf == LIGHT_FROM_DELTARAYS);
156 }

◆ is_scattered()

bool JPHYSICS::is_scattered ( const int pdf)
inline

Test if given PDF type corresponds to scattered light.

Parameters
pdfPDF type
Returns
true if PDF corresponds to scattered light; else false

Definition at line 165 of file JPDFTypes.hh.

166 {
167 return (pdf == SCATTERED_LIGHT_FROM_MUON ||
168 pdf == SCATTERED_LIGHT_FROM_EMSHOWERS ||
169 pdf == SCATTERED_LIGHT_FROM_DELTARAYS ||
170 pdf == SCATTERED_LIGHT_FROM_MUON_5D ||
171 pdf == SCATTERED_LIGHT_FROM_EMSHOWER);
172 }

◆ getThetaMCS() [1/2]

double JPHYSICS::getThetaMCS ( const double E,
const double x,
const double X0,
const double M,
const double Q )
inline

Get multiple Coulomb scattering angle.

The formula is taken from reference: Particle Data Book, formula 27.14.

Parameters
EEnergy [GeV]
xdistance [m]
X0radiation length [m]
Mmass [GeV]
Qcharge [unit]
Returns
angle [rad]

Definition at line 40 of file JPhysicsSupportkit.hh.

45 {
46 if (E > M) {
47
48 const double p = sqrt((E + M) * (E - M));
49 const double beta = p / E;
50
51 return THETA_MCS * Q * sqrt(x/X0) * (1.0 + 0.038*log(x/X0)) / (beta*p);
52 }
53
54 return 0.0;
55 }

◆ getThetaMCS() [2/2]

double JPHYSICS::getThetaMCS ( const double E,
const double x )
inline

Get multiple Coulomb scattering angle for muon.

Parameters
EEnergy [GeV]
xdistance [m]
Returns
angle [rad]

Definition at line 65 of file JPhysicsSupportkit.hh.

66 {
67 return getThetaMCS(E, x, X0_WATER_M, MASS_MUON, 1.0);
68 }
double getThetaMCS(const double E, const double x, const double X0, const double M, const double Q)
Get multiple Coulomb scattering angle.

◆ henyey_greenstein() [1/2]

double JPHYSICS::henyey_greenstein ( const double g,
const double x )
inline

Auxiliary method to describe light scattering in water (Henyey-Greenstein).

Parameters
gangular dependence parameter
xcosine scattering angle
Returns
probability

Definition at line 78 of file JPhysicsSupportkit.hh.

81 {
82 const double a0 = (1.0 - g*g) / (4*PI);
83 const double y = 1.0 + g*g - 2.0*g*x;
84
85 return a0 / (y*sqrt(y));
86 }

◆ henyey_greenstein() [2/2]

double JPHYSICS::henyey_greenstein ( const double x)
inline

Auxiliary method to describe light scattering in water (Heneyey-Greenstein).

Parameters
xcosine scattering angle
Returns
probability

Definition at line 95 of file JPhysicsSupportkit.hh.

96 {
97 static const double g = 0.924;
98
99 return henyey_greenstein(g, x);
100 }
double henyey_greenstein(const double g, const double x)
Auxiliary method to describe light scattering in water (Henyey-Greenstein).

◆ rayleigh() [1/2]

double JPHYSICS::rayleigh ( const double a,
const double x )
inline

Auxiliary method to describe light scattering in water (Rayleigh).

Parameters
aangular dependence parameter
xcosine scattering angle
Returns
probability

Definition at line 110 of file JPhysicsSupportkit.hh.

113 {
114 const double a0 = 1.0 / (1.0 + a/3.0) / (4*PI);
115
116 return a0 * (1.0 + a*x*x);
117 }

◆ rayleigh() [2/2]

double JPHYSICS::rayleigh ( const double x)
inline

Auxiliary method to describe light scattering in water (Rayleigh).

Parameters
xcosine scattering angle
Returns
probability

Definition at line 126 of file JPhysicsSupportkit.hh.

127 {
128 return rayleigh(0.835, x);
129 }
double rayleigh(const double a, const double x)
Auxiliary method to describe light scattering in water (Rayleigh).

◆ f4()

double JPHYSICS::f4 ( const double x)
inline

Model specific function to describe light scattering in water (f4).

Parameters
xcosine scattering angle
Returns
probability

Definition at line 138 of file JPhysicsSupportkit.hh.

139 {
140 static const double g1 = 0.77;
141 static const double g2 = 0.00;
142 static const double f = 1.00;
143
144 return f * henyey_greenstein(g1,x) + (1.0 - f) * henyey_greenstein(g2,x);
145 }
Double_t g1(const Double_t x)
Function.
Definition JQuantiles.cc:25

◆ p00075()

double JPHYSICS::p00075 ( const double x)
inline

Model specific function to describe light scattering in water (p00075).

Parameters
xcosine scattering angle
Returns
probability

Definition at line 154 of file JPhysicsSupportkit.hh.

155 {
156 static const double g = 0.924;
157 static const double f = 0.25;
158
159 return f * rayleigh(x) + (1.0 - f) * henyey_greenstein(g,x);
160 }

◆ petzhold()

double JPHYSICS::petzhold ( const double x)
inline

Model specific function to describe light scattering in water (Petzhold).

Values are taken from reference C.D. Mobley "Light and Water", ISBN 0-12-502750-8, pag. 111, Table 3.10 (right column).

Parameters
xcosine scattering angle
Returns
probability

Definition at line 171 of file JPhysicsSupportkit.hh.

172 {
173 using namespace JPP;
174
176
177 if (f1.empty()) {
178 // angle probability
179 // [deg]
180 f1[ 0.100] = 1.767e+03;
181 f1[ 0.126] = 1.296e+03;
182 f1[ 0.158] = 9.502e+02;
183 f1[ 0.200] = 6.991e+02;
184 f1[ 0.251] = 5.140e+02;
185 f1[ 0.316] = 3.764e+02;
186 f1[ 0.398] = 2.763e+02;
187 f1[ 0.501] = 2.188e+02;
188 f1[ 0.631] = 1.444e+02;
189 f1[ 0.794] = 1.022e+02;
190 f1[ 1.000] = 7.161e+01;
191 f1[ 1.259] = 4.958e+01;
192 f1[ 1.585] = 3.395e+01;
193 f1[ 1.995] = 2.281e+01;
194 f1[ 2.512] = 1.516e+01;
195 f1[ 3.162] = 1.002e+01;
196 f1[ 3.981] = 6.580e+00;
197 f1[ 5.012] = 4.295e+00;
198 f1[ 6.310] = 2.807e+00;
199 f1[ 7.943] = 1.819e+00;
200 f1[ 10.000] = 1.153e+00;
201 f1[ 15.000] = 4.893e-01;
202 f1[ 20.000] = 2.444e-01;
203 f1[ 25.000] = 1.472e-01;
204 f1[ 30.000] = 8.609e-02;
205 f1[ 35.000] = 5.931e-02;
206 f1[ 40.000] = 4.210e-02;
207 f1[ 45.000] = 3.067e-02;
208 f1[ 50.000] = 2.275e-02;
209 f1[ 55.000] = 1.699e-02;
210 f1[ 60.000] = 1.313e-02;
211 f1[ 65.000] = 1.046e-02;
212 f1[ 70.000] = 8.488e-03;
213 f1[ 75.000] = 6.976e-03;
214 f1[ 80.000] = 5.842e-03;
215 f1[ 85.000] = 4.953e-03;
216 f1[ 90.000] = 4.292e-03;
217 f1[ 95.000] = 3.782e-03;
218 f1[100.000] = 3.404e-03;
219 f1[105.000] = 3.116e-03;
220 f1[110.000] = 2.912e-03;
221 f1[115.000] = 2.797e-03;
222 f1[120.000] = 2.686e-03;
223 f1[125.000] = 2.571e-03;
224 f1[130.000] = 2.476e-03;
225 f1[135.000] = 2.377e-03;
226 f1[140.000] = 2.329e-03;
227 f1[145.000] = 2.313e-03;
228 f1[150.000] = 2.365e-03;
229 f1[155.000] = 2.506e-03;
230 f1[160.000] = 2.662e-03;
231 f1[165.000] = 2.835e-03;
232 f1[170.000] = 3.031e-03;
233 f1[175.000] = 3.092e-03;
234 f1[180.000] = 3.154e-03;
235
236 f1.mul(1.166); // normalisation
237
238 f1.compile();
239 }
240
241 if (x >= +1.0)
242 return f1. begin()->getY();
243 else if (x <= -1.0)
244 return f1.rbegin()->getY();
245
246 const double a = acos(x) * 180.0 / PI;
247
248 if (a < f1. begin()->getX())
249 return f1. begin()->getY();
250 else if (a > f1.rbegin()->getX())
251 return f1.rbegin()->getY();
252 else
253 return f1(a);
254 }
Template class for polynomial interpolation in 1D.
Definition JPolint.hh:1095
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).

◆ getAbsorptionLengthSmithAndBaker()

double JPHYSICS::getAbsorptionLengthSmithAndBaker ( const double lambda)
inline

Absorption length of deep-sea water according Smith & Baker.

Raymond C. Smith and Karen S. Baker, "Optical properties of the clearest natural waters (200800 nm)," Appl. Opt. 20, 177-184 (1981)

Parameters
lambdawavelength of light [nm]
Returns
absorption length [m]

Definition at line 303 of file JPhysicsSupportkit.hh.

304 {
305 static JGridSplineFunction1D_t f1;
306
307 if (f1.empty()) {
308 // wave- absorption
309 // length coefficient
310 // [nm] [1/m]
311 f1[200] = 3.0700;
312 f1[210] = 1.9900;
313 f1[220] = 1.3100;
314 f1[230] = 0.9270;
315 f1[240] = 0.7200;
316 f1[250] = 0.5590;
317 f1[260] = 0.4570;
318 f1[270] = 0.3730;
319 f1[280] = 0.2880;
320 f1[290] = 0.2150;
321 f1[300] = 0.1410;
322 f1[310] = 0.1050;
323 f1[320] = 0.0844;
324 f1[330] = 0.0678;
325 f1[340] = 0.0561;
326 f1[350] = 0.0463;
327 f1[360] = 0.0379;
328 f1[370] = 0.0300;
329 f1[380] = 0.0220;
330 f1[390] = 0.0191;
331 f1[400] = 0.0171;
332 f1[410] = 0.0162;
333 f1[420] = 0.0153;
334 f1[430] = 0.0144;
335 f1[440] = 0.0145;
336 f1[450] = 0.0145;
337 f1[460] = 0.0156;
338 f1[470] = 0.0156;
339 f1[480] = 0.0176;
340 f1[490] = 0.0196;
341 f1[500] = 0.0257;
342 f1[510] = 0.0357;
343 f1[520] = 0.0477;
344 f1[530] = 0.0507;
345 f1[540] = 0.0558;
346 f1[550] = 0.0638;
347 f1[560] = 0.0708;
348 f1[570] = 0.0799;
349 f1[580] = 0.1080;
350 f1[590] = 0.1570;
351 f1[600] = 0.2440;
352 f1[610] = 0.2890;
353 f1[620] = 0.3090;
354 f1[630] = 0.3190;
355 f1[640] = 0.3290;
356 f1[650] = 0.3490;
357 f1[660] = 0.4000;
358 f1[670] = 0.4300;
359 f1[680] = 0.4500;
360 f1[690] = 0.5000;
361 f1[700] = 0.6500;
362 f1[710] = 0.8390;
363 f1[720] = 1.1690;
364 f1[730] = 1.7990;
365 f1[740] = 2.3800;
366 f1[750] = 2.4700;
367 f1[760] = 2.5500;
368 f1[770] = 2.5100;
369 f1[780] = 2.3600;
370 f1[790] = 2.1600;
371 f1[800] = 2.0700;
372
373 f1.compile();
374 }
375
376 if (lambda > f1.getXmin() && lambda < f1.getXmax())
377 return 1.0 / f1(lambda);
378 else
379 return 0.0;
380 }
Template class for spline interpolation in 1D.
Definition JSpline.hh:734

◆ getAbsorptionLengthOfPureWater()

double JPHYSICS::getAbsorptionLengthOfPureWater ( const double lambda)
inline

Absorption length of pure water.

CITATION: Jonasz M. 2007. Absorption coefficient of water: Data sources (www.tpdsci.com/Tpc/AbsCfOfWaterDat.php). In: Top. Part. Disp. Sci. (www.tpdsci.com).

DATA FROM: Wozniak B., Wozniak S. B., Tyszka K., Ostrowska M., Majchrowski R., Ficek D., Dera J. 2005. Modelling the light absorption properties of particulate matter forming organic particles suspended in seawater. Part 2. Modelling results. Oceanologia 47, 621-662. see also Wozniak B., Dera J. 2007. Light absorption in sea water. Springer, Berlin, 456 pp. (see p. 62)

NOTES: As stated by the data authors, the data are based on measurement results obtained by various authors (interpolated by a linear approximation where applicable): Wavelength Reference

  • 200-335 nm Smith R.C., Baker K.S. 1981. Optical properties of the clearest natural waters (200-800 nm). Appl. Opt. 20, 177-184.
  • 340-370 nm Sogandares F.M., Fry, E.S. 1997. Absorption spectrum (340 -640 nm) of pure water. I. Photothermal measurements Appl. Opt. 36, 8699-8709.
  • 380-700 nm Pope R.M., Fry E.S. 1997. Absorption spectrum (380 -700 nm) of pure water. II. Integrating cavity measurements. Appl. Opt. 36, 8710-8723
Parameters
lambdawavelength of light [nm]
Returns
absorption length [m]

Definition at line 409 of file JPhysicsSupportkit.hh.

410 {
411 static JGridSplineFunction1D_t f1;
412
413 if (f1.empty()) {
414 // wave- absorption
415 // length coefficient
416 // [nm] [1/m]
417 f1[0.200e3] = 3.07;
418 f1[0.205e3] = 2.53;
419 f1[0.210e3] = 1.99;
420 f1[0.215e3] = 1.65;
421 f1[0.220e3] = 1.31;
422 f1[0.225e3] = 1.1185;
423 f1[0.230e3] = 0.927;
424 f1[0.235e3] = 0.8235;
425 f1[0.240e3] = 0.72;
426 f1[0.245e3] = 0.6395;
427 f1[0.250e3] = 0.559;
428 f1[0.255e3] = 0.508;
429 f1[0.260e3] = 0.457;
430 f1[0.265e3] = 0.415;
431 f1[0.270e3] = 0.373;
432 f1[0.275e3] = 0.3305;
433 f1[0.280e3] = 0.288;
434 f1[0.285e3] = 0.2515;
435 f1[0.290e3] = 0.215;
436 f1[0.295e3] = 0.178;
437 f1[0.300e3] = 0.141;
438 f1[0.305e3] = 0.123;
439 f1[0.310e3] = 0.105;
440 f1[0.315e3] = 0.0947;
441 f1[0.320e3] = 0.0844;
442 f1[0.325e3] = 0.0761;
443 f1[0.330e3] = 0.0678;
444 f1[0.335e3] = 0.06195;
445 f1[0.340e3] = 0.0325;
446 f1[0.345e3] = 0.02645;
447 f1[0.350e3] = 0.0204;
448 f1[0.355e3] = 0.018;
449 f1[0.360e3] = 0.0156;
450 f1[0.365e3] = 0.0135;
451 f1[0.370e3] = 0.0114;
452 f1[0.375e3] = 0.011385;
453 f1[0.380e3] = 0.01137;
454 f1[0.385e3] = 0.00941;
455 f1[0.390e3] = 0.00851;
456 f1[0.395e3] = 0.00813;
457 f1[0.400e3] = 0.00663;
458 f1[0.405e3] = 0.0053;
459 f1[0.410e3] = 0.00473;
460 f1[0.415e3] = 0.00444;
461 f1[0.420e3] = 0.00454;
462 f1[0.425e3] = 0.00478;
463 f1[0.430e3] = 0.00495;
464 f1[0.435e3] = 0.0053;
465 f1[0.440e3] = 0.00635;
466 f1[0.445e3] = 0.00751;
467 f1[0.450e3] = 0.00922;
468 f1[0.455e3] = 0.00962;
469 f1[0.460e3] = 0.00979;
470 f1[0.465e3] = 0.01011;
471 f1[0.470e3] = 0.0106;
472 f1[0.475e3] = 0.0114;
473 f1[0.480e3] = 0.0127;
474 f1[0.485e3] = 0.0136;
475 f1[0.490e3] = 0.015;
476 f1[0.495e3] = 0.0173;
477 f1[0.500e3] = 0.0204;
478 f1[0.505e3] = 0.0256;
479 f1[0.510e3] = 0.0325;
480 f1[0.515e3] = 0.0396;
481 f1[0.520e3] = 0.0409;
482 f1[0.525e3] = 0.0417;
483 f1[0.530e3] = 0.0434;
484 f1[0.535e3] = 0.0452;
485 f1[0.540e3] = 0.0474;
486 f1[0.545e3] = 0.0511;
487 f1[0.550e3] = 0.0565;
488 f1[0.555e3] = 0.0596;
489 f1[0.560e3] = 0.0619;
490 f1[0.565e3] = 0.0642;
491 f1[0.570e3] = 0.0695;
492 f1[0.575e3] = 0.0772;
493 f1[0.580e3] = 0.0896;
494 f1[0.585e3] = 0.11;
495 f1[0.590e3] = 0.1351;
496 f1[0.595e3] = 0.1672;
497 f1[0.600e3] = 0.2224;
498 f1[0.605e3] = 0.2577;
499 f1[0.610e3] = 0.2644;
500 f1[0.615e3] = 0.2678;
501 f1[0.620e3] = 0.2755;
502 f1[0.625e3] = 0.2834;
503 f1[0.630e3] = 0.2916;
504 f1[0.635e3] = 0.3012;
505 f1[0.640e3] = 0.3108;
506 f1[0.645e3] = 0.325;
507 f1[0.650e3] = 0.34;
508 f1[0.655e3] = 0.371;
509 f1[0.660e3] = 0.41;
510 f1[0.665e3] = 0.429;
511 f1[0.670e3] = 0.439;
512 f1[0.675e3] = 0.448;
513 f1[0.680e3] = 0.465;
514 f1[0.685e3] = 0.486;
515 f1[0.690e3] = 0.516;
516 f1[0.695e3] = 0.559;
517 f1[0.700e3] = 0.624;
518
519 f1.compile();
520 }
521
522 if (lambda > f1.getXmin() && lambda < f1.getXmax())
523 return 1.0 / f1(lambda);
524 else
525 return 0.0;
526 }

◆ getKineticEnergy()

double JPHYSICS::getKineticEnergy ( const double E,
const double m )
inline

Get kinetic energy of particle with given energy and mass.

Parameters
Eenergy [GeV]
mmass [GeV]
Returns
kinetic energy [GeV]

Definition at line 24 of file JPhysicsToolkit.hh.

25 {
26 if (E > m)
27 return sqrt((E - m) * (E + m));
28 else
29 return 0.0;
30 }

◆ getBeta()

double JPHYSICS::getBeta ( const double gamma)
inline

Get relative velocity given Lorentz boost.

Parameters
gammaLorentz boost
Returns
relative velocity

Definition at line 39 of file JPhysicsToolkit.hh.

40 {
41 if (gamma > 1.0)
42 return sqrt((gamma + 1.0) * (gamma - 1.0)) / gamma;
43 else
44 return 0.0;
45 }

◆ getO1LeadingLogEWCorrectionCCDIS()

template<bool equalCparity>
double JPHYSICS::getO1LeadingLogEWCorrectionCCDIS ( const double y,
const double u,
const double v,
const double L )
inline

Template declaration for method to compute 1st order leading-log EW corrections for CC DIS.

The template parameter refers to whether the incoming (anti)neutrino and the target parton have equal (true) or opposite (false) charge parity.

Parameters
yinelasticity
ulog(y)
vlog(1-y)
Llarge logarithm
Returns
first order leading-log correction

◆ getO1LeadingLogEWCorrectionCCDIS< true >()

template<>
double JPHYSICS::getO1LeadingLogEWCorrectionCCDIS< true > ( const double y,
const double u,
const double v,
const double L )
inline

Compute 1st order leading-log electroweak correction for CC DIS involving a neutrino and a quark or an anti-neutrino and an anti-quark.

Parameters
yinelasticity
ulog(y)
vlog(1-y)
Llarge logarithm
Returns
first order leading-log correction

Definition at line 64 of file JRadiativeCorrections.hh.

68 {
69 return getReducedFineStructureConstant() * L * (2*u - v + 1.5 - y);
70 }
double getReducedFineStructureConstant()
Get reduced fine-structure constant.

◆ getO1LeadingLogEWCorrectionCCDIS< false >()

template<>
double JPHYSICS::getO1LeadingLogEWCorrectionCCDIS< false > ( const double y,
const double u,
const double v,
const double L )
inline

Compute 1st order leading-log electroweak correction for CC DIS involving an anti-neutrino and a quark or a neutrino and an anti-quark.

Parameters
yinelasticity
ulog(y)
vlog(1-y)
Llarge logarithm
Returns
1st order leading-log correction

Definition at line 84 of file JRadiativeCorrections.hh.

88 {
89 const double z = 1-y;
90
91 return getReducedFineStructureConstant() * L * (2 * (u - v) + (1.5 - y) / z/z);
92 }

◆ getO2LeadingLogEWCorrectionCCDIS() [1/2]

template<bool equalCparity>
double JPHYSICS::getO2LeadingLogEWCorrectionCCDIS ( const double y,
const double u,
const double v,
const double L,
const double LL1 )
inline

Template declaration for method to compute 2nd order leading-log EW corrections for CC DIS.

The template parameter refers to whether the incoming (anti)neutrino and the target parton have equal (true) or opposite (false) charge parity.

Parameters
yinelasticity
ulog(y)
vlog(1-y)
Llarge logarithm
LL11st order leading-log correction
Returns
2nd order leading-log correction

◆ getO2LeadingLogEWCorrectionCCDIS< true >()

template<>
double JPHYSICS::getO2LeadingLogEWCorrectionCCDIS< true > ( const double y,
const double u,
const double v,
const double L,
const double LL1 )
inline

Compute 2nd order leading-log correction for CC DIS involving a neutrino and a quark or an anti-neutrino and an anti-quark.

Parameters
yinelasticity
ulog(y)
vlog(1-y)
Llarge logarithm
LL11st order leading-log correction
Returns
2nd order leading-log correction

Definition at line 126 of file JRadiativeCorrections.hh.

131 {
132 const double A = getReducedFineStructureConstant() * L;
133
134 const double f1 = 0.5 * A*A * (4*u * (u - v) + 0.5*v*v - 4*ZETA2 +
135 (6 - 4*y)*u + (3*y - 4)*v + 9./4.);
136 const double f2 = A/3. * LL1;
137
138 return f1 + f2;
139 }

◆ getO2LeadingLogEWCorrectionCCDIS< false >()

template<>
double JPHYSICS::getO2LeadingLogEWCorrectionCCDIS< false > ( const double y,
const double u,
const double v,
const double L,
const double LL1 )
inline

Compute 2nd order leading-log correction for CC DIS involving an anti-neutrino and a quark or a neutrino and an anti-quark.


Parameters
yinelasticity
ulog(y)
vlog(1-y)
Llarge logarithm
LL11st order leading-log correction
Returns
2nd order leading-log correction

Definition at line 154 of file JRadiativeCorrections.hh.

159 {
160 const double z = 1-y;
161
162 const double Li2 = TMath::DiLog(z);
163 const double A = getReducedFineStructureConstant() * L;
164
165 const double f1 = 0.5 * A*A * ((4 * (Li2 + u*u + 0.5*v*v - 2*ZETA2)) +
166 ((6 - 4*y)*u + (y - 1.5)*v + 2.25 - 2*y) / z/z);
167 const double f2 = A/3. * LL1;
168
169 return f1 + f2;
170 }

◆ getO2LeadingLogEWCorrectionCCDIS() [2/2]

template<bool equalCparity>
double JPHYSICS::getO2LeadingLogEWCorrectionCCDIS ( const double y,
const double u,
const double v,
const double L )
inline

Template declaration for method to compute 2nd order leading-log EW corrections for CC DIS.

The template parameter refers to whether the incoming (anti)neutrino and the target parton have equal (true) or opposite (false) charge parity.

Parameters
yinelasticity
ulog(y)
vlog(1-y)
Llarge logarithm
Returns
2nd order leading-log correction

Definition at line 185 of file JRadiativeCorrections.hh.

189 {
190 const double LL1 = getO1LeadingLogEWCorrectionCCDIS<equalCparity>(y, u, v, L);
191
192 return getO2LeadingLogEWCorrectionCCDIS<equalCparity>(y, u, v, L, LL1);
193 }

◆ getMSCorrection()

double JPHYSICS::getMSCorrection ( const JElectricCharge & q1,
const double Q2,
const double m1 )

Compute Minimal Subtraction (MS) scheme correction factor to account for initial state quark mass singularities.

N.B.: This correction factor has already been subtracted implicitly in the template specializations for template<bool equalCparity> getRadiativeCorrectionCCDIS<equalCparity>() below.

Parameters
q1primary quark electric charge
Q2squared momentum transfer [GeV^2]
m1primary quark mass [GeV]
Returns
MS scheme correction factor

Definition at line 208 of file JRadiativeCorrections.hh.

211 {
212 using std::log;
213
214 switch ((int) q1) {
215 case (int) JElectricCharge::PLUS_TWO:
216 case (int) JElectricCharge::MINUS_ONE:
217 case (int) JElectricCharge::MINUS_TWO:
218 case (int) JElectricCharge::PLUS_ONE: {
219
220 return (q1*q1 * getReducedFineStructureConstant() *
221 (-4./3. * (log(Q2) - 2*log(m1)) - 17./9.));
222 }
223 default:
224 THROW(JValueOutOfRange, "getMSCorrection(): Invalid quark charge " << static_cast<int>(q1) << " [e/3]");
225 }
226 }
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.

◆ getRadiativeCorrectionCCDIS()

template<bool equalCparity>
double JPHYSICS::getRadiativeCorrectionCCDIS ( const double y,
const double Sx,
const double ml,
const JElectricCharge & q1 )

Template declaration of method for computing CC DIS radiative corrections.

The template parameter refers to whether the incoming (anti-)neutrino and the target parton have the same (true) or opposite (false) charge parity.

Parameters
yscattering inelasticity (Björken-y)
Sxsquared invariant mass times Björken-x [GeV^2]
mlleading lepton mass [GeV]
q1primary parton electric charge
Returns
CC DIS NLO EW correction

◆ getRadiativeCorrectionCCDIS< true >()

template<>
double JPHYSICS::getRadiativeCorrectionCCDIS< true > ( const double y,
const double Sx,
const double ml,
const JElectricCharge & q1 )

Compute the radiative correction factor for CC DIS interactions of neutrinos off quarks or anti-neutrinos off anti-quarks according to eqns.

(4.1) and (4.2) of JHEP06(2005)078.

Parameters
yscattering inelasticity (Björken-y)
Sxsquared invariant mass times Björken-x [GeV^2]
mlleading lepton mass [GeV]
q1primary parton electric charge
Returns
neutrino CC DIS NLO EW correction

Definition at line 259 of file JRadiativeCorrections.hh.

263 {
264 using std::log;
265 using std::log1p;
266
267 const double L = log(Sx) - 2*log(ml);
268
269 const double t = -1.5 * (log(Sx) - 2*log(MASS_Z_BOSON));
270 const double u = log ( y);
271 const double v = log1p(-y);
272
273 const double Li2 = TMath::DiLog(y);
274
275 const double LL1 = getO1LeadingLogEWCorrectionCCDIS<true>(y, u, v, L);
276 const double LL2 = getO2LeadingLogEWCorrectionCCDIS<true>(y, u, v, L, LL1);
277
278 const double delta = (t + 0.5*(v*u - u*u - v*v) - 1.5*Li2 +
279 (1-y)*v - 1.75*u + 0.5*y*u + 1.25*y + 0.5 + 2*ZETA2 +
280 q1 * ((3 + t + ZETA2 - v*u - 2*Li2) +
281 q1 * (91./72. - (5 - 0.5*y)*y/12. - ZETA2)));
282
283 // N.B.: The quark mass singularity correction has already been subtracted.
284 // It cancels out against terms in formula (4.2) of JHEP06(2005)078.
285 return 1.0 + LL1 + LL2 + 2*delta*getReducedFineStructureConstant();
286 }

◆ getRadiativeCorrectionCCDIS< false >()

template<>
double JPHYSICS::getRadiativeCorrectionCCDIS< false > ( const double y,
const double Sx,
const double ml,
const JElectricCharge & q1 )

Compute the radiative correction factor for CC DIS interactions of neutrinos off anti-quarks or anti-neutrinos off quarks according to eqns.

(4.1) and (4.3) of JHEP06(2005)078.

Parameters
yscattering inelasticity (Björken-y)
Sxsquared invariant mass times Björken-x [GeV^2]
mlleading lepton mass [GeV]
q1primary parton electric charge
Returns
anti-neutrino CC DIS NLO EW correction

Definition at line 301 of file JRadiativeCorrections.hh.

305 {
306 using std::log;
307 using std::log1p;
308
309 const double z = 1-y;
310 const double z2 = z*z;
311
312 const double L = log(Sx) - 2*log(ml);
313
314 const double t = -1.5 * (log(Sx) - 2*log(MASS_Z_BOSON));
315 const double u = log ( y);
316 const double v = log1p(-y);
317
318 const double Li2 = TMath::DiLog(y);
319
320 const double LL1 = getO1LeadingLogEWCorrectionCCDIS<false>(y, u, v, L);
321 const double LL2 = getO2LeadingLogEWCorrectionCCDIS<false>(y, u, v, L, LL1);
322
323 const double delta = (2*ZETA2 - Li2 + v*u - 0.5*u*u - v*v +
324 ((-1.75 + (2.5 - y)*y) * (u-v) - 1.25 + y) / z2 +
325 q1 * ((0.5 - (2.5 - 1.75*y)*y) / z2 +
326 t - 1.5*v + 2*Li2 + u*v - ZETA2 +
327 q1 * (17./18. - ZETA2 - ((4. + y)*y - 5.75) / 18. / z2)));
328
329 // N.B.: The quark mass singularity correction has already been subtracted.
330 // It cancels out against terms in formula (4.3) of JHEP06(2005)078.
331 return 1.0 + LL1 + LL2 + 2*delta*getReducedFineStructureConstant();
332 }

◆ getRadiativeCorrectionCCDISNeutrino()

double JPHYSICS::getRadiativeCorrectionCCDISNeutrino ( const double y,
const double Sx,
const double ml,
const JElectricCharge & q1 )

Compute the radiative correction factor for neutrino CC DIS interactions according to eqns.

(4.1), (4.2) and (4.3) of JHEP06(2005)078.

Parameters
yscattering inelasticity (Björken-y)
Sxsquared invariant mass times Björken-x [GeV^2]
mlleading lepton mass [GeV]
q1primary quark electric charge
Returns
neutrino CC DIS NLO EW correction

Definition at line 345 of file JRadiativeCorrections.hh.

349 {
350 switch ((int) q1) {
351
352 case (int) JElectricCharge::MINUS_ONE:
353 return getRadiativeCorrectionCCDIS<true>(y, Sx, ml, q1);
354
355 case (int) JElectricCharge::MINUS_TWO:
356 return getRadiativeCorrectionCCDIS<false>(y, Sx, ml, q1);
357
358 default:
359 THROW(JValueOutOfRange, "getRadiativeCorrectionCCDISNeutrino(): Invalid quark charge " << static_cast<int>(q1) << " [e/3]");
360 }
361 }
Exception for accessing a value in a collection that is outside of its range.

◆ getRadiativeCorrectionCCDISAntiNeutrino()

double JPHYSICS::getRadiativeCorrectionCCDISAntiNeutrino ( const double y,
const double Sx,
const double ml,
const JElectricCharge & q1 )

Compute the radiative correction factor for anti-neutrino CC DIS interactions according to eqns.

(4.1), (4.2) and (4.3) of JHEP06(2005)078.

Parameters
yscattering inelasticity (Björken-y)
Sxsquared invariant mass times Björken-x [GeV^2]
mlleading lepton mass [GeV]
q1primary quark electric charge
Returns
anti-neutrino CC DIS NLO EW correction

Definition at line 374 of file JRadiativeCorrections.hh.

378 {
379 switch ((int) q1) {
380
381 case (int) JElectricCharge::PLUS_TWO:
382 return getRadiativeCorrectionCCDIS<false>(y, Sx, ml, q1);
383
384 case (int) JElectricCharge::PLUS_ONE:
385 return getRadiativeCorrectionCCDIS<true>(y, Sx, ml, q1);
386
387 default:
388 THROW(JValueOutOfRange, "getRadiativeCorrectionCCDISAntiNeutrino(): Invalid quark charge " << static_cast<int>(q1) << " [e/3]");
389 }
390 }

◆ getRho1980()

double JPHYSICS::getRho1980 ( const double mt = MASS_TOP_QUARK,
const double mH = MASS_HIGGS_BOSON,
const double mW = MASS_W_BOSON,
const double s2W = getSin2ThetaW() )

Compute electroweak form factor rho as specified in eqn.

(24a) of Phys.Rev.D, vol. 22, nr. 11, p. 22 (1980).

Parameters
mttop mass [GeV]
mHHiggs mass [GeV]
mWW boson mass [GeV]
s2Wsquared sine of weak mixing angle
Returns
electroweak form factor rho

Auxiliary lambda expression to compute the term in brackets multiplied by the squared sine of the weak mixing angle.

Returns
factor

Definition at line 554 of file JRadiativeCorrections.hh.

558 {
559 /**
560 * Auxiliary lambda expression to compute the term in brackets
561 * multiplied by the squared sine of the weak mixing angle.
562 *
563 * \return factor
564 */
565 auto getRhoFactor = [=]() {
566
567 using std::log1p;
568
569 const double c2W = 1 - s2W;
570 const double mZ = mW * mW / c2W;
571
572 const double s2HW = ((1.0 + mH / mW) *
573 (1.0 - mH / mW));
574
575 const double s2HZ = ((1.0 + mH / mZ) *
576 (1.0 - mH / mZ));
577
578 const double c2tW = -((1.0 + mt / mW) *
579 (1.0 - mt / mW)) + 1.0;
580
581 const double lnc2HW = log1p(-s2HW);
582 const double lnc2HZ = log1p(-s2HZ);
583
584 // aZ calculated as in eqn. (19d)
585 const double aZ = 0.5 / c2W * (2.5 - s2W * (3.75 + s2W * (0.2 - 14./9.*s2W)));
586
587 const double f3 = (0.75 * log1p(-s2W)/s2W -1.75 + 2 * aZ / c2W) / s2W;
588
589 return f3 + 0.75 * ((1.0 - s2HW) * (lnc2HZ/s2HZ - lnc2HW/s2HW) + c2tW) / s2W;
590 };
591
592 static const double rho = 1.0 + 0.5 * getReducedFineStructureConstant() * getRhoFactor();
593
594 return rho;
595 }
double f3(const double x, const double y, const double z)
3D function.

◆ getRho1986()

std::complex< double > JPHYSICS::getRho1986 ( const JElectricCharge & qf,
const double Q2 )

Compute electroweak renormalization factor rho as specified on p.

10 and in eqn. 24 of JINR-E2-86-260 (1986).

Parameters
qffermion electric charge
Q2negative squared momentum transfer [GeV^2]
Returns
electroweak renormalization factor rho

Auxiliary lambda expression to compute constant term.

Definition at line 606 of file JRadiativeCorrections.hh.

608 {
609 using std::complex;
610
611 const double c2W = getCos2ThetaW();
612 const double s2W = getSin2ThetaW();
613
614 /**
615 * Auxiliary lambda expression to compute constant term.
616 */
617 auto getConstant = [=]() {
618
619 using std::log1p;
620
621 const double s2HW = ((1.0 + MASS_HIGGS_BOSON / MASS_W_BOSON) *
622 (1.0 - MASS_HIGGS_BOSON / MASS_W_BOSON));
623
624 const double s2HZ = ((1.0 + MASS_HIGGS_BOSON / MASS_Z_BOSON) *
625 (1.0 - MASS_HIGGS_BOSON / MASS_Z_BOSON));
626
627 const double lnc2HW = log1p(-s2HW);
628 const double lnc2HZ = log1p(-s2HZ);
629
630 return log1p(-s2W)/s2W + (1.0 - s2HW) * (lnc2HZ/s2HZ - lnc2HW/s2HW) + 1.0;
631 };
632
633 static const double constant = getConstant();
634
635 const JPassarinoVeltman& PV = JPassarinoVeltman::getInstance();
636
637 const double sgnQf = (qf < JElectricCharge::ZERO ? -1. : +1.);
638
639 const double mt2 = MASS_TOP_QUARK * MASS_TOP_QUARK;
640 const double c2tW = mt2 / (MASS_W_BOSON * MASS_W_BOSON);
641
642 const double a = 2.*s2W * qf - 0.5*sgnQf;
643 const double b = sgnQf * (1. + (a*a + 0.25) / c2W);
644
645 // N.B.: The term below introduces a Q^2-dependence,
646 // which is not present in the results presented in JHEP06(2005)078.
647 const complex<double> c = c2tW * (PV.getI0(-Q2, mt2, mt2) -
648 PV.getI1(-Q2, mt2, 0.0) * 2.);
649
650 return 1.0 + (3./8. * getReducedFineStructureConstant() / s2W *
651 (constant - 2. * (b - c)));
652 }
double getCos2ThetaW()
Get squared cosine of weak mixing angle.

◆ getKappa1986()

std::complex< double > JPHYSICS::getKappa1986 ( const JElectricCharge & qf,
const double Q2,
const double ml2 )

Compute electroweak renormalization factor kappa as specified on p.

10 and in eqn. 25 of JINR-E2-86-260.

Parameters
Q2negative squared momentum transfer [GeV^2]
ml2squared charged lepton mass [GeV^2]
qffermion electric charge
Returns
electroweak renormalization factor kappa

Definition at line 664 of file JRadiativeCorrections.hh.

667 {
668 using std::complex;
669
670 const double c2W = getCos2ThetaW();
671 const double s2W = getSin2ThetaW();
672 const double t2W = s2W / c2W;
673
674 const JPassarinoVeltman& PV = JPassarinoVeltman::getInstance();
675
676 const double deltaRho = getVeltmanParameter();
677
678 const double sgnQf = (qf < JElectricCharge::ZERO ? -1. : +1.);
679
680 const double a = 2.0*s2W*qf - 0.75*sgnQf;
681 const double b = -deltaRho / t2W - 3.5 - 2./3.*c2W;
682 const double c = 1.5 * sgnQf * (1.0 + (a + 0.25) * (a - 0.25) / c2W);
683 const complex<double> d = 4.0 * PV.getI3(-Q2, ml2, ml2) - PV.getGammaZmixing(Q2);
684
685 return 1.0 + 0.5 * getReducedFineStructureConstant() / s2W * (b + c + d);
686 }
double getVeltmanParameter()
Get leading-order Veltman parameter ( ).
Singleton class for computing Passarino-Veltman functions using LoopTools.
std::complex< double > getI3(const double q2, const double m1sq, const double m2sq) const
Compute I3 (eqn.
std::complex< double > getGammaZmixing(const double Q2) const
Get gamma-Z mixing operator.

◆ getRho()

double JPHYSICS::getRho ( const JElectricCharge & Cf,
const JWeakIsospinProjection & I3 )

Compute electroweak renormalization factor rho according to eqn.

(3.6) of JHEP06(2005)078.

N.B.: The original equation in the JHEP paper contains several errata. The colour factor $C_{f}$ should be replaced by the fermion electric charge $Q_{f}$; else the equation does not match with the description given on p. 10, eqn. 24 of the original source on which the equation is based, i.e. JINR-E2-86-260 (1986). For the same reason, the equation needs to be multiplied by a factor $\frac{\alpha_{EM}}{4 \pi \sin^{2}(\theta_W)}$ and added to a value of 1.0 to obtain the correct renormalization factor $\rho = 1 + \frac{\alpha_{EM}}{\pi} \rho_{1}$, which can be used to calculate the renormalized electroweak coupling constants, $\tilde{g}_{L}$ and $\tilde{g}_{R}$.

Parameters
Cffermion electric charge
I3weak isospin projection
Returns
electroweak renormalization factor rho

Auxiliary lambda expression to compute constant term.

Definition at line 704 of file JRadiativeCorrections.hh.

706 {
707 const double c2W = getCos2ThetaW();
708 const double s2W = getSin2ThetaW();
709
710 /**
711 * Auxiliary lambda expression to compute constant term.
712 */
713 auto getConstant = [=]() {
714
715 using std::log1p;
716
717 const double s2HW = ((1.0 + MASS_HIGGS_BOSON / MASS_W_BOSON) *
718 (1.0 - MASS_HIGGS_BOSON / MASS_W_BOSON));
719
720 const double s2HZ = ((1.0 + MASS_HIGGS_BOSON / MASS_Z_BOSON) *
721 (1.0 - MASS_HIGGS_BOSON / MASS_Z_BOSON));
722
723 const double c2tW = -((1.0 + MASS_TOP_QUARK / MASS_W_BOSON) *
724 (1.0 - MASS_TOP_QUARK / MASS_W_BOSON)) + 1.0;
725
726 const double lnc2HW = log1p(-s2HW);
727 const double lnc2HZ = log1p(-s2HZ);
728
729 return log1p(-s2W)/s2W + (1.0 - s2HW) * (lnc2HZ/s2HZ - lnc2HW/s2HW) + 1.0 + c2tW;
730 };
731
732 static const double constant = getConstant();
733
734 const double I3term = 4.0 * (I3 + (0.5*I3 - s2W*Cf * (1.0 - 4*I3*s2W*Cf)) / c2W);
735
736 return 1. + 3./8. * getReducedFineStructureConstant() / s2W * (constant - I3term);
737 }

◆ getKappa()

std::complex< double > JPHYSICS::getKappa ( const JElectricCharge & Cf,
const JWeakIsospinProjection & I3,
const double Q2,
const double mf )

Compute electroweak renormalization factor kappa according to eqn.

(3.7) of JHEP06(2005)078.

N.B.: The original equation in the JHEP paper contains several errata. The colour factor $C_{f}$ should be replaced by the fermion electric charge $Q_{f}$, as is done here; else the equation does not match with the description given on p. 10, eqn. 25 of the original source on which the equation is based, i.e. JINR-E2-86-260 (1986). For the same reason, the equation needs to be multiplied by a factor $\frac{\alpha_{EM}}{4 \pi \sin^{2}(\theta_W)}$ and added to a value of 1.0 to obtain the correct renormalization factor $\kappa = 1 + \frac{\alpha_{EM}}{\pi} \kappa_{1}$, which can be used to calculate the renormalized electroweak coupling constants, $\tilde{g}_{L}$ and $\tilde{g}_{R}$.

Parameters
Cffermion electric charge
I3weak isospin projection
Q2squared momentum-transfer [GeV^2]
mffermion mass [GeV]
Returns
electroweak renormalization factor kappa

Definition at line 757 of file JRadiativeCorrections.hh.

761 {
762 const double c2W = getCos2ThetaW();
763 const double s2W = getSin2ThetaW();
764
765 const JPassarinoVeltman& PV = JPassarinoVeltman::getInstance();
766
767 static const double constant = -(3.5 + 2./3.*getCos2ThetaW() +
768 getVeltmanParameter() * c2W / s2W);
769
770 return 1.0 + 0.5 * getReducedFineStructureConstant() / s2W * (constant + 3 * (I3 + (0.5*I3 - s2W*Cf * (1.5 - 4*I3*s2W*Cf)) / c2W) +
771 2.0 * PV.getBf(Q2, mf) - PV.getGammaZmixing(Q2));
772 }
std::complex< double > getBf(const double Q2, const double mf) const
Compute Bf (eqn.

◆ getEWgR()

double JPHYSICS::getEWgR ( const JElectricCharge & Qf)
inline

Get electroweak right-chiral coupling constant.

Parameters
Qffermion electric charge
Returns
gR

Definition at line 781 of file JRadiativeCorrections.hh.

782 {
783 return -Qf * getSin2ThetaW();
784 }

◆ getEWgL()

double JPHYSICS::getEWgL ( const JElectricCharge & Qf,
const JWeakIsospinProjection & I3 )
inline

Get electroweak left-chiral coupling constant.

Parameters
Qffermion electric charge
I3weak isospin projection
Returns
gL

Definition at line 794 of file JRadiativeCorrections.hh.

796 {
797 return I3 + getEWgR(Qf);
798 }
double getEWgR(const JElectricCharge &Qf)
Get electroweak right-chiral coupling constant.

◆ getEWgRrenormalized()

std::complex< double > JPHYSICS::getEWgRrenormalized ( const JElectricCharge & Qf,
const std::complex< double > & rho,
const std::complex< double > & kappa )
inline

Compute renormalized electroweak right-chiral coupling constant.

Parameters
Qffermion electric charge
rhoelectroweak renormalization factor rho
rhoelectroweak renormalization factor kappa
Returns
renormalized electroweak right-chiral coupling constant

Definition at line 809 of file JRadiativeCorrections.hh.

812 {
813 return rho * kappa * getEWgR(Qf);
814 }

◆ getEWgLrenormalized()

std::complex< double > JPHYSICS::getEWgLrenormalized ( const JWeakIsospinProjection & I3,
const std::complex< double > & rho,
const std::complex< double > & gRrenorm )
inline

Compute renormalized left-chiral electroweak coupling constant.

Parameters
I3weak isospin projection
rhoelectroweak renormalization factor rho
gRrenormrenormalized electroweak right-chiral coupling constant
Returns
renormalized electroweak left-chiral coupling constant

Definition at line 825 of file JRadiativeCorrections.hh.

828 {
829 return static_cast<double>(I3) * rho + gRrenorm;
830 }

◆ getRadiativeCorrectionNCDIS() [1/2]

template<bool equalCparity>
double JPHYSICS::getRadiativeCorrectionNCDIS ( const double y,
const double Sx,
const double m1,
const JElectricCharge & q1,
const double gL,
const double gR,
const std::complex< double > & gLrenorm,
const std::complex< double > & gRrenorm )

Template declaration of method for computing NC DIS radiative correction.

The template parameter refers to whether the incoming (anti-)neutrino and the target parton have equal (true) or opposite (false) charge parity.

Parameters
yscattering inelasticity (Björken-y)
Sxsquared invariant mass times Björken-x [GeV^2]
m1primary parton mass [GeV]
q1primary parton electric charge
gLelectroweak left-chiral coupling constant
gRelectroweak right-chiral coupling constant
gLrenormrenormalized electroweak left-chiral coupling constant
gRrenormrenormalized electroweak right-chiral coupling constant
Returns
radiative correction factor

◆ getRadiativeCorrectionNCDIS< true >()

template<>
double JPHYSICS::getRadiativeCorrectionNCDIS< true > ( const double y,
const double Sx,
const double m1,
const JElectricCharge & q1,
const double gL,
const double gR,
const std::complex< double > & gLrenorm,
const std::complex< double > & gRrenorm )

Compute the radiative correction factor for NC DIS interactions of neutrinos off anti-quarks or anti-neutrinos off quarks according to eqns.

(4.1), (4.4) and (4.5) in JHEP06(2005)078.

Parameters
yscattering inelasticity (Björken-y)
Sxsquared invariant mass times Björken-x [GeV^2]
m1primary parton mass [GeV]
q1primary parton electric charge
gLelectroweak left-chiral coupling constant
gRelectroweak right-chiral coupling constant
gLrenormrenormalized electroweak left-chiral coupling constant
gRrenormrenormalized electroweak right-chiral coupling constant
Returns
radiative correction factor

Definition at line 875 of file JRadiativeCorrections.hh.

883 {
884 using std::norm;
885
886 const double z = 1-y;
887
888 const double mixterm = 2.*m1*m1*y / Sx * gL*gR;
889
890 const double a = gL*gL + gR*gR * z*z - mixterm;
891 const double b = (gR*gR * (8.0*z + 1.0) +
892 gL*gL * (8.0 + z) * z) / 24. / a;
893 const double c = (norm(gLrenorm) + norm(gRrenorm) * z*z - mixterm) / a;
894
895 return 2 * getReducedFineStructureConstant() * q1*q1 * (b + 8./9. - ZETA2) + c;
896 }

◆ getRadiativeCorrectionNCDIS< false >()

template<>
double JPHYSICS::getRadiativeCorrectionNCDIS< false > ( const double y,
const double Sx,
const double m1,
const JElectricCharge & q1,
const double gL,
const double gR,
const std::complex< double > & gLrenorm,
const std::complex< double > & gRrenorm )

Compute the radiative correction factor for NC anti-neutrino DIS interactions of anti-neutrinos off quarks or neutrinos off anti-quarks according to eqns.

(4.1), (4.4) and (4.5) in JHEP06(2005)078.

Parameters
yscattering inelasticity (Björken-y)
Sxsquared invariant mass times Björken-x [GeV^2]
m1primary quark mass [GeV]
q1primary quark electric charge
gLelectroweak left-chiral coupling constant
gRelectroweak right-chiral coupling constant
gLrenormrenormalized electroweak left-chiral coupling constant
gRrenormrenormalized electroweak right-chiral coupling constant
Returns
radiative correction factor

Definition at line 915 of file JRadiativeCorrections.hh.

923 {
924 return getRadiativeCorrectionNCDIS<true>(y, Sx, m1, q1, gR, gL, gRrenorm, gLrenorm);
925 }

◆ getRadiativeCorrectionNCDIS() [2/2]

template<bool equalCparity>
double JPHYSICS::getRadiativeCorrectionNCDIS ( const double y,
const double Sx,
const double Q2,
const double ml,
const double m1,
const JElectricCharge & q1 )

Compute the radiative correction factor for NC DIS interactions
according to eqns.

(4.1), (4.4) and (4.5) in JHEP06(2005)078. The template parameter refers to whether the incoming (anti-)neutrino and the target parton have equal (true) or opposite (false) charge parity.

N.B.: The charged lepton mass corresponds to the mass of a charged lepton with identical flavour as that of the incoming (anti-)neutrino.

Parameters
yscattering inelasticity (Björken-y)
Sxsquared invariant mass times Björken-x [GeV^2]
Q2negative squared momentum transfer [GeV^2]
mlcharged lepton mass [GeV]
m1primary quark mass [GeV]
q1primary quark electric charge
Returns
radiative correction factor

Definition at line 946 of file JRadiativeCorrections.hh.

952 {
953 using std::complex;
954
955 // Weak isospin projection for left-chiral quark or right-chiral anti-quark
956 const JWeakIsospinProjection I3(q1 > 0 ? +0.5 : -0.5);
957
958 const double gR = getEWgR(q1);
959 const double gL = getEWgL(q1, I3);
960
961 const complex<double> rho = getRho1986 (q1, Q2);
962 const complex<double> kappa = getKappa1986(q1, Q2, ml*ml);
963
964 const complex<double> gRrenorm = getEWgRrenormalized(q1, rho, kappa);
965 const complex<double> gLrenorm = getEWgLrenormalized(I3, rho, gRrenorm);
966
967 return getRadiativeCorrectionNCDIS<equalCparity>(y, Sx, m1, q1, gL, gR, gLrenorm, gRrenorm);
968 }
std::complex< double > getEWgLrenormalized(const JWeakIsospinProjection &I3, const std::complex< double > &rho, const std::complex< double > &gRrenorm)
Compute renormalized left-chiral electroweak coupling constant.
std::complex< double > getKappa1986(const JElectricCharge &qf, const double Q2, const double ml2)
Compute electroweak renormalization factor kappa as specified on p.
double getEWgL(const JElectricCharge &Qf, const JWeakIsospinProjection &I3)
Get electroweak left-chiral coupling constant.
std::complex< double > getRho1986(const JElectricCharge &qf, const double Q2)
Compute electroweak renormalization factor rho as specified on p.
std::complex< double > getEWgRrenormalized(const JElectricCharge &Qf, const std::complex< double > &rho, const std::complex< double > &kappa)
Compute renormalized electroweak right-chiral coupling constant.
Auxiliary class for weak isospin projections of SM fields.
Definition JCharges.hh:224

◆ getRadiativeCorrectionNCDISNeutrino()

double JPHYSICS::getRadiativeCorrectionNCDISNeutrino ( const double y,
const double Sx,
const double Q2,
const double ml,
const double m1,
const JElectricCharge & q1 )

Compute the radiative correction factor for NC neutrino DIS interactions
according to eqns.

(4.1), (4.4) and (4.5) in JHEP06(2005)078.

N.B.: The charged lepton mass corresponds to the mass of a charged lepton with identical flavour as that of the incoming (anti-)neutrino.

Parameters
yscattering inelasticity (Björken-y)
Sxsquared invariant mass times Björken-x [GeV^2]
Q2negative squared momentum transfer [GeV^2]
mlcharged lepton mass [GeV]
m1primary quark mass [GeV]
q1primary quark electric charge
Returns

Definition at line 986 of file JRadiativeCorrections.hh.

992 {
993 switch ((int) q1) {
994
995 case (int) JElectricCharge::PLUS_TWO:
996 case (int) JElectricCharge::MINUS_ONE:
997 return getRadiativeCorrectionNCDIS<true>(y, Sx, Q2, ml, m1, q1);
998
999 case (int) JElectricCharge::MINUS_TWO:
1000 case (int) JElectricCharge::PLUS_ONE:
1001 return getRadiativeCorrectionNCDIS<false>(y, Sx, Q2, ml, m1, q1);
1002
1003 default:
1004 THROW(JValueOutOfRange, "getRadiativeCorrectionNCDIS<false>(): Invalid quark charge " << static_cast<int>(q1) << " [e/3]");
1005 }
1006 }

◆ getRadiativeCorrectionNCDISAntiNeutrino()

double JPHYSICS::getRadiativeCorrectionNCDISAntiNeutrino ( const double y,
const double Sx,
const double Q2,
const double ml,
const double m1,
const JElectricCharge & q1 )

Compute the radiative correction factor for NC anti-neutrino DIS interactions
according to eqns.

(4.1), (4.4) and (4.5) in JHEP06(2005)078.

N.B.: The charged lepton mass corresponds to the mass of a charged lepton with identical flavour as that of the incoming (anti-)neutrino.

Parameters
yscattering inelasticity (Björken-y)
Sxsquared invariant mass times Björken-x [GeV^2]
Q2negative squared momentum transfer [GeV^2]
mlcharged lepton mass [GeV]
m1primary quark mass [GeV]
q1primary quark electric charge
Returns

Definition at line 1024 of file JRadiativeCorrections.hh.

1030 {
1031 switch ((int) q1) {
1032
1033 case (int) JElectricCharge::PLUS_TWO:
1034 case (int) JElectricCharge::MINUS_ONE:
1035 return getRadiativeCorrectionNCDIS<false>(y, Sx, Q2, ml, m1, q1);
1036
1037 case (int) JElectricCharge::MINUS_TWO:
1038 case (int) JElectricCharge::PLUS_ONE:
1039 return getRadiativeCorrectionNCDIS<true>(y, Sx, Q2, ml, m1, q1);
1040
1041 default:
1042 THROW(JValueOutOfRange, "getRadiativeCorrectionNCDIS<false>(): Invalid quark charge " << static_cast<int>(q1) << " [e/3]");
1043 }
1044 }

Variable Documentation

◆ C

const double JPHYSICS::C = 0.299792458
static

Physics constants.

Speed of light in vacuum [m/ns]

Definition at line 25 of file JPhysics/JConstants.hh.

◆ C_INVERSE

const double JPHYSICS::C_INVERSE = 1.0/C
static

Inverse speed of light in vacuum [ns/m].

Definition at line 26 of file JPhysics/JConstants.hh.

◆ AVOGADRO

const double JPHYSICS::AVOGADRO = 6.0221415e23
static

Avogadro's number.

Definition at line 27 of file JPhysics/JConstants.hh.

◆ NUCLEON_MOLAR_MASS

const double JPHYSICS::NUCLEON_MOLAR_MASS = 1.0
static

nucleon molar mass [g/mol]

Definition at line 28 of file JPhysics/JConstants.hh.

◆ H

const double JPHYSICS::H = 4.13566733e-15
static

Planck constant [eV s].

Definition at line 29 of file JPhysics/JConstants.hh.

◆ HBAR

const double JPHYSICS::HBAR = H/(2*PI)
static

Planck constant [eV s].

Definition at line 30 of file JPhysics/JConstants.hh.

◆ HBARC

const double JPHYSICS::HBARC = HBAR*C*1.0e9
static

Planck constant [eV m].

Definition at line 31 of file JPhysics/JConstants.hh.

◆ ALPHA_ELECTRO_MAGNETIC

const double JPHYSICS::ALPHA_ELECTRO_MAGNETIC = 1.0/137.036
static

Electro-Magnetic coupling constant.

Definition at line 32 of file JPhysics/JConstants.hh.

◆ THETA_MCS

const double JPHYSICS::THETA_MCS = 13.6e-3
static

Multiple Coulomb scattering constant [GeV].

Definition at line 33 of file JPhysics/JConstants.hh.

◆ FERMI_CONSTANT

const double JPHYSICS::FERMI_CONSTANT = 1.1663789e-5
static

Fermi coupling constant [GeV^-2].

Definition at line 34 of file JPhysics/JConstants.hh.

◆ R_EARTH_KM

const double JPHYSICS::R_EARTH_KM = 6371
static

Geophysics constants.

Radius of the Earth [m]

Definition at line 39 of file JPhysics/JConstants.hh.

◆ DENSITY_EARTH

const double JPHYSICS::DENSITY_EARTH = 5.51
static

Average density of the Earth [gr/cm³].

Definition at line 40 of file JPhysics/JConstants.hh.

◆ DENSITY_SEA_WATER

const double JPHYSICS::DENSITY_SEA_WATER = 1.038
static

Fixed environment values.

Density of sea water [g/cm^3]

Definition at line 45 of file JPhysics/JConstants.hh.

◆ DENSITY_ROCK

const double JPHYSICS::DENSITY_ROCK = 2.65
static

Density of rock [g/cm^3].

Definition at line 46 of file JPhysics/JConstants.hh.

◆ SALINITY_SEA_WATER

const double JPHYSICS::SALINITY_SEA_WATER = 0.035
static

Salinity of sea water.

Definition at line 47 of file JPhysics/JConstants.hh.

◆ INDEX_OF_REFRACTION_WATER

const double JPHYSICS::INDEX_OF_REFRACTION_WATER = 1.3800851282
static

Average index of refraction of water corresponding to the group velocity.

Definition at line 48 of file JPhysics/JConstants.hh.

◆ X0_WATER_M

const double JPHYSICS::X0_WATER_M = 0.36
static

Radiation length pure water [m].

Definition at line 49 of file JPhysics/JConstants.hh.

◆ TAN_THETA_C_WATER

const double JPHYSICS::TAN_THETA_C_WATER = sqrt((INDEX_OF_REFRACTION_WATER - 1.0) * (INDEX_OF_REFRACTION_WATER + 1.0))
static

Derived quantities of optical medium.

Average tangent corresponding to the group velocity

Definition at line 54 of file JPhysics/JConstants.hh.

◆ COS_THETA_C_WATER

const double JPHYSICS::COS_THETA_C_WATER = 1.0 / INDEX_OF_REFRACTION_WATER
static

Average cosine corresponding to the group velocity.

Definition at line 55 of file JPhysics/JConstants.hh.

◆ SIN_THETA_C_WATER

const double JPHYSICS::SIN_THETA_C_WATER = TAN_THETA_C_WATER * COS_THETA_C_WATER
static

Average sine corresponding to the group velocity.

Definition at line 56 of file JPhysics/JConstants.hh.

◆ KAPPA_WATER

const double JPHYSICS::KAPPA_WATER = 0.96
static

Average R-dependence of arrival time of Cherenkov light.

Definition at line 57 of file JPhysics/JConstants.hh.

◆ MASS_PHOTON

const double JPHYSICS::MASS_PHOTON = 0.0
static

Particle masses.

Note that the neutrino masses are set to zero. photon mass [GeV]

Definition at line 63 of file JPhysics/JConstants.hh.

◆ MASS_ELECTRON_NEUTRINO

const double JPHYSICS::MASS_ELECTRON_NEUTRINO = 0.0
static

electron neutrino mass [GeV]

Definition at line 65 of file JPhysics/JConstants.hh.

◆ MASS_MUON_NEUTRINO

const double JPHYSICS::MASS_MUON_NEUTRINO = 0.0
static

muon neutrino mass [GeV]

Definition at line 66 of file JPhysics/JConstants.hh.

◆ MASS_TAU_NEUTRINO

const double JPHYSICS::MASS_TAU_NEUTRINO = 0.0
static

tau neutrino mass [GeV]

Definition at line 67 of file JPhysics/JConstants.hh.

◆ MASS_ELECTRON

const double JPHYSICS::MASS_ELECTRON = 0.510998946e-3
static

electron mass [GeV]

Definition at line 69 of file JPhysics/JConstants.hh.

◆ MASS_MUON

const double JPHYSICS::MASS_MUON = 0.1056583745
static

muon mass [GeV]

Definition at line 70 of file JPhysics/JConstants.hh.

◆ MASS_TAU

const double JPHYSICS::MASS_TAU = 1.77682
static

tau mass [GeV]

Definition at line 71 of file JPhysics/JConstants.hh.

◆ MASS_UP_QUARK

const double JPHYSICS::MASS_UP_QUARK = 0.00216
static

up quark mass [GeV]

Definition at line 73 of file JPhysics/JConstants.hh.

◆ MASS_DOWN_QUARK

const double JPHYSICS::MASS_DOWN_QUARK = 0.00470
static

down quark mass [GeV]

Definition at line 74 of file JPhysics/JConstants.hh.

◆ MASS_STRANGE_QUARK

const double JPHYSICS::MASS_STRANGE_QUARK = 0.0935
static

strange quark mass [GeV]

Definition at line 75 of file JPhysics/JConstants.hh.

◆ MASS_CHARM_QUARK

const double JPHYSICS::MASS_CHARM_QUARK = 1.2730
static

charm quark mass [GeV]

Definition at line 76 of file JPhysics/JConstants.hh.

◆ MASS_BOTTOM_QUARK

const double JPHYSICS::MASS_BOTTOM_QUARK = 4.183
static

bottom quark mass [GeV]

Definition at line 77 of file JPhysics/JConstants.hh.

◆ MASS_TOP_QUARK

const double JPHYSICS::MASS_TOP_QUARK = 172.56
static

top quark mass [GeV]

Definition at line 78 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_PION

const double JPHYSICS::MASS_NEUTRAL_PION = 0.1349766
static

pi_0 mass [GeV]

Definition at line 80 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_PION

const double JPHYSICS::MASS_CHARGED_PION = 0.13957018
static

pi^+/- mass [GeV]

Definition at line 81 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_KAON

const double JPHYSICS::MASS_NEUTRAL_KAON = 0.497614
static

K_0 mass [GeV].

Definition at line 82 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_KAON

const double JPHYSICS::MASS_CHARGED_KAON = 0.493677
static

K^+/- mass [GeV].

Definition at line 83 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_RHO

const double JPHYSICS::MASS_NEUTRAL_RHO = 0.77526
static

rho_0 mass [GeV]

Definition at line 84 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_RHO

const double JPHYSICS::MASS_CHARGED_RHO = 0.77511
static

rho^+/- mass [GeV]

Definition at line 85 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_D

const double JPHYSICS::MASS_NEUTRAL_D = 1.86483
static

D_0 mass [GeV].

Definition at line 86 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_D

const double JPHYSICS::MASS_CHARGED_D = 1.86965
static

D^+/- mass [GeV].

Definition at line 87 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_D_S

const double JPHYSICS::MASS_CHARGED_D_S = 1.96834
static

D_s^+/- mass [GeV].

Definition at line 88 of file JPhysics/JConstants.hh.

◆ MASS_PROTON

const double JPHYSICS::MASS_PROTON = 0.9382720813
static

proton mass [GeV]

Definition at line 90 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRON

const double JPHYSICS::MASS_NEUTRON = 0.9395654133
static

neutron mass [GeV]

Definition at line 91 of file JPhysics/JConstants.hh.

◆ MASS_DELTA_1232

const double JPHYSICS::MASS_DELTA_1232 = 1.232
static

Delta (1232) mass [GeV].

Definition at line 92 of file JPhysics/JConstants.hh.

◆ MASS_LAMBDA

const double JPHYSICS::MASS_LAMBDA = 1.115683
static

Lambda mass [GeV].

Definition at line 93 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_SIGMA

const double JPHYSICS::MASS_NEUTRAL_SIGMA = 1.192642
static

Sigma_0 mass [GeV].

Definition at line 94 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_SIGMA

const double JPHYSICS::MASS_CHARGED_SIGMA = 1.18937
static

Sigma^+/- mass [GeV].

Definition at line 95 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_XI

const double JPHYSICS::MASS_NEUTRAL_XI = 1.31486
static

Xi_0 mass [GeV].

Definition at line 96 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_XI

const double JPHYSICS::MASS_CHARGED_XI = 1.32171
static

Xi^+/- mass [GeV].

Definition at line 97 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_OMEGA

const double JPHYSICS::MASS_CHARGED_OMEGA = 1.67245
static

Omega^+/- mass [GeV].

Definition at line 98 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_LAMBDA_C

const double JPHYSICS::MASS_CHARGED_LAMBDA_C = 2.28646
static

Lambda_c^+/- mass [GeV].

Definition at line 99 of file JPhysics/JConstants.hh.

◆ MASS_DOUBLYCHARGED_SIGMA_C

const double JPHYSICS::MASS_DOUBLYCHARGED_SIGMA_C = 2.45397
static

Sigma_c^++/– mass [GeV]

Definition at line 100 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_SIGMA_C

const double JPHYSICS::MASS_CHARGED_SIGMA_C = 2.4529
static

Sigma_c^+/- mass [GeV].

Definition at line 101 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_SIGMA_C

const double JPHYSICS::MASS_NEUTRAL_SIGMA_C = 2.45375
static

Sigma_c_0 mass [GeV].

Definition at line 102 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_XI_C

const double JPHYSICS::MASS_CHARGED_XI_C = 2.46793
static

Xi_c^+/- mass [GeV].

Definition at line 103 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_XI_C

const double JPHYSICS::MASS_NEUTRAL_XI_C = 2.47091
static

Xi_c_0 mass [GeV].

Definition at line 104 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_OMEGA_C

const double JPHYSICS::MASS_NEUTRAL_OMEGA_C = 2.6952
static

Omega_c_0 mass [GeV].

Definition at line 105 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_B

const double JPHYSICS::MASS_NEUTRAL_B = 5.27958
static

B_0 mass [GeV].

Definition at line 106 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_B

const double JPHYSICS::MASS_CHARGED_B = 5.27926
static

B^+/- mass [GeV].

Definition at line 107 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_B_S

const double JPHYSICS::MASS_NEUTRAL_B_S = 5.36677
static

B_s^0 mass [GeV].

Definition at line 108 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_LAMBDA_B

const double JPHYSICS::MASS_NEUTRAL_LAMBDA_B = 5.6194
static

Lambda_b^0 mass [GeV].

Definition at line 109 of file JPhysics/JConstants.hh.

◆ MASS_NEUTRAL_XI_B

const double JPHYSICS::MASS_NEUTRAL_XI_B = 5.7878
static

Xi_b^0 mass [GeV].

Definition at line 110 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_XI_B

const double JPHYSICS::MASS_CHARGED_XI_B = 5.7911
static

Xi_b^+/- mass [GeV].

Definition at line 111 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_OMEGA_B

const double JPHYSICS::MASS_CHARGED_OMEGA_B = 6.071
static

Omega_b^+/- mass [GeV].

Definition at line 112 of file JPhysics/JConstants.hh.

◆ MASS_CHARGED_B_C

const double JPHYSICS::MASS_CHARGED_B_C = 6.2756
static

B_c^+/- mass [GeV].

Definition at line 113 of file JPhysics/JConstants.hh.

◆ MASS_W_BOSON

const double JPHYSICS::MASS_W_BOSON = 80.3692
static

W^+/- mass [GeV].

Definition at line 115 of file JPhysics/JConstants.hh.

◆ MASS_Z_BOSON

const double JPHYSICS::MASS_Z_BOSON = 91.1880
static

Z^0 mass [GeV].

Definition at line 116 of file JPhysics/JConstants.hh.

◆ MASS_HIGGS_BOSON

const double JPHYSICS::MASS_HIGGS_BOSON = 125.20
static

Higgs mass [GeV].

Definition at line 118 of file JPhysics/JConstants.hh.

◆ gWater

const JGeaneWater JPHYSICS::gWater
static

Function object for energy loss of muon in sea water.

Definition at line 381 of file JGeane.hh.

◆ geant

const JGeant JPHYSICS::geant(geanx, 0.0001) ( geanx ,
0. 0001 )
static

Function object for the number of photons from EM-shower as a function of emission angle.

◆ geanx

const JGeanx JPHYSICS::geanx(0.35, -5.40) ( 0. 35,
-5. 40 )
static

Function object for the number of photons from EM-shower as a function of emission angle.

◆ geanz

const JGeanz JPHYSICS::geanz(1.85, 0.62, 0.54) ( 1. 85,
0. 62,
0. 54 )
static

Function object for longitudinal EM-shower profile.

◆ getSterCoefficient

JSterCoefficient JPHYSICS::getSterCoefficient
static

Function object for Ster coefficients.

Definition at line 82 of file JIonization.hh.

◆ cc_nu

const JCCnu JPHYSICS::cc_nu
static

Function object for charged current neutrino cross section [cm^2] as a function of neutrino energy [GeV].

Definition at line 618 of file JNeutrino.hh.

◆ nc_nu

const JNCnu JPHYSICS::nc_nu
static

Function object for neutral current neutrino cross section [cm^2] as a function of neutrino energy [GeV].

Definition at line 620 of file JNeutrino.hh.

◆ cc_nubar

const JCCnubar JPHYSICS::cc_nubar
static

Function object for charged current anti-neutrino cross section [cm^2] as a function of neutrino energy [GeV].

Definition at line 621 of file JNeutrino.hh.

◆ nc_nubar

const JNCnubar JPHYSICS::nc_nubar
static

Function object for neutral current anti-neutrino cross section [cm^2] as a function of neutrino energy [GeV].

Definition at line 622 of file JNeutrino.hh.

◆ MODULE_RADIUS_M

double JPHYSICS::MODULE_RADIUS_M = 0.216
static

Radius of optical module [m].

This parameter is used to implement shadowing of the PMT by the optical module.

Definition at line 41 of file JPDF.hh.