Geant4  10.00.p03
CLHEP Namespace Reference

Namespaces

 detail
 

Functions

static void ZMpvAxisAngleRep (const HepAxisAngle &aa, double array[])
 
std::ostream & operator<< (std::ostream &os, const HepAxisAngle &aa)
 
void ZMinputAxisAngle (std::istream &is, double &x, double &y, double &z, double &delta)
 
std::istream & operator>> (std::istream &is, HepAxisAngle &aa)
 
template<class E >
static HepRandomEngine * makeAnEngine (const std::string &tag, std::istream &is)
 
template<class E >
static HepRandomEngine * makeAnEngine (const std::vector< unsigned long > &v)
 
static std::vector< unsigned long > gen_crc_table ()
 
unsigned long crc32ul (const std::string &s)
 
static void ZMpvEulerAnglesRep (const HepEulerAngles &ex, double array[])
 
std::ostream & operator<< (std::ostream &os, const HepEulerAngles &ea)
 
void ZMinput3doubles (std::istream &is, const char *type, double &x, double &y, double &z)
 
std::istream & operator>> (std::istream &is, HepEulerAngles &ea)
 
double transformSmall (double r)
 
HepLorentzRotation operator* (const HepRotation &r, const HepLorentzRotation &lt)
 
std::ostream & operator<< (std::ostream &os, const HepLorentzVector &v1)
 
std::istream & operator>> (std::istream &is, HepLorentzVector &v1)
 
HepLorentzVector operator/ (const HepLorentzVector &w, double c)
 
HepLorentzVector rotationXOf (const HepLorentzVector &vec, double phi)
 
HepLorentzVector rotationYOf (const HepLorentzVector &vec, double phi)
 
HepLorentzVector rotationZOf (const HepLorentzVector &vec, double phi)
 
HepLorentzVector rotationOf (const HepLorentzVector &vec, const Hep3Vector &aaxis, double ddelta)
 
HepLorentzVector rotationOf (const HepLorentzVector &vec, const HepAxisAngle &ax)
 
HepLorentzVector rotationOf (const HepLorentzVector &vec, const HepEulerAngles &e1)
 
HepLorentzVector rotationOf (const HepLorentzVector &vec, double phi1, double theta1, double psi1)
 
static double StirlingCorrection (long int k)
 
std::ostream & operator<< (std::ostream &os, const HepRandom &dist)
 
std::istream & operator>> (std::istream &is, HepRandom &dist)
 
std::ostream & operator<< (std::ostream &os, const HepRandomEngine &e)
 
std::istream & operator>> (std::istream &is, HepRandomEngine &e)
 
double gammln (double xx)
 
static double normal (HepRandomEngine *eptr)
 
static double safe_acos (double x)
 
static double safe_acos (double x)
 
static void correctByPi (double &psi1, double &phi1)
 
static void correctPsiPhi (double rxz, double rzx, double ryz, double rzy, double &psi1, double &phi1)
 
static double safe_acos (double x)
 
static double safe_acos (double x)
 
static double safe_acos (double x)
 
Hep3Vector rotationOf (const Hep3Vector &vec, const HepAxisAngle &ax)
 
Hep3Vector rotationOf (const Hep3Vector &vec, const Hep3Vector &axis, double ddelta)
 
Hep3Vector rotationOf (const Hep3Vector &vec, const HepEulerAngles &ex)
 
Hep3Vector rotationOf (const Hep3Vector &vec, double phi, double theta, double psi)
 
Hep3Vector rotationXOf (const Hep3Vector &vec, double ddelta)
 
Hep3Vector rotationYOf (const Hep3Vector &vec, double ddelta)
 
Hep3Vector rotationZOf (const Hep3Vector &vec, double ddelta)
 
std::ostream & operator<< (std::ostream &os, const Hep3Vector &v)
 
std::istream & operator>> (std::istream &is, Hep3Vector &v)
 
const Hep3Vector HepXHat (1.0, 0.0, 0.0)
 
const Hep3Vector HepYHat (0.0, 1.0, 0.0)
 
