ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/solids/specific/include/G4Hype.hh>
Protected Types | |
enum | ESide { outerFace, innerFace, leftCap, rightCap } |
Protected Member Functions | |
G4bool | InnerSurfaceExists () const |
G4double | HypeInnerRadius2 (G4double zVal) const |
G4double | HypeOuterRadius2 (G4double zVal) const |
Protected Member Functions inherited from G4VSolid | |
void | CalculateClippedPolygonExtent (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipCrossSection (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipBetweenSections (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipPolygon (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis) const |
Static Protected Member Functions | |
static G4double | ApproxDistOutside (G4double pr, G4double pz, G4double r0, G4double tanPhi) |
static G4double | ApproxDistInside (G4double pr, G4double pz, G4double r0, G4double tan2Phi) |
static G4int | IntersectHype (const G4ThreeVector &p, const G4ThreeVector &v, G4double r2, G4double tan2Phi, G4double s[2]) |
Protected Attributes | |
G4double | innerRadius |
G4double | outerRadius |
G4double | halfLenZ |
G4double | innerStereo |
G4double | outerStereo |
G4double | tanInnerStereo |
G4double | tanOuterStereo |
G4double | tanInnerStereo2 |
G4double | tanOuterStereo2 |
G4double | innerRadius2 |
G4double | outerRadius2 |
G4double | endInnerRadius2 |
G4double | endOuterRadius2 |
G4double | endInnerRadius |
G4double | endOuterRadius |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Private Member Functions | |
G4double | asinh (G4double arg) |
Private Attributes | |
G4double | fCubicVolume = 0.0 |
G4double | fSurfaceArea = 0.0 |
G4double | fHalfTol |
G4bool | fRebuildPolyhedron = false |
G4Polyhedron * | fpPolyhedron = nullptr |
Definition at line 68 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 68 of file G4Hype.hh
|
protected |
G4Hype::G4Hype | ( | const G4String & | pName, |
G4double | newInnerRadius, | ||
G4double | newOuterRadius, | ||
G4double | newInnerStereo, | ||
G4double | newOuterStereo, | ||
G4double | newHalfLenZ | ||
) |
Definition at line 65 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 65 of file G4Hype.cc
References FatalErrorInArgument, fHalfTol, G4endl, G4Exception(), G4VSolid::GetName(), halfLenZ, innerRadius, innerRadius2, G4VSolid::kCarTolerance, message(), mm, outerRadius, outerRadius2, SetInnerStereo(), and SetOuterStereo().
Referenced by Clone().
|
virtual |
Definition at line 136 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 136 of file G4Hype.cc
References fpPolyhedron.
G4Hype::G4Hype | ( | __void__ & | a | ) |
G4Hype::G4Hype | ( | const G4Hype & | rhs | ) |
|
staticprotected |
Definition at line 1043 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 1043 of file G4Hype.cc
References DBL_MIN, dz, and gammaraytel::pr.
Referenced by DistanceToIn(), and DistanceToOut().
Definition at line 1267 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 1267 of file G4Hype.cc
References sqr().
Referenced by pyhiw1au(), pyhiw2au(), pyw1au(), pyw2au(), and pywaux().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 199 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 199 of file G4Hype.cc
References G4VSolid::DumpInfo(), endOuterRadius, G4Exception(), G4VSolid::GetName(), halfLenZ, JustWarning, message(), pMax, CLHEP::Hep3Vector::set(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Definition at line 221 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 221 of file G4Hype.cc
References BoundingLimits(), and G4BoundingEnvelope::CalculateExtent().
|
virtual |
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1241 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 1241 of file G4Hype.cc
References halfLenZ, innerRadius, outerRadius, tanInnerStereo2, and tanOuterStereo2.
Referenced by GetPolyhedron().
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 323 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 323 of file G4Hype.cc
References DBL_EPSILON, DBL_MIN, endInnerRadius, endInnerRadius2, endOuterRadius, endOuterRadius2, fHalfTol, halfLenZ, HypeInnerRadius2(), HypeOuterRadius2(), innerRadius2, innerStereo, InnerSurfaceExists(), IntersectHype(), G4VSolid::kCarTolerance, kInfinity, n, outerRadius2, tanInnerStereo2, tanOuterStereo2, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 614 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 614 of file G4Hype.cc
References ApproxDistInside(), ApproxDistOutside(), endInnerRadius, endOuterRadius, fHalfTol, halfLenZ, HypeInnerRadius2(), innerRadius, InnerSurfaceExists(), G4VSolid::kCarTolerance, outerRadius, r, r2, tanInnerStereo2, tanOuterStereo, tanOuterStereo2, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 693 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 693 of file G4Hype.cc
References DBL_MIN, CLHEP::Hep3Vector::dot(), endInnerRadius, endOuterRadius, fHalfTol, halfLenZ, HypeInnerRadius2(), HypeOuterRadius2(), innerRadius2, InnerSurfaceExists(), IntersectHype(), G4VSolid::kCarTolerance, kInfinity, n, outerRadius2, r2, tanInnerStereo2, tanOuterStereo2, CLHEP::Hep3Vector::unit(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 860 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 860 of file G4Hype.cc
References ApproxDistInside(), ApproxDistOutside(), halfLenZ, innerRadius, InnerSurfaceExists(), G4VSolid::kCarTolerance, outerRadius, CLHEP::Hep3Vector::perp(), r, tanInnerStereo, tanOuterStereo2, and CLHEP::Hep3Vector::z().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1081 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 1081 of file G4Hype.cc
References fCubicVolume, and G4VSolid::GetCubicVolume().
|
virtual |
|
virtual |
|
inline |
Referenced by export_G4Hype(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteSolids::HypeWrite(), and G4GDMLWriteSolids::HypeWrite().
|
inline |
Referenced by export_G4Hype(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteSolids::HypeWrite(), and G4GDMLWriteSolids::HypeWrite().
|
inline |
Referenced by export_G4Hype(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteSolids::HypeWrite(), and G4GDMLWriteSolids::HypeWrite().
|
inline |
Referenced by export_G4Hype(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteSolids::HypeWrite(), and G4GDMLWriteSolids::HypeWrite().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1120 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 1120 of file G4Hype.cc
References alpha, halfLenZ, innerRadius, innerRadius2, innerStereo, outerRadius, outerRadius2, outerStereo, phi, pi, r2, G4INCL::DeJongSpin::shoot(), sqr(), t, tanInnerStereo, tanInnerStereo2, tanOuterStereo, and tanOuterStereo2.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1249 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 1249 of file G4Hype.cc
References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, HepPolyhedron::GetNumberOfRotationSteps(), G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< _Mutex_t >::unlock().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1090 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 1090 of file G4Hype.cc
References fSurfaceArea, and G4VSolid::GetSurfaceArea().
|
inline |
Referenced by export_G4Hype(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteSolids::HypeWrite(), and G4GDMLWriteSolids::HypeWrite().
Referenced by DistanceToIn(), DistanceToOut(), Inside(), and SurfaceNormal().
Referenced by DistanceToIn(), DistanceToOut(), Inside(), and SurfaceNormal().
|
inlineprotected |
Referenced by DistanceToIn(), DistanceToOut(), Inside(), and SurfaceNormal().
|
virtual |
Implements G4VSolid.
Definition at line 238 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 238 of file G4Hype.cc
References endInnerRadius, endOuterRadius, fHalfTol, halfLenZ, HypeInnerRadius2(), HypeOuterRadius2(), InnerSurfaceExists(), G4VSolid::kCarTolerance, kInside, kOutside, kSurface, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
staticprotected |
Definition at line 921 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 921 of file G4Hype.cc
References a, b, c, DBL_MIN, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), CLHEP::Hep3Vector::z(), and G4InuclParticleNames::z0.
Referenced by DistanceToIn(), and DistanceToOut().
Definition at line 159 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 159 of file G4Hype.cc
References endInnerRadius, endInnerRadius2, endOuterRadius, endOuterRadius2, fCubicVolume, fHalfTol, fpPolyhedron, fRebuildPolyhedron, fSurfaceArea, halfLenZ, innerRadius, innerRadius2, innerStereo, G4VSolid::operator=(), outerRadius, outerRadius2, outerStereo, tanInnerStereo, tanInnerStereo2, tanOuterStereo, and tanOuterStereo2.
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Hype().
Referenced by G4GDMLParameterisation::ComputeDimensions(), export_G4Hype(), and G4Hype().
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Hype().
Referenced by G4GDMLParameterisation::ComputeDimensions(), export_G4Hype(), and G4Hype().
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Hype().
|
virtual |
Implements G4VSolid.
Definition at line 1099 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 1099 of file G4Hype.cc
References degree, G4VSolid::GetName(), halfLenZ, innerRadius, innerStereo, mm, outerRadius, and outerStereo.
|
virtual |
Implements G4VSolid.
Definition at line 279 of file G4Hype.cc.
View newest version in sPHENIX GitHub at line 279 of file G4Hype.cc
References halfLenZ, HypeInnerRadius2(), HypeOuterRadius2(), InnerSurfaceExists(), tanInnerStereo2, tanOuterStereo2, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
protected |
Definition at line 180 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 180 of file G4Hype.hh
Referenced by DistanceToIn(), DistanceToOut(), Inside(), and operator=().
|
protected |
Definition at line 178 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 178 of file G4Hype.hh
Referenced by DistanceToIn(), and operator=().
|
protected |
Definition at line 181 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 181 of file G4Hype.hh
Referenced by BoundingLimits(), DistanceToIn(), DistanceToOut(), GetExtent(), Inside(), and operator=().
|
protected |
Definition at line 179 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 179 of file G4Hype.hh
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 193 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 193 of file G4Hype.hh
Referenced by GetCubicVolume(), and operator=().
|
private |
Definition at line 196 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 196 of file G4Hype.hh
Referenced by DistanceToIn(), DistanceToOut(), G4Hype(), Inside(), and operator=().
|
mutableprivate |
Definition at line 199 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 199 of file G4Hype.hh
Referenced by GetPolyhedron(), operator=(), and ~G4Hype().
Definition at line 198 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 198 of file G4Hype.hh
Referenced by GetPolyhedron(), and operator=().
|
private |
Definition at line 194 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 194 of file G4Hype.hh
Referenced by GetSurfaceArea(), and operator=().
|
protected |
Definition at line 166 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 166 of file G4Hype.hh
Referenced by BoundingLimits(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), G4Hype(), GetExtent(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 164 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 164 of file G4Hype.hh
Referenced by CreatePolyhedron(), DistanceToIn(), DistanceToOut(), G4Hype(), GetPointOnSurface(), operator=(), and StreamInfo().
|
protected |
Definition at line 176 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 176 of file G4Hype.hh
Referenced by DistanceToIn(), DistanceToOut(), G4Hype(), GetPointOnSurface(), and operator=().
|
protected |
Definition at line 167 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 167 of file G4Hype.hh
Referenced by DistanceToIn(), GetPointOnSurface(), operator=(), and StreamInfo().
|
protected |
Definition at line 165 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 165 of file G4Hype.hh
Referenced by CreatePolyhedron(), DistanceToIn(), DistanceToOut(), G4Hype(), GetPointOnSurface(), operator=(), and StreamInfo().
|
protected |
Definition at line 177 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 177 of file G4Hype.hh
Referenced by DistanceToIn(), DistanceToOut(), G4Hype(), GetPointOnSurface(), and operator=().
|
protected |
Definition at line 168 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 168 of file G4Hype.hh
Referenced by GetPointOnSurface(), operator=(), and StreamInfo().
|
protected |
Definition at line 172 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 172 of file G4Hype.hh
Referenced by DistanceToOut(), GetPointOnSurface(), and operator=().
|
protected |
Definition at line 174 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 174 of file G4Hype.hh
Referenced by CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 173 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 173 of file G4Hype.hh
Referenced by DistanceToIn(), GetPointOnSurface(), and operator=().
|
protected |
Definition at line 175 of file G4Hype.hh.
View newest version in sPHENIX GitHub at line 175 of file G4Hype.hh
Referenced by CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().