Jpp
Namespaces | Functions | Variables
JConstants.hh File Reference
#include <math.h>

Go to the source code of this file.

Namespaces

 JTOOLS
 Auxiliary classes and methods for multi-dimensional interpolations and histograms.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

const double JTOOLS::getSpeedOfLight ()
 Number of bytes in a gigabyte. More...
 
const double JTOOLS::getInverseSpeedOfLight ()
 Get inverse speed of light. More...
 
double JTOOLS::getIndexOfRefraction ()
 Get average index of refraction of water. More...
 
double JTOOLS::getIndexOfRefractionPhase ()
 Get average index of refraction of water. More...
 
double JTOOLS::getTanThetaC ()
 Get average tangent of Cherenkov angle of water. More...
 
double JTOOLS::getCosThetaC ()
 Get average cosine of Cherenkov angle of water. More...
 
double JTOOLS::getSinThetaC ()
 Get average sine of Cherenkov angle of water. More...
 
double JTOOLS::getKappaC ()
 Get average kappa of Cherenkov light in water. More...
 

Variables

static const double JTOOLS::PI = 3.1415927
 Constants. More...
 
static const double JTOOLS::EULER = 0.577215664901533
 Euler number. More...
 
static const double JTOOLS::C = 0.299792458
 Speed of light in vacuum [m/ns]. More...
 
static const double JTOOLS::C_INVERSE = 1.0/C
 Inverse speed of light in vacuum [ns/m]. More...
 
static const double JTOOLS::AVOGADRO = 6.0221415e23
 Avogadro's number [gr^-1]. More...
 
static const double JTOOLS::H = 4.13566733e-15
 Planck constant [eV s]. More...
 
static const double JTOOLS::HBAR = H/(2*PI)
 Planck constant [eV s]. More...
 
static const double JTOOLS::HBARC = HBAR*C*1.0e9
 Planck constant [eV m]. More...
 
static const double JTOOLS::ALPHA_ELECTRO_MAGNETIC = 1.0/137.036
 Electro-Magnetic coupling constant. More...
 
static const double JTOOLS::THETA_MCS = 13.6e-3
 Multiple Coulomb scattering constant [GeV]. More...
 
static const double JTOOLS::DENSITY_SEA_WATER = 1.038
 Fixed environment values. More...
 
static const double JTOOLS::DENSITY_ROCK = 2.65
 Density of rock [g/cm^3]. More...
 
static const double JTOOLS::SALINITY_SEA_WATER = 0.035
 Salinity of sea water. More...
 
static const double JTOOLS::INDEX_OF_REFRACTION_WATER = 1.3800851282
 average index of refraction of water More...
 
static const double JTOOLS::X0_WATER_M = 0.36
 Radiation length pure water [m]. More...
 
static const double JTOOLS::TAN_THETA_C_WATER = sqrt((INDEX_OF_REFRACTION_WATER - 1.0) * (INDEX_OF_REFRACTION_WATER + 1.0))
 Derived quantities of optical medium. More...
 
static const double JTOOLS::COS_THETA_C_WATER = 1.0 / INDEX_OF_REFRACTION_WATER
 
static const double JTOOLS::SIN_THETA_C_WATER = TAN_THETA_C_WATER * COS_THETA_C_WATER
 
static const double JTOOLS::KAPPA_WATER = 0.96
 
static const double JTOOLS::MASS_PHOTON = 0.0
 Particle masses. More...
 
static const double JTOOLS::MASS_ELECTRON_NEUTRINO = 0.0
 electron neutrino mass [GeV] More...
 
static const double JTOOLS::MASS_MUON_NEUTRINO = 0.0
 muon neutrino mass [GeV] More...
 
static const double JTOOLS::MASS_TAU_NEUTRINO = 0.0
 tau neutrino mass [GeV] More...
 
static const double JTOOLS::MASS_ELECTRON = 0.510998946e-3
 electron mass [GeV] More...
 
static const double JTOOLS::MASS_MUON = 0.1056583745
 muon mass [GeV] More...
 
static const double JTOOLS::MASS_TAU = 1.77682
 tau mass [GeV] More...
 
static const double JTOOLS::MASS_NEUTRAL_PION = 0.1349766
 pi_0 mass [GeV] More...
 
static const double JTOOLS::MASS_CHARGED_PION = 0.13957018
 pi^+/- mass [GeV] More...
 
static const double JTOOLS::MASS_NEUTRAL_KAON = 0.497614
 K_0 mass [GeV]. More...
 
static const double JTOOLS::MASS_CHARGED_KAON = 0.493677
 K^+/- mass [GeV]. More...
 
static const double JTOOLS::MASS_PROTON = 0.9382720813
 proton mass [GeV] More...
 
static const double JTOOLS::MASS_NEUTRON = 0.9395654133
 neutron mass [GeV] More...
 
static const double JTOOLS::MASS_LAMBDA = 1.115683
 Lambda mass [GeV]. More...
 
static const double JTOOLS::MASS_NEUTRAL_SIGMA = 1.192642
 Sigma_0 mass [GeV]. More...
 
static const double JTOOLS::MASS_CHARGED_SIGMA = 1.18937
 Sigma^+/- mass [GeV]. More...
 
static const double JTOOLS::MASS_NEUTRAL_XI = 1.31486
 Xi_0 mass [GeV]. More...
 
static const double JTOOLS::MASS_CHARGED_XI = 1.32171
 Xi^+/- mass [GeV]. More...
 
static const double JTOOLS::MASS_CHARGED_OMEGA = 1.67245
 Omega^+/- mass [GeV]. More...
 
static const long long int JTOOLS::KILOBYTE = 1024
 Computing quantities. More...
 
static const long long int JTOOLS::MEGABYTE = KILOBYTE*KILOBYTE
 Number of bytes in a kilobyte. More...
 
static const long long int JTOOLS::GIGABYTE = KILOBYTE*KILOBYTE*KILOBYTE
 Number of bytes in a megabyte. More...
 

Detailed Description

Constants.

Author
mdejong

Definition in file JConstants.hh.