const Hep3Vector HepZHat (0.0, 0.0, 1.0)
 
Hep3Vector operator/ (const Hep3Vector &v1, double c)
 
Hep2Vector operator/ (const Hep2Vector &p, double a)
 
std::ostream & operator<< (std::ostream &os, const Hep2Vector &q)
 
void ZMinput2doubles (std::istream &is, const char *type, double &x, double &y)
 
std::istream & operator>> (std::istream &is, Hep2Vector &p)
 

Variables

static const int MarkerLen = 64
 
static const int Tsizes [5]
 
static const double Tsteps [5]
 
static const int Toffsets [5]
 
static const double gaussTables [2 *TableSize]
 
static const int MarkerLen = 64
 
static const int MarkerLen = 64
 
static const float gaussTables [TableSize]
 
static const float TABLE_INTERVAL = .001f
 
static const int TABLE_END = 982
 
static const float TABLE_MULTIPLIER = 1.0f/TABLE_INTERVAL
 
static const float inverseLandau [TABLE_END+1]
 
static const double poissonTables [51 *((95-10)/5+1)]
 
static const int MarkerLen = 64
 
static const double prec = 4.6566128E-10
 
static const int MarkerLen = 64
 
static const int MarkerLen = 64
 
static const int MarkerLen = 64
 

Function Documentation

static void CLHEP::correctByPi ( double &  psi1,
double &  phi1 
)
static

Definition at line 148 of file RotationE.cc.

References G4INCL::Math::pi.

Referenced by correctPsiPhi().

+ Here is the caller graph for this function:

static void CLHEP::correctPsiPhi ( double  rxz,
double  rzx,
double  ryz,
double  rzy,
double &  psi1,
double &  phi1 
)
static

Definition at line 162 of file RotationE.cc.

References correctByPi(), and imax.

+ Here is the call graph for this function:

unsigned long CLHEP::crc32ul ( const std::string &  s)

Definition at line 37 of file engineIDulong.cc.

References gen_crc_table().

+ Here is the call graph for this function:

double CLHEP::HepStat::gammln ( double  xx)

Definition at line 54 of file RandPoisson.cc.

static std::vector<unsigned long> CLHEP::gen_crc_table ( )
static

Definition at line 19 of file engineIDulong.cc.

Referenced by crc32ul().

+ Here is the caller graph for this function:

const Hep3Vector CLHEP::HepXHat ( 1.  0,
0.  0,
0.  0 
)

Referenced by G4SPSAngDistribution::G4SPSAngDistribution(), and G4SPSPosDistribution::G4SPSPosDistribution().

+ Here is the caller graph for this function:

const Hep3Vector CLHEP::HepYHat ( 0.  0,
1.  0,
0.  0 
)

Referenced by G4SPSAngDistribution::G4SPSAngDistribution(), and G4SPSPosDistribution::G4SPSPosDistribution().

+ Here is the caller graph for this function:

const Hep3Vector CLHEP::HepZHat ( 0.  0,
0.  0,
1.  0 
)

Referenced by G4SPSAngDistribution::G4SPSAngDistribution(), and G4SPSPosDistribution::G4SPSPosDistribution().

+ Here is the caller graph for this function:

template<class E >
static HepRandomEngine* CLHEP::makeAnEngine ( const std::string &  tag,
std::istream &  is 
)
static

Definition at line 31 of file EngineFactory.cc.

template<class E >
static HepRandomEngine* CLHEP::makeAnEngine ( const std::vector< unsigned long > &  v)
static

Definition at line 42 of file EngineFactory.cc.

static double CLHEP::normal ( HepRandomEngine *  eptr)
static

Definition at line 77 of file RandPoisson.cc.

References fac.

