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/G4EllipticalCone.hh>
Protected Attributes | |
G4bool | fRebuildPolyhedron = false |
G4Polyhedron * | fpPolyhedron = nullptr |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Private Member Functions | |
G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
Private Attributes | |
G4double | halfCarTol |
G4double | fCubicVolume = 0.0 |
G4double | fSurfaceArea = 0.0 |
G4double | xSemiAxis |
G4double | ySemiAxis |
G4double | zheight |
G4double | zTopCut |
G4double | cosAxisMin |
G4double | invXX |
G4double | invYY |
Additional Inherited Members | |
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 |
Definition at line 87 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 87 of file G4EllipticalCone.hh
G4EllipticalCone::G4EllipticalCone | ( | const G4String & | pName, |
G4double | pxSemiAxis, | ||
G4double | pySemiAxis, | ||
G4double | zMax, | ||
G4double | pzTopCut | ||
) |
Definition at line 72 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 72 of file G4EllipticalCone.cc
References FatalErrorInArgument, G4Exception(), G4VSolid::GetName(), halfCarTol, G4VSolid::kCarTolerance, message(), SetSemiAxis(), and SetZCut().
Referenced by Clone().
|
virtual |
Definition at line 122 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 122 of file G4EllipticalCone.cc
References fpPolyhedron.
G4EllipticalCone::G4EllipticalCone | ( | __void__ & | a | ) |
Definition at line 111 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 111 of file G4EllipticalCone.cc
G4EllipticalCone::G4EllipticalCone | ( | const G4EllipticalCone & | rhs | ) |
Definition at line 131 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 131 of file G4EllipticalCone.cc
|
private |
Definition at line 330 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 330 of file G4EllipticalCone.cc
References kdfinder::abs(), cosAxisMin, dz, halfCarTol, invXX, invYY, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), CLHEP::Hep3Vector::z(), zheight, and zTopCut.
Referenced by SurfaceNormal().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 172 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 172 of file G4EllipticalCone.cc
References G4VSolid::DumpInfo(), G4Exception(), G4VSolid::GetName(), GetSemiAxisX(), GetSemiAxisY(), GetZMax(), GetZTopCut(), JustWarning, message(), pMax, CLHEP::Hep3Vector::set(), CLHEP::Hep3Vector::x(), xmax, CLHEP::Hep3Vector::y(), ymax, and CLHEP::Hep3Vector::z().
Referenced by CalculateExtent(), and GetExtent().
|
virtual |
Implements G4VSolid.
Definition at line 202 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 202 of file G4EllipticalCone.cc
References G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), BoundingLimits(), G4BoundingEnvelope::CalculateExtent(), GetSemiAxisX(), GetSemiAxisY(), GetZMax(), k, pMax, twopi, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 809 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 809 of file G4EllipticalCone.cc
References G4EllipticalCone().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 973 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 973 of file G4EllipticalCone.cc
References xSemiAxis, ySemiAxis, zheight, and zTopCut.
Referenced by GetPolyhedron().
|
virtual |
Implements G4VSolid.
Definition at line 957 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 957 of file G4EllipticalCone.cc
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 346 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 346 of file G4EllipticalCone.cc
References A(), B(), C(), halfCarTol, kInfinity, G4InuclParticleNames::lambda, sqr(), v, CLHEP::Hep3Vector::x(), xSemiAxis, CLHEP::Hep3Vector::y(), ySemiAxis, CLHEP::Hep3Vector::z(), zheight, and zTopCut.
|
virtual |
Implements G4VSolid.
Definition at line 595 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 595 of file G4EllipticalCone.cc
References kdfinder::abs(), cosAxisMin, dz, invXX, invYY, max, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), CLHEP::Hep3Vector::z(), zheight, and zTopCut.
|
virtual |
Implements G4VSolid.
Definition at line 609 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 609 of file G4EllipticalCone.cc
References A(), B(), C(), CLHEP::Hep3Vector::dot(), G4VSolid::DumpInfo(), G4endl, G4Exception(), halfCarTol, JustWarning, kInfinity, G4InuclParticleNames::lambda, CLHEP::Hep3Vector::mag(), message(), mm, sqr(), surface(), v, CLHEP::Hep3Vector::x(), xSemiAxis, CLHEP::Hep3Vector::y(), ySemiAxis, CLHEP::Hep3Vector::z(), zheight, and zTopCut.
|
virtual |
Implements G4VSolid.
Definition at line 771 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 771 of file G4EllipticalCone.cc
References kdfinder::abs(), cosAxisMin, G4VSolid::DumpInfo(), dz, G4Exception(), G4VSolid::GetName(), Inside(), invXX, invYY, JustWarning, kOutside, message(), min, mm, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), CLHEP::Hep3Vector::z(), zheight, and zTopCut.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 920 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 920 of file G4EllipticalCone.cc
References fCubicVolume, CLHEP::pi, xSemiAxis, ySemiAxis, zheight, and zTopCut.
|
virtual |
Implements G4VSolid.
Definition at line 800 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 800 of file G4EllipticalCone.cc
|
virtual |
Reimplemented from G4VSolid.
Definition at line 962 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 962 of file G4EllipticalCone.cc
References BoundingLimits(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 841 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 841 of file G4EllipticalCone.cc
References a, b, bb, E, G4GeomTools::EllipticConeLateralArea(), F, G, G4RandomPointInEllipse(), G4RandomRadiusInRing(), G4UniformRand, hh, k, max, phi, pi, Acts::IntegrationTest::R, G4InuclParticleNames::s0, CLHEP::Hep3Vector::set(), CLHEP::twopi, CLHEP::Hep2Vector::x(), x, xSemiAxis, xx, CLHEP::Hep2Vector::y(), y, ySemiAxis, zheight, and zTopCut.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 978 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 978 of file G4EllipticalCone.cc
References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, HepPolyhedron::GetNumberOfRotationSteps(), G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< _Mutex_t >::unlock().
|
inline |
|
inline |
|
inline |
Referenced by BoundingLimits(), CalculateExtent(), PHG4GDMLWriteSolids::ElconeWrite(), and G4GDMLWriteSolids::ElconeWrite().
|
inline |
Referenced by BoundingLimits(), CalculateExtent(), PHG4GDMLWriteSolids::ElconeWrite(), and G4GDMLWriteSolids::ElconeWrite().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 938 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 938 of file G4EllipticalCone.cc
References G4GeomTools::EllipticConeLateralArea(), fSurfaceArea, CLHEP::pi, G4InuclParticleNames::s0, xSemiAxis, ySemiAxis, zheight, and zTopCut.
|
inline |
Referenced by BoundingLimits(), CalculateExtent(), PHG4GDMLWriteSolids::ElconeWrite(), and G4GDMLWriteSolids::ElconeWrite().
|
inline |
Referenced by BoundingLimits(), PHG4GDMLWriteSolids::ElconeWrite(), G4GDMLWriteSolids::ElconeWrite(), and export_G4EllipticalCone().
|
virtual |
Implements G4VSolid.
Definition at line 262 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 262 of file G4EllipticalCone.cc
References kdfinder::abs(), cosAxisMin, dz, halfCarTol, invXX, invYY, kInside, kOutside, kSurface, max, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), CLHEP::Hep3Vector::z(), zheight, and zTopCut.
Referenced by DistanceToOut().
G4EllipticalCone & G4EllipticalCone::operator= | ( | const G4EllipticalCone & | rhs | ) |
Definition at line 144 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 144 of file G4EllipticalCone.cc
References cosAxisMin, fCubicVolume, fpPolyhedron, fRebuildPolyhedron, fSurfaceArea, halfCarTol, invXX, invYY, G4VSolid::operator=(), xSemiAxis, ySemiAxis, zheight, and zTopCut.
Referenced by export_G4EllipticalCone(), and G4EllipticalCone().
Referenced by export_G4EllipticalCone(), and G4EllipticalCone().
|
virtual |
Implements G4VSolid.
Definition at line 818 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 818 of file G4EllipticalCone.cc
References G4VSolid::GetName(), mm, xSemiAxis, ySemiAxis, zheight, and zTopCut.
|
virtual |
Implements G4VSolid.
Definition at line 277 of file G4EllipticalCone.cc.
View newest version in sPHENIX GitHub at line 277 of file G4EllipticalCone.cc
References kdfinder::abs(), ApproxSurfaceNormal(), cosAxisMin, G4VSolid::DumpInfo(), dz, G4cout, G4endl, G4Exception(), G4VSolid::GetName(), halfCarTol, invXX, invYY, JustWarning, CLHEP::Hep3Vector::mag(), message(), mm, norm, CLHEP::Hep3Vector::unit(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), CLHEP::Hep3Vector::z(), zheight, and zTopCut.
|
private |
Definition at line 182 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 182 of file G4EllipticalCone.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 179 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 179 of file G4EllipticalCone.hh
Referenced by GetCubicVolume(), and operator=().
|
mutableprotected |
Definition at line 168 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 168 of file G4EllipticalCone.hh
Referenced by GetPolyhedron(), operator=(), and ~G4EllipticalCone().
Definition at line 167 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 167 of file G4EllipticalCone.hh
Referenced by GetPolyhedron(), and operator=().
|
private |
Definition at line 180 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 180 of file G4EllipticalCone.hh
Referenced by GetSurfaceArea(), and operator=().
|
private |
Definition at line 178 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 178 of file G4EllipticalCone.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), G4EllipticalCone(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 182 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 182 of file G4EllipticalCone.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 182 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 182 of file G4EllipticalCone.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 181 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 181 of file G4EllipticalCone.hh
Referenced by CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetCubicVolume(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and StreamInfo().
|
private |
Definition at line 181 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 181 of file G4EllipticalCone.hh
Referenced by CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetCubicVolume(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and StreamInfo().
|
private |
Definition at line 181 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 181 of file G4EllipticalCone.hh
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetCubicVolume(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 181 of file G4EllipticalCone.hh.
View newest version in sPHENIX GitHub at line 181 of file G4EllipticalCone.hh
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetCubicVolume(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().