Geant4  10.02.p02
G4INCLGlobals.hh File Reference
#include "globals.hh"
#include <cmath>
#include <string>
#include <vector>
#include "G4INCLParticleType.hh"
+ Include dependency graph for G4INCLGlobals.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 G4INCL
 
 G4INCL::PhysicalConstants
 
 G4INCL::Math
 
 G4INCL::ParticleConfig
 

Macros

#define INCLXX_IN_GEANT4_MODE   1
 
#define G4INCLGlobals_hh   1
 

Functions

G4double G4INCL::Math::toDegrees (G4double radians)
 
G4int G4INCL::Math::heaviside (G4int n)
 
G4double G4INCL::Math::pow13 (G4double x)
 
G4double G4INCL::Math::powMinus13 (G4double x)
 
G4double G4INCL::Math::pow23 (G4double x)
 
G4double G4INCL::Math::aSinH (G4double x)
 
template<typename T >
G4int G4INCL::Math::sign (const T t)
 A simple sign function that allows us to port fortran code to c++ more easily. More...
 
template<typename T >
G4INCL::Math::max (const T t1, const T t2)
 brief Return the largest of the two arguments More...
 
template<typename T >
G4INCL::Math::min (const T t1, const T t2)
 brief Return the smallest of the two arguments More...
 
G4double G4INCL::Math::gaussianCDF (const G4double x)
 Cumulative distribution function for Gaussian. More...
 
G4double G4INCL::Math::gaussianCDF (const G4double x, const G4double x0, const G4double sigma)
 Generic cumulative distribution function for Gaussian. More...
 
G4double G4INCL::Math::inverseGaussianCDF (const G4double x)
 Inverse cumulative distribution function for Gaussian. More...
 
G4double G4INCL::Math::arcSin (const G4double x)
 Calculates arcsin with some tolerance on illegal arguments. More...
 
G4double G4INCL::Math::arcCos (const G4double x)
 Calculates arccos with some tolerance on illegal arguments. More...
 
G4bool G4INCL::ParticleConfig::isPair (Particle const *const p1, Particle const *const p2, ParticleType t1, ParticleType t2)
 

Variables

const G4double G4INCL::PhysicalConstants::hc = 197.328
 $\hbar c$ [MeV*fm] More...
 
const G4double G4INCL::PhysicalConstants::hcSquared = hc*hc
 $\hbar^2 c^2$ [MeV^2*fm^2] More...
 
const G4double G4INCL::PhysicalConstants::Pf = 1.37*hc
 Fermi momentum [MeV/c]. More...
 
const G4double G4INCL::PhysicalConstants::eSquared = 1.439964
 Coulomb conversion factor [MeV*fm]. More...
 
const G4double G4INCL::Math::pi = 3.14159265358979323846264338328
 
const G4double G4INCL::Math::twoPi = 2.0 * pi
 
const G4double G4INCL::Math::tenPi = 10.0 * pi
 
const G4double G4INCL::Math::piOverTwo = 0.5 * pi
 
const G4double G4INCL::Math::oneOverSqrtTwo = 1./std::sqrt((G4double)2.)
 
const G4double G4INCL::Math::oneOverSqrtThree = 1./std::sqrt((G4double)3.)
 
const G4double G4INCL::Math::oneThird = 1./3.
 
const G4double G4INCL::Math::twoThirds = 2./3.
 
const G4double G4INCL::Math::sqrtFiveThirds = std::sqrt(5./3.)
 
const G4double G4INCL::Math::sqrtThreeFifths = std::sqrt(3./5.)
 

Macro Definition Documentation

#define G4INCLGlobals_hh   1

Definition at line 39 of file G4INCLGlobals.hh.

#define INCLXX_IN_GEANT4_MODE   1

Definition at line 34 of file G4INCLGlobals.hh.