Referenced by G4EllipticalTube::CalculateExtent(), G4Hype::CalculateExtent(), G4EllipticalCone::CalculateExtent(), G4PolyconeSide::CalculateExtent(), G4VSceneHandler::CreateSectionSolid(), G4ErrorMatrix::dfact_matrix(), G4PolyhedraSide::Distance(), G4VTwistedFaceted::DistanceToIn(), G4VTwistSurface::DistanceToIn(), G4Paraboloid::DistanceToIn(), G4TwistedTubs::DistanceToIn(), G4TessellatedSolid::DistanceToInCandidates(), G4TessellatedSolid::DistanceToInNoVoxels(), UTet::DistanceToOut(), UVCSGfaceted::DistanceToOut(), G4VCSGfaceted::DistanceToOut(), G4VTwistedFaceted::DistanceToOut(), G4VTwistSurface::DistanceToOut(), G4Tet::DistanceToOut(), G4Paraboloid::DistanceToOut(), G4TwistedTubs::DistanceToOut(), G4TessellatedSolid::DistanceToOutCandidates(), UOrb::DistanceToOutForOutsidePoints(), UVCSGfaceted::DistanceToOutNoVoxels(), G4TessellatedSolid::DistanceToOutNoVoxels(), G4TwistTubsSide::DistanceToSurface(), G4ErrorPlaneSurfaceTarget::Dump(), G4QuadrangularFacet::G4QuadrangularFacet(), G4TwistTubsFlatSide::G4TwistTubsFlatSide(), G4SPSEneDistribution::GenerateBiasPowEnergies(), G4PrimaryTransformer::GenerateSingleTrack(), G4ErrorPlaneSurfaceTarget::GetDistanceFromPoint(), G4GenericTrap::GetFaceSurfaceArea(), G4PolarizationHelper::GetFrame(), G4TwistBoxSide::GetNormal(), G4TwistTrapParallelSide::GetNormal(), G4TwistTrapAlphaSide::GetNormal(), G4TwistTubsSide::GetNormal(), G4TwistTubsHypeSide::GetNormal(), UPolyhedra::GetPointOnPlane(), G4Polyhedra::GetPointOnPlane(), G4Para::GetPointOnPlane(), G4Trap::GetPointOnPlane(), G4PolarizationHelper::GetRandomFrame(), G4RTRun::GetSurfaceColour(), G4TheRayTracer::GetSurfaceColour(), G4ErrorCylSurfaceTarget::GetTangentPlane(), G4Navigator::LocateGlobalPointAndSetup(), G4ITNavigator::LocateGlobalPointAndSetup(), UVCSGfaceted::Normal(), G4INCL::ParticleEntryChannel::particleEnters(), G4INCL::TransmissionChannel::particleLeaves(), UPolyhedraSide::Safety(), OpNovicePrimaryGeneratorAction::SetOptPhotonPolar(), WLSPrimaryGeneratorAction::SetOptPhotonPolar(), G4TriangularFacet::SetSurfaceNormal(), G4VCSGfaceted::SurfaceNormal(), G4ReflectedSolid::SurfaceNormal(), G4DisplacedSolid::SurfaceNormal(), G4UnionSolid::SurfaceNormal(), G4IntersectionSolid::SurfaceNormal(), and G4SubtractionSolid::SurfaceNormal().

HepLorentzRotation CLHEP::operator* ( const HepRotation &  r,
const HepLorentzRotation &  lt 
)

Definition at line 264 of file LorentzRotation.cc.

Hep2Vector CLHEP::operator/ ( const Hep2Vector &  p,
double  a 
)

Definition at line 61 of file TwoVector.cc.

References a.

HepLorentzVector CLHEP::operator/ ( const HepLorentzVector &  w,
double  c 
)

Definition at line 165 of file LorentzVector.cc.

Hep3Vector CLHEP::operator/ ( const Hep3Vector &  v1,
double  c 
)

Definition at line 335 of file ThreeVector.cc.

std::ostream& CLHEP::operator<< ( std::ostream &  os,
const Hep2Vector &  q 
)

Definition at line 69 of file TwoVector.cc.

std::ostream& CLHEP::operator<< ( std::ostream &  os,
const HepAxisAngle &  aa 
)

Definition at line 85 of file AxisAngle.cc.

