Geant4 9.6.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 "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)
 
template<typename T >
G4int G4INCL::Math::sign (T t)
 
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::PfSquared = Pf*Pf
 Fermi momentum squared [(MeV/c)^2].
 
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::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 40 of file G4INCLGlobals.hh.

◆ INCLXX_IN_GEANT4_MODE

#define INCLXX_IN_GEANT4_MODE   1

Definition at line 35 of file G4INCLGlobals.hh.