Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <climits>
#include <limits>
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 | LOG_EKIN_MIN -30 |
#define | G4_SQR_DEFINED |
Typedefs | |
using | Float = double |
Functions | |
template<class T > | |
void | G4SwapPtr (T *&a, T *&b) |
template<class T > | |
void | G4SwapObj (T *a, T *b) |
template<class T > | |
T | sqr (const T &x) |
int | G4lrint (double ad) |
template<typename... _Args> | |
void | G4ConsumeParameters (_Args &&...) |
#define DBL_DIG std::numeric_limits<double>::digits10 |
Definition at line 58 of file templates.hh.
#define DBL_EPSILON std::numeric_limits<double>::epsilon() |
Definition at line 66 of file templates.hh.
#define DBL_MAX std::numeric_limits<double>::max() |
Definition at line 62 of file templates.hh.
#define DBL_MIN std::numeric_limits<double>::min() |
Definition at line 54 of file templates.hh.
#define FLT_DIG std::numeric_limits<float>::digits10 |
Definition at line 74 of file templates.hh.
#define FLT_EPSILON std::numeric_limits<float>::epsilon() |
Definition at line 82 of file templates.hh.
#define FLT_MAX std::numeric_limits<float>::max() |
Definition at line 78 of file templates.hh.
#define FLT_MIN std::numeric_limits<float>::min() |
Definition at line 70 of file templates.hh.
#define G4_SQR_DEFINED |
Definition at line 122 of file templates.hh.
#define HIGH_PRECISION 1 |
Definition at line 41 of file templates.hh.
#define INT_MAX std::numeric_limits<int>::max() |
Definition at line 90 of file templates.hh.
#define INT_MIN std::numeric_limits<int>::min() |
Definition at line 94 of file templates.hh.
#define LOG_EKIN_MIN -30 |
Definition at line 98 of file templates.hh.
#define MAXFLOAT std::numeric_limits<float>::max() |
Definition at line 86 of file templates.hh.
using Float = double |
Definition at line 45 of file templates.hh.
|
inline |
Definition at line 177 of file templates.hh.
Referenced by G4TaskRunManagerKernel::BroadcastAbortRun(), G4RunManager::ConfigureProfilers(), and G4RunManagerFactory::CreateRunManager().
|
inline |
Definition at line 134 of file templates.hh.
Referenced by G4EmBiasingManager::ActivateSecondaryBiasing(), G4EMDissociation::ApplyYourself(), G4BinaryLightIonReaction::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4AdjointCSManager::BuildCrossSectionMatrices(), G4KokoulinMuonNuclearXS::BuildCrossSectionTable(), G4VEmProcess::BuildLambdaTable(), G4VEnergyLossProcess::BuildLambdaTable(), G4EmTableUtil::BuildLambdaTable(), G4BGGNucleonElasticXS::BuildPhysicsTable(), G4BGGPionElasticXS::BuildPhysicsTable(), G4BGGPionInelasticXS::BuildPhysicsTable(), G4BGGNucleonInelasticXS::BuildPhysicsTable(), G4LossTableBuilder::BuildTableForModel(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4VEmAdjointModel::ComputeAdjointCrossSectionVectorPerAtomForScatProj(), G4VEmAdjointModel::ComputeAdjointCrossSectionVectorPerAtomForSecond(), G4eBremsstrahlungRelModel::ComputeCrossSectionPerAtom(), G4LivermorePhotoElectricModel::ComputeCrossSectionPerAtom(), G4IonCoulombScatteringModel::ComputeCrossSectionPerAtom(), G4eCoulombScatteringModel::ComputeCrossSectionPerAtom(), G4hCoulombScatteringModel::ComputeCrossSectionPerAtom(), G4JAEAElasticScatteringModel::ComputeCrossSectionPerAtom(), G4JAEAPolarizedElasticScatteringModel::ComputeCrossSectionPerAtom(), G4LivermoreComptonModel::ComputeCrossSectionPerAtom(), G4LivermorePolarizedComptonModel::ComputeCrossSectionPerAtom(), G4LivermorePolarizedRayleighModel::ComputeCrossSectionPerAtom(), G4LivermoreRayleighModel::ComputeCrossSectionPerAtom(), G4LowEPComptonModel::ComputeCrossSectionPerAtom(), G4LowEPPolarizedComptonModel::ComputeCrossSectionPerAtom(), G4BoldyshevTripletModel::ComputeCrossSectionPerAtom(), G4PairProductionRelModel::ComputeCrossSectionPerAtom(), G4LivermoreGammaConversion5DModel::ComputeCrossSectionPerAtom(), G4LivermoreGammaConversionModel::ComputeCrossSectionPerAtom(), G4WentzelVIModel::ComputeCrossSectionPerAtom(), G4WentzelVIRelModel::ComputeCrossSectionPerAtom(), G4UrbanAdjointMscModel::ComputeCrossSectionPerAtom(), G4UrbanMscModel::ComputeCrossSectionPerAtom(), G4EmCalculator::ComputeCrossSectionPerAtom(), G4AtimaEnergyLossModel::ComputeDEDXPerVolume(), G4MuBremsstrahlungModel::ComputeDMicroscopicCrossSection(), G4hBremsstrahlungModel::ComputeDMicroscopicCrossSection(), G4PairProductionRelModel::ComputeDXSectionPerAtom(), G4MuPairProductionModel::ComputeMicroscopicCrossSection(), G4PairProductionRelModel::ComputeRelDXSectionPerAtom(), G4PairProductionRelModel::ComputeXSectionPerAtom(), G4MuPairProductionModel::ComputMuPairLoss(), G4DNAELSEPAElasticModel::CrossSectionPerVolume(), G4KineticTrack::Decay(), G4Fissioner::deExcite(), G4PreCompoundModel::DeExcite(), G4AtimaFluctuations::Dispersion(), G4ionEffectiveCharge::EffectiveCharge(), G4HadXSHelper::FillPeaksStructure(), G4HadXSHelper::FindCrossSectionMax(), G4EmUtility::FindCrossSectionMax(), G4DNAELSEPAElasticModel::G4DNAELSEPAElasticModel(), G4Element::G4Element(), G4IonICRU73Data::G4IonICRU73Data(), G4IonisParamElm::G4IonisParamElm(), G4Material::G4Material(), G4mplIonisationWithDeltaModel::G4mplIonisationWithDeltaModel(), G4ComponentGGNuclNuclXsc::GetCoulombBarier(), G4ComponentSAIDTotalXS::GetElasticElementCrossSection(), G4ComponentGGHadronNucleusXsc::GetElasticElementCrossSection(), G4ComponentGGNuclNuclXsc::GetElasticElementCrossSection(), G4IonsShenCrossSection::GetElementCrossSection(), G4PionMinusField::GetField(), G4MesonAbsorption::GetFinalState(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXsc(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscNS(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscPDG(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXsc(), G4ComponentSAIDTotalXS::GetInelasticElementCrossSection(), G4ComponentGGHadronNucleusXsc::GetInelasticElementCrossSection(), G4ComponentGGNuclNuclXsc::GetInelasticElementCrossSection(), G4IonsShenCrossSection::GetIsoCrossSection(), G4MuonMinusBoundDecay::GetMuonDecayRate(), G4ComponentGGHadronNucleusXsc::GetProductionElementCrossSection(), G4ComponentGGNuclNuclXsc::GetRatioQE(), G4ComponentGGNuclNuclXsc::GetRatioSD(), G4CollisionInitialState::GetTargetBaryonNumber(), G4CollisionInitialState::GetTargetCharge(), G4ComponentSAIDTotalXS::GetTotalElementCrossSection(), G4ComponentGGHadronNucleusXsc::GetTotalElementCrossSection(), G4ComponentGGNuclNuclXsc::GetTotalElementCrossSection(), G4JAEAElasticScatteringModel::Initialise(), G4JAEAPolarizedElasticScatteringModel::Initialise(), G4LivermorePolarizedComptonModel::Initialise(), G4LowEPComptonModel::Initialise(), G4LowEPPolarizedComptonModel::Initialise(), G4eplusTo2GammaOKVIModel::Initialise(), G4WentzelVIModel::Initialise(), G4DNAQuinnPlasmonExcitationModel::Initialise(), G4DNAELSEPAElasticModel::Initialise(), G4EmUtility::InitialiseElementSelectors(), G4hhIonisation::InitialiseEnergyLossProcess(), G4mplIonisation::InitialiseEnergyLossProcess(), G4GammaGeneralProcess::InitialiseProcess(), G4GoudsmitSaundersonTable::InitSCPCorrection(), G4eDPWAElasticDCS::InitSCPCorrection(), G4EmCorrections::IonHighOrderCorrections(), G4VXResonance::IsospinCorrection(), G4MuPairProductionModel::MaxSecondaryEnergyForElement(), G4eCoulombScatteringModel::MinPrimaryEnergy(), G4hCoulombScatteringModel::MinPrimaryEnergy(), G4EmParameters::NumberOfBins(), G4PreCompoundTransitions::PerformTransition(), G4VEnergyLossProcess::PreparePhysicsTable(), G4NeutronGeneralProcess::PreparePhysicsTable(), G4ParticleHPChannel::Register(), G4ElectronIonPair::SampleNumberOfIonsAlongStep(), G4eBremParametrizedModel::SampleSecondaries(), G4DNAELSEPAElasticModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4PAIPhotModel::SampleSecondaries(), G4JAEAElasticScatteringModel::SampleSecondaries(), G4JAEAPolarizedElasticScatteringModel::SampleSecondaries(), G4LivermoreRayleighModel::SampleSecondaries(), G4PEEffectFluoModel::SampleSecondaries(), G4Scatterer::Scatter(), G4QuasiElasticChannel::Scatter(), G4Fragment::SetA(), G4KM_OpticalEqRhs::SetFactor(), G4VEmProcess::SetMaxKinEnergy(), G4VEmProcess::SetMinKinEnergy(), G4Nucleus::SetParameters(), G4ScreeningMottCrossSection::SetupKinematic(), G4IonCoulombCrossSection::SetupTarget(), G4Fragment::SetZ(), G4VEmProcess::StreamInfo(), and G4MuonToMuonPairProductionModel::U_func().
|
inline |
Definition at line 112 of file templates.hh.
Referenced by G4KineticTrack::G4KineticTrack(), and G4MesonSplitter::SplitMeson().
|
inline |
Definition at line 104 of file templates.hh.
|
inline |
Definition at line 128 of file templates.hh.
Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4Transportation::AlongStepGetPhysicalInteractionLength(), G4ITTransportation::AlongStepGetPhysicalInteractionLength(), G4FTFAnnihilation::Annihilate(), G4KineticTrackVector::BoostBeam(), G4Reggeons::CalculateXs(), G4Reggeons::Chi_pomeron(), G4Reggeons::Chi_reggeon(), G4KDTree::HyperRect::CompareDistSqr(), G4PolarizedComptonModel::ComputeAsymmetryPerAtom(), G4Navigator::ComputeSafety(), G4PathFinder::ComputeStep(), G4AngularDistributionNP::CosTheta(), G4AngularDistributionPP::CosTheta(), G4DiffractiveExcitation::CreateStrings(), G4Parton::DefineMomentumInZ(), G4QGSParticipants::DeterminePartonMomenta(), G4AngularDistribution::DifferentialCrossSection(), G4PolyconeSide::DistanceAway(), G4EllipticalCone::DistanceToIn(), G4Paraboloid::DistanceToIn(), G4EllipticalCone::DistanceToOut(), G4Paraboloid::DistanceToOut(), G4PathFinder::DoNextLinearStep(), G4ITPathFinder::DoNextLinearStep(), G4ElasticHNScattering::ElasticScattering(), G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), G4SimpleLocator::EstimateIntersectionPoint(), G4ErrorMag_UsualEqRhs::EvaluateRhsGivenB(), G4Mag_SpinEqRhs::EvaluateRhsGivenB(), G4QuarkExchange::ExciteParticipants(), G4SingleDiffractiveExcitation::ExciteParticipants(), G4QGSDiffractiveExcitation::ExciteParticipants(), G4DiffractiveExcitation::ExciteParticipants(), G4ExcitedStringDecay::FragmentStrings(), G4Navigator::G4Navigator(), G4NuclearFermiDensity::G4NuclearFermiDensity(), G4QGSParticipants::G4QGSParticipants(), G4Reggeons::G4Reggeons(), G4NuclearFermiDensity::GetDeriv(), G4MesonAbsorption::GetFinalState(), G4FTFParticipants::GetList(), G4PolarizationHelper::GetParticleFrameX(), G4PolarizationHelper::GetParticleFrameY(), G4Hype::GetPointOnSurface(), G4Paraboloid::GetPointOnSurface(), G4TwistedTubs::GetPointOnSurface(), G4Reggeons::GetProbabilities(), G4PolarizationHelper::GetSpinInPRF(), G4FTFParameters::InitForInteraction(), G4PolarizedAnnihilationXS::Initialize(), G4PolarizedComptonXS::Initialize(), G4Paraboloid::Inside(), G4IntersectingCone::LineHitsCone1(), G4IntersectingCone::LineHitsCone2(), G4PathFinder::Locate(), G4KDTree::NearestInRange(), G4MagInt_Driver::OneGoodStep(), G4OldMagIntDriver::OneGoodStep(), G4VLongitudinalStringDecay::ProduceOneHadron(), G4GeneratorPrecompoundInterface::Propagate(), G4MagInt_Driver::QuickAdvance(), G4OldMagIntDriver::QuickAdvance(), G4PathFinder::ReLocate(), G4SafetyHelper::ReLocateWithinVolume(), G4ITSafetyHelper::ReLocateWithinVolume(), G4GeomTools::RemoveRedundantVertices(), G4AntiNuclElastic::SampleInvariantT(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedIonisationModel::SampleSecondaries(), G4QuasiElasticChannel::Scatter(), G4QGSParticipants::SelectInteractions(), G4EqEMFieldWithEDM::SetChargeMomentumMass(), G4EqEMFieldWithSpin::SetChargeMomentumMass(), G4Mag_SpinEqRhs::SetChargeMomentumMass(), G4RepleteEofM::SetChargeMomentumMass(), G4QGSDiffractiveExcitation::String(), G4PolyconeSide::SurfaceArea(), G4Paraboloid::SurfaceNormal(), G4PolarizedAnnihilationXS::TotalXSection(), G4PolarizedComptonXS::TotalXSection(), G4RKPropagation::Transport(), G4KineticTrack::Update4Momentum(), G4BorisScheme::UpdatePosition(), G4KineticTrack::UpdateTrackingMomentum(), and G4BorisScheme::UpdateVelocity().