std::ostream& CLHEP::operator<< ( std::ostream &  os,
const HepLorentzVector &  v1 
)

Definition at line 90 of file LorentzVector.cc.

std::ostream& CLHEP::operator<< ( std::ostream &  os,
const HepRandomEngine &  e 
)

Definition at line 98 of file RandomEngine.cc.

std::ostream& CLHEP::operator<< ( std::ostream &  os,
const HepEulerAngles &  ea 
)

Definition at line 100 of file EulerAngles.cc.

std::ostream& CLHEP::operator<< ( std::ostream &  os,
const Hep3Vector &  v 
)

Definition at line 100 of file ThreeVector.cc.

std::ostream& CLHEP::operator<< ( std::ostream &  os,
const HepRandom &  dist 
)

Definition at line 116 of file Random.cc.

std::istream& CLHEP::operator>> ( std::istream &  is,
Hep2Vector &  p 
)

Definition at line 77 of file TwoVector.cc.

References ZMinput2doubles().

+ Here is the call graph for this function:

std::istream& CLHEP::operator>> ( std::istream &  is,
HepAxisAngle &  aa 
)

Definition at line 95 of file AxisAngle.cc.

References z, and ZMinputAxisAngle().

+ Here is the call graph for this function:

std::istream& CLHEP::operator>> ( std::istream &  is,
HepLorentzVector &  v1 
)

Definition at line 96 of file LorentzVector.cc.

References z.

std::istream& CLHEP::operator>> ( std::istream &  is,
HepRandomEngine &  e 
)

Definition at line 102 of file RandomEngine.cc.

std::istream& CLHEP::operator>> ( std::istream &  is,
Hep3Vector &  v 
)

Definition at line 107 of file ThreeVector.cc.

References z, and ZMinput3doubles().

+ Here is the call graph for this function:

std::istream& CLHEP::operator>> ( std::istream &  is,
HepEulerAngles &  ea 
)

Definition at line 109 of file EulerAngles.cc.

References ZMinput3doubles().

+ Here is the call graph for this function:

std::istream& CLHEP::operator>> ( std::istream &  is,
HepRandom &  dist 
)

Definition at line 120 of file Random.cc.

HepLorentzVector CLHEP::rotationOf ( const HepLorentzVector &  vec,
const Hep3Vector &  aaxis,
double  ddelta 
)

Definition at line 47 of file LorentzVectorR.cc.

HepLorentzVector CLHEP::rotationOf ( const HepLorentzVector &  vec,
const HepAxisAngle &  ax 
)

Definition at line 55 of file LorentzVectorR.cc.

HepLorentzVector CLHEP::rotationOf ( const HepLorentzVector &  vec,
const HepEulerAngles &  e1 
)

Definition at line 61 of file LorentzVectorR.cc.

HepLorentzVector CLHEP::rotationOf ( const HepLorentzVector &  vec,
double  phi1,
double  theta1,
double  psi1 
)

Definition at line 66 of file LorentzVectorR.cc.

Hep3Vector CLHEP::rotationOf ( const Hep3Vector &  vec,
const HepAxisAngle &  ax 
)

Definition at line 127 of file SpaceVectorR.cc.

Hep3Vector CLHEP::rotationOf ( const Hep3Vector &  vec,
const Hep3Vector &  axis,
double  ddelta 
)

Definition at line 132 of file SpaceVectorR.cc.

Hep3Vector CLHEP::rotationOf ( const Hep3Vector &  vec,
const HepEulerAngles &  ex 
)

Definition at line 138 of file SpaceVectorR.cc.

Hep3Vector CLHEP::rotationOf ( const Hep3Vector &  vec,
double  phi,
double  theta,
double  psi 
)

Definition at line 143 of file SpaceVectorR.cc.

HepLorentzVector CLHEP::rotationXOf ( const HepLorentzVector &  vec,
double  phi 
)

Definition at line 28 of file LorentzVectorB.cc.

Hep3Vector CLHEP::rotationXOf ( const Hep3Vector &  vec,
double  ddelta 
)

