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/G4Ellipsoid.hh>
Private Member Functions | |
void | CheckParameters () |
G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
G4double | LateralSurfaceArea () const |
Private Attributes | |
G4double | fDx |
G4double | fDy |
G4double | fDz |
G4double | fZBottomCut |
G4double | fZTopCut |
G4double | halfTolerance |
G4double | fXmax |
G4double | fYmax |
G4double | fRsph |
G4double | fR |
G4double | fSx |
G4double | fSy |
G4double | fSz |
G4double | fZMidCut |
G4double | fZDimCut |
G4double | fQ1 |
G4double | fQ2 |
G4double | fCubicVolume = 0.0 |
G4double | fSurfaceArea = 0.0 |
G4double | fLateralArea = 0.0 |
G4bool | fRebuildPolyhedron = false |
G4Polyhedron * | fpPolyhedron = nullptr |
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 |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Definition at line 63 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 63 of file G4Ellipsoid.hh
G4Ellipsoid::G4Ellipsoid | ( | const G4String & | name, |
G4double | xSemiAxis, | ||
G4double | ySemiAxis, | ||
G4double | zSemiAxis, | ||
G4double | zBottomCut = 0. , |
||
G4double | zTopCut = 0. |
||
) |
Definition at line 67 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 67 of file G4Ellipsoid.cc
References CheckParameters().
Referenced by Clone().
|
virtual |
Definition at line 93 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 93 of file G4Ellipsoid.cc
References fpPolyhedron.
G4Ellipsoid::G4Ellipsoid | ( | __void__ & | a | ) |
Definition at line 84 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 84 of file G4Ellipsoid.cc
G4Ellipsoid::G4Ellipsoid | ( | const G4Ellipsoid & | rhs | ) |
Definition at line 102 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 102 of file G4Ellipsoid.cc
|
private |
Definition at line 366 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 366 of file G4Ellipsoid.cc
References kdfinder::abs(), fR, fSx, fSy, fSz, fZDimCut, fZMidCut, CLHEP::Hep3Vector::unit(), CLHEP::Hep3Vector::x(), x, CLHEP::Hep3Vector::y(), y, CLHEP::Hep3Vector::z(), and z.
Referenced by DistanceToOut(), and SurfaceNormal().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 264 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 264 of file G4Ellipsoid.cc
References fXmax, fYmax, fZBottomCut, fZTopCut, and CLHEP::Hep3Vector::set().
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Definition at line 276 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 276 of file G4Ellipsoid.cc
References BoundingLimits(), and G4BoundingEnvelope::CalculateExtent().
|
private |
Definition at line 167 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 167 of file G4Ellipsoid.cc
References A(), B(), C(), FatalException, fCubicVolume, fDx, fDy, fDz, fLateralArea, fQ1, fQ2, fR, fRsph, fSurfaceArea, fSx, fSy, fSz, fXmax, fYmax, fZBottomCut, fZDimCut, fZMidCut, fZTopCut, G4Exception(), G4VSolid::GetName(), halfTolerance, G4VSolid::kCarTolerance, max, message(), min, ratio, and scale.
Referenced by G4Ellipsoid().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 651 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 651 of file G4Ellipsoid.cc
References G4Ellipsoid().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 253 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 253 of file G4Ellipsoid.cc
References G4VPVParameterisation::ComputeDimensions().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 877 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 877 of file G4Ellipsoid.cc
References fDx, fDy, fDz, fZBottomCut, and fZTopCut.
Referenced by GetPolyhedron().
|
virtual |
Implements G4VSolid.
Definition at line 859 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 859 of file G4Ellipsoid.cc
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 384 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 384 of file G4Ellipsoid.cc
References A(), kdfinder::abs(), B(), C(), D(), DBL_MAX, dz, EPS, fQ1, fQ2, fR, fRsph, fSx, fSy, fSz, fXmax, fYmax, fZBottomCut, fZDimCut, fZMidCut, fZTopCut, halfTolerance, G4VSolid::kCarTolerance, kInfinity, max, min, offset, t1, t2, tmp, v, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 470 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 470 of file G4Ellipsoid.cc
References kdfinder::abs(), distB, fR, fSx, fSy, fSz, fXmax, fYmax, fZBottomCut, fZTopCut, max, CLHEP::Hep3Vector::x(), x, CLHEP::Hep3Vector::y(), y, CLHEP::Hep3Vector::z(), and z.
|
virtual |
Implements G4VSolid.
Definition at line 497 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 497 of file G4Ellipsoid.cc
References A(), kdfinder::abs(), ApproxSurfaceNormal(), B(), C(), D(), DBL_EPSILON, DBL_MAX, G4VSolid::DumpInfo(), EPS, fQ1, fQ2, fR, fSx, fSy, fSz, fZDimCut, fZMidCut, G4cout, G4endl, G4Exception(), G4VSolid::GetName(), halfTolerance, JustWarning, max, message(), min, CLHEP::Hep3Vector::set(), tmp, CLHEP::Hep3Vector::unit(), v, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 622 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 622 of file G4Ellipsoid.cc
References fR, fSx, fSy, fSz, fZBottomCut, fZTopCut, min, CLHEP::Hep3Vector::x(), x, CLHEP::Hep3Vector::y(), y, CLHEP::Hep3Vector::z(), and z.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 682 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 682 of file G4Ellipsoid.cc
References fCubicVolume, fDx, fDy, fDz, fZBottomCut, fZTopCut, and CLHEP::pi.
|
inline |
|
inline |
|
inline |
|
virtual |
Implements G4VSolid.
Definition at line 642 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 642 of file G4Ellipsoid.cc
Referenced by StreamInfo().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 868 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 868 of file G4Ellipsoid.cc
References fXmax, fYmax, fZBottomCut, and fZTopCut.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 781 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 781 of file G4Ellipsoid.cc
References A(), B(), C(), fLateralArea, G4QuickRand(), G4RandomPointInEllipse(), GetDx(), GetDy(), GetDz(), GetZBottomCut(), GetZTopCut(), k, LateralSurfaceArea(), max, phi, CLHEP::pi, scale, CLHEP::Hep3Vector::set(), CLHEP::twopi, G4TemplateAutoLock< _Mutex_t >::unlock(), CLHEP::Hep2Vector::x(), x, CLHEP::Hep2Vector::y(), y, and z.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 886 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 886 of file G4Ellipsoid.cc
References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, HepPolyhedron::GetNumberOfRotationSteps(), G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< _Mutex_t >::unlock().
Referenced by G4GDMLWriteParamvol::Ellipsoid_dimensionsWrite(), PHG4GDMLWriteParamvol::Ellipsoid_dimensionsWrite(), PHG4GDMLWriteSolids::EllipsoidWrite(), G4GDMLWriteSolids::EllipsoidWrite(), export_G4Ellipsoid(), and G4tgbGeometryDumper::GetSolidParams().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 757 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 757 of file G4Ellipsoid.cc
References fDx, fDy, fDz, fSurfaceArea, fZBottomCut, fZTopCut, LateralSurfaceArea(), and CLHEP::pi.
|
inline |
Referenced by G4GDMLWriteParamvol::Ellipsoid_dimensionsWrite(), PHG4GDMLWriteParamvol::Ellipsoid_dimensionsWrite(), PHG4GDMLWriteSolids::EllipsoidWrite(), G4GDMLWriteSolids::EllipsoidWrite(), export_G4Ellipsoid(), GetPointOnSurface(), G4tgbGeometryDumper::GetSolidParams(), and StreamInfo().
|
inline |
Referenced by G4GDMLWriteParamvol::Ellipsoid_dimensionsWrite(), PHG4GDMLWriteParamvol::Ellipsoid_dimensionsWrite(), PHG4GDMLWriteSolids::EllipsoidWrite(), G4GDMLWriteSolids::EllipsoidWrite(), export_G4Ellipsoid(), GetPointOnSurface(), G4tgbGeometryDumper::GetSolidParams(), and StreamInfo().
|
virtual |
Implements G4VSolid.
Definition at line 295 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 295 of file G4Ellipsoid.cc
References kdfinder::abs(), fQ1, fQ2, fSx, fSy, fSz, fZDimCut, fZMidCut, halfTolerance, kInside, kOutside, kSurface, max, CLHEP::Hep3Vector::x(), x, CLHEP::Hep3Vector::y(), y, CLHEP::Hep3Vector::z(), and z.
|
private |
Definition at line 706 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 706 of file G4Ellipsoid.cc
References Acts::VectorHelpers::cross(), dz, fDx, fDy, fDz, fZBottomCut, fZTopCut, CLHEP::halfpi, z, z1, and z2.
Referenced by GetPointOnSurface(), and GetSurfaceArea().
G4Ellipsoid & G4Ellipsoid::operator= | ( | const G4Ellipsoid & | rhs | ) |
Definition at line 122 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 122 of file G4Ellipsoid.cc
References fCubicVolume, fDx, fDy, fDz, fLateralArea, fpPolyhedron, fQ1, fQ2, fR, fRebuildPolyhedron, fRsph, fSurfaceArea, fSx, fSy, fSz, fXmax, fYmax, fZBottomCut, fZDimCut, fZMidCut, fZTopCut, halfTolerance, and G4VSolid::operator=().
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Ellipsoid().
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Ellipsoid().
|
virtual |
Implements G4VSolid.
Definition at line 660 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 660 of file G4Ellipsoid.cc
References GetDx(), GetDy(), GetDz(), GetEntityType(), G4VSolid::GetName(), GetZBottomCut(), GetZTopCut(), and mm.
|
virtual |
Implements G4VSolid.
Definition at line 313 of file G4Ellipsoid.cc.
View newest version in sPHENIX GitHub at line 313 of file G4Ellipsoid.cc
References kdfinder::abs(), ApproxSurfaceNormal(), G4VSolid::DumpInfo(), fQ1, fQ2, fSx, fSy, fSz, fZDimCut, fZMidCut, G4cout, G4Exception(), G4VSolid::GetName(), halfTolerance, JustWarning, message(), mm, norm, CLHEP::Hep3Vector::setZ(), CLHEP::Hep3Vector::unit(), CLHEP::Hep3Vector::x(), x, CLHEP::Hep3Vector::y(), y, CLHEP::Hep3Vector::z(), and z.
|
private |
Definition at line 177 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 177 of file G4Ellipsoid.hh
Referenced by CheckParameters(), GetCubicVolume(), and operator=().
|
private |
Definition at line 157 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 157 of file G4Ellipsoid.hh
Referenced by CheckParameters(), CreatePolyhedron(), GetCubicVolume(), GetSurfaceArea(), LateralSurfaceArea(), and operator=().
|
private |
Definition at line 158 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 158 of file G4Ellipsoid.hh
Referenced by CheckParameters(), CreatePolyhedron(), GetCubicVolume(), GetSurfaceArea(), LateralSurfaceArea(), and operator=().
|
private |
Definition at line 159 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 159 of file G4Ellipsoid.hh
Referenced by CheckParameters(), CreatePolyhedron(), GetCubicVolume(), GetSurfaceArea(), LateralSurfaceArea(), and operator=().
|
mutableprivate |
Definition at line 179 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 179 of file G4Ellipsoid.hh
Referenced by CheckParameters(), GetPointOnSurface(), and operator=().
|
mutableprivate |
Definition at line 181 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 181 of file G4Ellipsoid.hh
Referenced by GetPolyhedron(), operator=(), and ~G4Ellipsoid().
|
private |
Definition at line 174 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 174 of file G4Ellipsoid.hh
Referenced by CheckParameters(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 175 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 175 of file G4Ellipsoid.hh
Referenced by CheckParameters(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 168 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 168 of file G4Ellipsoid.hh
Referenced by ApproxSurfaceNormal(), CheckParameters(), DistanceToIn(), DistanceToOut(), and operator=().
Definition at line 180 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 180 of file G4Ellipsoid.hh
Referenced by GetPolyhedron(), and operator=().
|
private |
Definition at line 167 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 167 of file G4Ellipsoid.hh
Referenced by CheckParameters(), DistanceToIn(), and operator=().
|
private |
Definition at line 178 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 178 of file G4Ellipsoid.hh
Referenced by CheckParameters(), GetSurfaceArea(), and operator=().
|
private |
Definition at line 169 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 169 of file G4Ellipsoid.hh
Referenced by ApproxSurfaceNormal(), CheckParameters(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 170 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 170 of file G4Ellipsoid.hh
Referenced by ApproxSurfaceNormal(), CheckParameters(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 171 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 171 of file G4Ellipsoid.hh
Referenced by ApproxSurfaceNormal(), CheckParameters(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 165 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 165 of file G4Ellipsoid.hh
Referenced by BoundingLimits(), CheckParameters(), DistanceToIn(), GetExtent(), and operator=().
|
private |
Definition at line 166 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 166 of file G4Ellipsoid.hh
Referenced by BoundingLimits(), CheckParameters(), DistanceToIn(), GetExtent(), and operator=().
|
private |
Definition at line 160 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 160 of file G4Ellipsoid.hh
Referenced by BoundingLimits(), CheckParameters(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetCubicVolume(), GetExtent(), GetSurfaceArea(), LateralSurfaceArea(), and operator=().
|
private |
Definition at line 173 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 173 of file G4Ellipsoid.hh
Referenced by ApproxSurfaceNormal(), CheckParameters(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 172 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 172 of file G4Ellipsoid.hh
Referenced by ApproxSurfaceNormal(), CheckParameters(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 161 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 161 of file G4Ellipsoid.hh
Referenced by BoundingLimits(), CheckParameters(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetCubicVolume(), GetExtent(), GetSurfaceArea(), LateralSurfaceArea(), and operator=().
|
private |
Definition at line 164 of file G4Ellipsoid.hh.
View newest version in sPHENIX GitHub at line 164 of file G4Ellipsoid.hh
Referenced by CheckParameters(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().