Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCLGlobals.hh File Reference
#include "globals.hh"
#include <cmath>
#include <string>
#include <vector>
#include "G4INCLParticleType.hh"

Go to the source code of this file.

Namespaces

namespace  G4INCL
 
namespace  G4INCL::PhysicalConstants
 
namespace  G4INCL::Math
 
namespace  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)
 
template<typename T >
G4INCL::Math::max (const T t1, const T t2)
 brief Return the largest of the two arguments
 
template<typename T >
G4INCL::Math::min (const T t1, const T t2)
 brief Return the smallest of the two arguments
 
G4double G4INCL::Math::gaussianCDF (const G4double x)
 Cumulative distribution function for Gaussian.
 
G4double G4INCL::Math::gaussianCDF (const G4double x, const G4double x0, const G4double sigma)
 Generic cumulative distribution function for Gaussian.
 
G4double G4INCL::Math::inverseGaussianCDF (const G4double x)
 Inverse cumulative distribution function for Gaussian.
 
G4double G4INCL::Math::arcSin (const G4double x)
 Calculates arcsin with some tolerance on illegal arguments.
 
G4double G4INCL::Math::arcCos (const G4double x)
 Calculates arccos with some tolerance on illegal arguments.
 
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]
 
const G4double G4INCL::PhysicalConstants::hcSquared = hc*hc
 $\hbar^2 c^2$ [MeV^2*fm^2]
 
const G4double G4INCL::PhysicalConstants::Pf = 1.37*hc
 Fermi momentum [MeV/c].
 
const G4double G4INCL::PhysicalConstants::eSquared = 1.439964
 Coulomb conversion factor [MeV*fm].
 
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

◆ G4INCLGlobals_hh

#define G4INCLGlobals_hh   1

Definition at line 39 of file G4INCLGlobals.hh.

◆ INCLXX_IN_GEANT4_MODE

#define INCLXX_IN_GEANT4_MODE   1

Definition at line 34 of file G4INCLGlobals.hh.