Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
templates.hh File Reference

Go to the source code of this file.

Macros

#define HIGH_PRECISION   1
 
#define DBL_MIN   std::numeric_limits<double>::min()
 
#define DBL_DIG   std::numeric_limits<double>::digits10
 
#define DBL_MAX   std::numeric_limits<double>::max()
 
#define DBL_EPSILON   std::numeric_limits<double>::epsilon()
 
#define FLT_MIN   std::numeric_limits<float>::min()
 
#define FLT_DIG   std::numeric_limits<float>::digits10
 
#define FLT_MAX   std::numeric_limits<float>::max()
 
#define FLT_EPSILON   std::numeric_limits<float>::epsilon()
 
#define MAXFLOAT   std::numeric_limits<float>::max()
 
#define INT_MAX   std::numeric_limits<int>::max()
 
#define INT_MIN   std::numeric_limits<int>::min()
 
#define G4_SQR_DEFINED
 

Typedefs

typedef double Float
 

Functions

template<class T >
void G4SwapPtr (T *&a, T *&b)
 
template<class T >
void G4SwapObj (T *a, T *b)
 
template<class T >
sqr (const T &x)
 
int G4lrint (double ad)
 
int G4lint (double ad)
 
int G4rint (double ad)
 

Macro Definition Documentation

#define HIGH_PRECISION   1
#define DBL_MIN   std::numeric_limits<double>::min()
#define DBL_DIG   std::numeric_limits<double>::digits10
#define DBL_MAX   std::numeric_limits<double>::max()

Referenced by G4ParallelGeometriesLimiterProcess::AtRestGetPhysicalInteractionLength(), G4ITStepProcessor::CleanProcessor(), G4ParticleHPVector::CleanUp(), G4VEmModel::ComputeMeanFreePath(), G4TDNAOneStepThermalizationModel< MODEL >::CrossSectionPerVolume(), G4VEmProcess::DefineMaterial(), G4VEnergyLossProcess::DefineMaterial(), G4BOptnChangeCrossSection::DistanceToApplyOperation(), G4BOptnForceFreeFlight::DistanceToApplyOperation(), G4BOptnForceCommonTruncatedExp::DistanceToApplyOperation(), G4ParticleHPContAngularPar::G4ParticleHPContAngularPar(), G4VAtomDeexcitation::GenerateParticles(), G4DensityEffectData::GetAdensity(), G4DensityEffectData::GetAdjustmentFactor(), G4DensityEffectData::GetCdensity(), G4LossTableManager::GetCSDARange(), G4VEnergyLossProcess::GetCSDARange(), G4DensityEffectData::GetDelta0density(), G4ErrorTrackLengthTarget::GetDistanceFromPoint(), G4DensityEffectData::GetErrorDensity(), G4DensityEffectData::GetMdensity(), G4VTransitionRadiation::GetMeanFreePath(), G4NeutronKiller::GetMeanFreePath(), G4DensityEffectData::GetMeanIonisationPotential(), G4ITTrackHolder::GetNextTime(), G4DensityEffectData::GetPlasmaEnergy(), G4NuclearFermiDensity::GetRadius(), G4LossTableManager::GetRange(), G4LossTableManager::GetRangeFromRestricteDEDX(), G4VMscModel::GetTransportMeanFreePath(), G4DensityEffectData::GetX0density(), G4DensityEffectData::GetX1density(), G4VTwistedFaceted::LastValue::LastValue(), G4TwistedTubs::LastValue::LastValue(), G4VTwistedFaceted::LastValueWithDoubleVector::LastValueWithDoubleVector(), G4TwistedTubs::LastValueWithDoubleVector::LastValueWithDoubleVector(), G4VITRestDiscreteProcess::PostStepGetPhysicalInteractionLength(), G4NeutronKiller::PostStepGetPhysicalInteractionLength(), G4BOptnForceCommonTruncatedExp::ProposeAlongStepLimit(), G4VBiasingOperation::ProposeAlongStepLimit(), G4TDNAOneStepThermalizationModel< MODEL >::SampleSecondaries(), and G4VBiasingInteractionLaw::UpdateInteractionLengthForStep().

#define DBL_EPSILON   std::numeric_limits<double>::epsilon()
#define FLT_MIN   std::numeric_limits<float>::min()
#define FLT_DIG   std::numeric_limits<float>::digits10
#define FLT_MAX   std::numeric_limits<float>::max()
#define FLT_EPSILON   std::numeric_limits<float>::epsilon()
#define MAXFLOAT   std::numeric_limits<float>::max()
#define INT_MAX   std::numeric_limits<int>::max()
#define INT_MIN   std::numeric_limits<int>::min()
#define G4_SQR_DEFINED

Typedef Documentation

typedef double Float

Function Documentation

void G4SwapPtr ( T *&  a,
T *&  b 
)
void G4SwapObj ( T *  a,
T *  b 
)
int G4lint ( double  ad)
int G4rint ( double  ad)