Definition at line 149 of file SpaceVectorR.cc.

HepLorentzVector CLHEP::rotationYOf ( const HepLorentzVector &  vec,
double  phi 
)

Definition at line 34 of file LorentzVectorB.cc.

Hep3Vector CLHEP::rotationYOf ( const Hep3Vector &  vec,
double  ddelta 
)

Definition at line 154 of file SpaceVectorR.cc.

HepLorentzVector CLHEP::rotationZOf ( const HepLorentzVector &  vec,
double  phi 
)

Definition at line 40 of file LorentzVectorB.cc.

Hep3Vector CLHEP::rotationZOf ( const Hep3Vector &  vec,
double  ddelta 
)

Definition at line 159 of file SpaceVectorR.cc.

static double CLHEP::safe_acos ( double  x)
inlinestatic

Definition at line 23 of file Rotation.cc.

References G4INCL::Math::pi.

static double CLHEP::safe_acos ( double  x)
inlinestatic

Definition at line 26 of file RotationE.cc.

References G4INCL::Math::pi.

static double CLHEP::safe_acos ( double  x)
inlinestatic

Definition at line 26 of file RotationX.cc.

References G4INCL::Math::pi.

static double CLHEP::safe_acos ( double  x)
inlinestatic

Definition at line 26 of file RotationY.cc.

References G4INCL::Math::pi.

static double CLHEP::safe_acos ( double  x)
inlinestatic

Definition at line 26 of file RotationZ.cc.

References G4INCL::Math::pi.

static double CLHEP::StirlingCorrection ( long int  k)
static

Definition at line 92 of file RandBinomial.cc.

References C1, C3, C5, C7, and L.

double CLHEP::transformSmall ( double  r)

Definition at line 219 of file flatToGaussian.cc.

References eps.

void CLHEP::ZMinput2doubles ( std::istream &  is,
const char *  type,
double &  x,
double &  y 
)

Definition at line 243 of file ZMinput.cc.

References m.

Referenced by operator>>().

+ Here is the caller graph for this function:

void CLHEP::ZMinput3doubles ( std::istream &  is,
const char *  type,
double &  x,
double &  y,
double &  z 
)

Definition at line 42 of file ZMinput.cc.

References m.

Referenced by operator>>(), and ZMinputAxisAngle().

+ Here is the caller graph for this function:

void CLHEP::ZMinputAxisAngle ( std::istream &  is,
double &  x,
double &  y,
double &  z,
double &  delta 
)

Definition at line 156 of file ZMinput.cc.

References m, and ZMinput3doubles().

Referenced by operator>>().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void CLHEP::ZMpvAxisAngleRep ( const HepAxisAngle &  aa,
double  array[] 
)
static

Definition at line 20 of file AxisAngle.cc.

static void CLHEP::ZMpvEulerAnglesRep ( const HepEulerAngles &  ex,
double  array[] 
)
static

Definition at line 43 of file EulerAngles.cc.

Variable Documentation

const double CLHEP::gaussTables[2 *TableSize]
static
Initial value:
= {
}

Definition at line 85 of file flatToGaussian.cc.

const float CLHEP::gaussTables[TableSize]
static
Initial value:
= {
}

Definition at line 88 of file RandGaussQ.cc.

const float CLHEP::inverseLandau[TABLE_END+1]
static

Definition at line 74 of file RandLandau.cc.

const int CLHEP::MarkerLen = 64
static

Definition at line 41 of file RanshiEngine.cc.

const int CLHEP::MarkerLen = 64
static

Definition at line 49 of file RanluxEngine.cc.

const int CLHEP::MarkerLen = 64
static

Definition at line 49 of file JamesRandom.cc.

const int CLHEP::MarkerLen = 64
static

Definition at line 49 of file RanecuEngine.cc.

const int CLHEP::MarkerLen = 64
static

Definition at line 50 of file MTwistEngine.cc.

const int CLHEP::MarkerLen = 64
static

Definition at line 60 of file DualRand.cc.

