ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/solids/CSG/include/G4Cons.hh>
Private Types | |
enum | ESide { kNull, kRMin, kRMax, kSPhi, kEPhi, kPZ, kMZ } |
enum | ENorm { kNRMin, kNRMax, kNSPhi, kNEPhi, kNZ } |
Private Member Functions | |
void | Initialize () |
void | CheckSPhiAngle (G4double sPhi) |
void | CheckDPhiAngle (G4double dPhi) |
void | CheckPhiAngles (G4double sPhi, G4double dPhi) |
void | InitializeTrigonometry () |
G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
Additional Inherited Members | |
Protected Member Functions inherited from G4CSGSolid | |
G4double | GetRadiusInRing (G4double rmin, G4double rmax) const |
Protected Attributes inherited from G4CSGSolid | |
G4double | fCubicVolume = 0.0 |
G4double | fSurfaceArea = 0.0 |
G4bool | fRebuildPolyhedron = false |
G4Polyhedron * | fpPolyhedron = nullptr |
Definition at line 77 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 77 of file G4Cons.hh
|
private |
|
private |
G4Cons::G4Cons | ( | const G4String & | pName, |
G4double | pRmin1, | ||
G4double | pRmax1, | ||
G4double | pRmin2, | ||
G4double | pRmax2, | ||
G4double | pDz, | ||
G4double | pSPhi, | ||
G4double | pDPhi | ||
) |
Definition at line 72 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 72 of file G4Cons.cc
References CheckPhiAngles(), e3, FatalException, fRmin1, fRmin2, G4endl, G4Exception(), G4GeometryTolerance::GetAngularTolerance(), G4GeometryTolerance::GetInstance(), G4VSolid::GetName(), G4GeometryTolerance::GetRadialTolerance(), halfAngTolerance, halfCarTolerance, halfRadTolerance, kAngTolerance, G4VSolid::kCarTolerance, kRadTolerance, and message().
Referenced by Clone().
G4Cons::~G4Cons | ( | ) |
G4Cons::G4Cons | ( | __void__ & | a | ) |
G4Cons::G4Cons | ( | const G4Cons & | rhs | ) |
|
private |
Definition at line 523 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 523 of file G4Cons.cc
References cosEPhi, cosSPhi, G4VSolid::DumpInfo(), fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, G4Exception(), JustWarning, kNEPhi, kNRMax, kNRMin, kNSPhi, kNZ, norm, phi, sinEPhi, sinSPhi, twopi, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by SurfaceNormal().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 261 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 261 of file G4Cons.cc
References G4GeomTools::DiskExtent(), G4VSolid::DumpInfo(), dz, G4Exception(), GetCosEndPhi(), GetCosStartPhi(), GetDeltaPhiAngle(), GetInnerRadiusMinusZ(), GetInnerRadiusPlusZ(), G4VSolid::GetName(), GetOuterRadiusMinusZ(), GetOuterRadiusPlusZ(), GetSinEndPhi(), GetSinStartPhi(), GetZHalfLength(), JustWarning, max, message(), min, pMax, rmax(), CLHEP::Hep3Vector::set(), twopi, CLHEP::Hep2Vector::x(), CLHEP::Hep3Vector::x(), CLHEP::Hep2Vector::y(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Definition at line 304 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 304 of file G4Cons.cc
References G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), BoundingLimits(), G4BoundingEnvelope::CalculateExtent(), deg, dz, GetCosEndPhi(), GetCosStartPhi(), GetDeltaPhiAngle(), GetInnerRadiusMinusZ(), GetInnerRadiusPlusZ(), GetOuterRadiusMinusZ(), GetOuterRadiusPlusZ(), GetSinEndPhi(), GetSinStartPhi(), GetZHalfLength(), k, pMax, and twopi.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 661 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 661 of file G4Cons.cc
References b, c, cosCPhi, cosEPhi, cosHDPhiIT, cosHDPhiOT, cosSPhi, d, CLHEP::Hep3Vector::dot(), fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, halfCarTolerance, halfRadTolerance, kInfinity, kRadTolerance, sinCPhi, sinEPhi, sinSPhi, t1, t2, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 1331 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 1331 of file G4Cons.cc
References cosCPhi, cosEPhi, cosHDPhi, cosSPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, sinCPhi, sinEPhi, sinSPhi, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 1393 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 1393 of file G4Cons.cc
References b, c, cosCPhi, cosEPhi, cosSPhi, d, degree, CLHEP::Hep3Vector::dot(), G4VSolid::DumpInfo(), false, fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, G4cout, G4endl, G4Exception(), halfAngTolerance, halfCarTolerance, halfRadTolerance, JustWarning, G4VSolid::kCarTolerance, kEPhi, kInfinity, kMZ, kNull, kPZ, kRadTolerance, kRMax, kRMin, kSPhi, message(), mm, pi, sinCPhi, sinEPhi, sinSPhi, t1, t2, true, twopi, CLHEP::Hep3Vector::unit(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 2016 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 2016 of file G4Cons.cc
References cosCPhi, cosEPhi, cosSPhi, degree, G4VSolid::DumpInfo(), fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, G4cout, G4endl, G4Exception(), Inside(), JustWarning, kInfinity, kOutside, mm, sinCPhi, sinEPhi, sinSPhi, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
inline |
|
inline |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteSolids::ConeWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4ParameterisationConsPhi::G4ParameterisationConsPhi(), G4VParameterisationCons::G4VParameterisationCons(), G4ParameterisationConsPhi::GetMaxParameter(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
|
inline |
|
virtual |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteSolids::ConeWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4VParameterisationCons::G4VParameterisationCons(), G4ParameterisationConsRho::GetMaxParameter(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteSolids::ConeWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4VParameterisationCons::G4VParameterisationCons(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteSolids::ConeWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4VParameterisationCons::G4VParameterisationCons(), G4ParameterisationConsRho::GetMaxParameter(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteSolids::ConeWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4VParameterisationCons::G4VParameterisationCons(), and G4tgbGeometryDumper::GetSolidParams().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 2139 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 2139 of file G4Cons.cc
References cosEPhi, cosSPhi, fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, G4CSGSolid::GetRadiusInRing(), phi, G4INCL::DeJongSpin::shoot(), sinEPhi, and sinSPhi.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by G4tgbVolume::BuildSolidForDivision(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteSolids::ConeWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4VParameterisationCons::G4VParameterisationCons(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4ParameterisationConsZ::ComputeTransformation(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteSolids::ConeWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4ParameterisationConsZ::G4ParameterisationConsZ(), G4VParameterisationCons::G4VParameterisationCons(), G4ParameterisationConsZ::GetMaxParameter(), and G4tgbGeometryDumper::GetSolidParams().
|
inlineprivate |
|
inlineprivate |
|
virtual |
Implements G4VSolid.
Definition at line 195 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 195 of file G4Cons.cc
References fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, in, kInside, kOutside, kSurface, r2, twopi, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by DistanceToOut().
Definition at line 162 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 162 of file G4Cons.cc
References cosCPhi, cosEPhi, cosHDPhi, cosHDPhiIT, cosHDPhiOT, cosSPhi, fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, kAngTolerance, kRadTolerance, G4CSGSolid::operator=(), sinCPhi, sinEPhi, and sinSPhi.
Referenced by G4ParameterisationConsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), and export_G4Cons().
Referenced by UltraFresnelLensParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), export_G4Cons(), and GammaKnifeDetectorConstruction::UpdateHelmet().
Referenced by UltraFresnelLensParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), export_G4Cons(), and GammaKnifeDetectorConstruction::UpdateHelmet().
Referenced by UltraFresnelLensParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), and export_G4Cons().
Referenced by UltraFresnelLensParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), and export_G4Cons().
Referenced by G4ParameterisationConsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), and export_G4Cons().
Referenced by UltraFresnelLensParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), and export_G4Cons().
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 419 of file G4Cons.cc.
View newest version in sPHENIX GitHub at line 419 of file G4Cons.cc
References ApproxSurfaceNormal(), cosEPhi, cosSPhi, fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, G4Exception(), halfAngTolerance, halfCarTolerance, JustWarning, kInfinity, norm, sinEPhi, sinSPhi, twopi, CLHEP::Hep3Vector::unit(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
private |
Definition at line 221 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 221 of file G4Cons.hh
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 221 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 221 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 221 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 221 of file G4Cons.hh
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 221 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 221 of file G4Cons.hh
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 221 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 221 of file G4Cons.hh
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 221 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 221 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 217 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 217 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 217 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 217 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
Definition at line 226 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 226 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 217 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 217 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 217 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 217 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 217 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 217 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), G4Cons(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 217 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 217 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), G4Cons(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 217 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 217 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 230 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 230 of file G4Cons.hh
Referenced by DistanceToOut(), G4Cons(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 230 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 230 of file G4Cons.hh
Referenced by DistanceToIn(), DistanceToOut(), G4Cons(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 230 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 230 of file G4Cons.hh
Referenced by DistanceToIn(), DistanceToOut(), G4Cons(), Inside(), and operator=().
|
private |
|
private |
Definition at line 213 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 213 of file G4Cons.hh
Referenced by DistanceToIn(), DistanceToOut(), G4Cons(), and operator=().
|
private |
Definition at line 221 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 221 of file G4Cons.hh
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 221 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 221 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 221 of file G4Cons.hh.
View newest version in sPHENIX GitHub at line 221 of file G4Cons.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().