const int CLHEP::MarkerLen = 64
static

Definition at line 66 of file Ranlux64Engine.cc.

const double CLHEP::poissonTables[51 *((95-10)/5+1)]
static
Initial value:
= {
}

Definition at line 71 of file RandPoissonQ.cc.

const double CLHEP::prec = 4.6566128E-10
static

Definition at line 51 of file RanecuEngine.cc.

Referenced by G4MagInt_Driver::AccurateAdvance(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), RunAction::BeginOfRunAction(), G4SandiaTable::ComputeMatSandiaMatrix(), Run::ComputeStatistics(), HistoManager::EndOfRun(), Em10RunAction::EndOfRunAction(), G4ElasticHadrNucleusHE::GetLightFq2(), G4SynchrotronRadiation::GetRandomEnergySR(), operator<<(), DetectorConstruction::PrintGeometry(), CexmcRunAction::PrintResults(), Run::PrintSummary(), LXeSteppingVerbose::StepInfo(), F04SteppingVerbose::StepInfo(), WLSSteppingVerbose::StepInfo(), OpNoviceSteppingVerbose::StepInfo(), ExN04SteppingVerbose::StepInfo(), SteppingVerbose::StepInfo(), eRositaSteppingVerbose::StepInfo(), FCALSteppingVerbose::StepInfo(), XrayFluoSteppingVerbose::StepInfo(), PurgMagSteppingVerbose::StepInfo(), ExN02SteppingVerbose::StepInfo(), RE05SteppingVerbose::StepInfo(), ExP01SteppingVerbose::StepInfo(), F05SteppingVerbose::StepInfo(), Em10SteppingVerbose::StepInfo(), G4SteppingVerbose::StepInfo(), F01SteppingVerbose::StepInfo(), F02SteppingVerbose::StepInfo(), F03SteppingVerbose::StepInfo(), G4Physics2DVector::Store(), RunAction::SurveyConvergence(), F04SteppingVerbose::TrackingStarted(), LXeSteppingVerbose::TrackingStarted(), WLSSteppingVerbose::TrackingStarted(), OpNoviceSteppingVerbose::TrackingStarted(), ExN04SteppingVerbose::TrackingStarted(), SteppingVerbose::TrackingStarted(), eRositaSteppingVerbose::TrackingStarted(), FCALSteppingVerbose::TrackingStarted(), XrayFluoSteppingVerbose::TrackingStarted(), PurgMagSteppingVerbose::TrackingStarted(), ExN02SteppingVerbose::TrackingStarted(), RE05SteppingVerbose::TrackingStarted(), ExP01SteppingVerbose::TrackingStarted(), F05SteppingVerbose::TrackingStarted(), Em10SteppingVerbose::TrackingStarted(), G4SteppingVerbose::TrackingStarted(), F01SteppingVerbose::TrackingStarted(), F02SteppingVerbose::TrackingStarted(), F03SteppingVerbose::TrackingStarted(), G4SteppingVerbose::VerboseTrack(), and EventAction::WritePixels().

const int CLHEP::TABLE_END = 982
static

Definition at line 61 of file RandLandau.cc.

const float CLHEP::TABLE_INTERVAL = .001f
static

Definition at line 60 of file RandLandau.cc.

const float CLHEP::TABLE_MULTIPLIER = 1.0f/TABLE_INTERVAL
static

Definition at line 62 of file RandLandau.cc.

const int CLHEP::Toffsets[5]
static
Initial value:
#define Table2offset
#define Table0offset
#define Table1offset
#define Table3offset
#define Table4offset

Definition at line 77 of file flatToGaussian.cc.

const int CLHEP::Tsizes[5]
static
Initial value:
#define Table2size
#define Table1size
#define Table3size
#define Table0size
#define Table4size

Definition at line 53 of file flatToGaussian.cc.

const double CLHEP::Tsteps[5]
static
Initial value:
#define Table2step
#define Table0step
#define Table1step
#define Table3step
#define Table4step

Definition at line 65 of file flatToGaussian.cc.