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/G4Tet.hh>
Private Member Functions | |
void | Initialize (const G4ThreeVector &p0, const G4ThreeVector &p1, const G4ThreeVector &p2, const G4ThreeVector &p3) |
G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
Private Attributes | |
G4double | halfTolerance = 0 |
G4double | fCubicVolume = 0 |
G4double | fSurfaceArea = 0 |
G4bool | fRebuildPolyhedron = false |
G4Polyhedron * | fpPolyhedron = nullptr |
G4ThreeVector | fVertex [4] |
G4ThreeVector | fNormal [4] |
G4double | fDist [4] = {0} |
G4double | fArea [4] = {0} |
G4ThreeVector | fBmin |
G4ThreeVector | fBmax |
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 55 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 55 of file G4Tet.hh
G4Tet::G4Tet | ( | const G4String & | pName, |
const G4ThreeVector & | anchor, | ||
const G4ThreeVector & | p1, | ||
const G4ThreeVector & | p2, | ||
const G4ThreeVector & | p3, | ||
G4bool * | degeneracyFlag = nullptr |
||
) |
Definition at line 66 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 66 of file G4Tet.cc
References kdfinder::abs(), CheckDegeneracy(), Acts::VectorHelpers::cross(), FatalException, G4Exception(), G4VSolid::GetName(), halfTolerance, Initialize(), G4VSolid::kCarTolerance, and message().
Referenced by Clone().
|
virtual |
Definition at line 113 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 113 of file G4Tet.cc
References fpPolyhedron.
G4Tet::G4Tet | ( | __void__ & | a | ) |
G4Tet::G4Tet | ( | const G4Tet & | rhs | ) |
Definition at line 122 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 122 of file G4Tet.cc
References fArea, fBmax, fBmin, fCubicVolume, fDist, fNormal, fSurfaceArea, fVertex, and halfTolerance.
|
private |
Definition at line 430 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 430 of file G4Tet.cc
References d, DBL_MAX, CLHEP::Hep3Vector::dot(), fDist, and fNormal.
Referenced by SurfaceNormal().
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 329 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 329 of file G4Tet.cc
References G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), BoundingLimits(), G4BoundingEnvelope::CalculateExtent(), Acts::concept::exists, GetVertices(), pMax, x, y, and z.
G4bool G4Tet::CheckDegeneracy | ( | const G4ThreeVector & | p0, |
const G4ThreeVector & | p1, | ||
const G4ThreeVector & | p2, | ||
const G4ThreeVector & | p3 | ||
) | const |
Definition at line 173 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 173 of file G4Tet.cc
References kdfinder::abs(), Acts::VectorHelpers::cross(), k, and G4VSolid::kCarTolerance.
Referenced by G4Tet(), and SetVertices().
|
virtual |
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 646 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 646 of file G4Tet.cc
References HepPolyhedron::createPolyhedron(), CLHEP::Hep3Vector::cross(), CLHEP::Hep3Vector::dot(), fVertex, k2, v1, v2, and v3.
Referenced by G4ArrowModel::G4ArrowModel(), and GetPolyhedron().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 635 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 635 of file G4Tet.cc
References fBmax, fBmin, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 678 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 678 of file G4Tet.cc
References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, HepPolyhedron::GetNumberOfRotationSteps(), G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< _Mutex_t >::unlock().
|
virtual |
void G4Tet::GetVertices | ( | G4ThreeVector & | anchor, |
G4ThreeVector & | p1, | ||
G4ThreeVector & | p2, | ||
G4ThreeVector & | p3 | ||
) | const |
Definition at line 282 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 282 of file G4Tet.cc
References fVertex.
Referenced by PHG4GDMLWriteSolids::TetWrite(), and G4GDMLWriteSolids::TetWrite().
std::vector< G4ThreeVector > G4Tet::GetVertices | ( | ) | const |
|
private |
Definition at line 202 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 202 of file G4Tet.cc
References kdfinder::abs(), Acts::VectorHelpers::cross(), CLHEP::Hep3Vector::dot(), fArea, fBmax, fBmin, fCubicVolume, fDist, fNormal, fSurfaceArea, fVertex, CLHEP::Hep3Vector::mag(), max, min, norm, CLHEP::Hep3Vector::unit(), and Acts::Test::volume.
Referenced by G4Tet(), and SetVertices().
|
virtual |
Definition at line 140 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 140 of file G4Tet.cc
References fArea, fBmax, fBmin, fCubicVolume, fDist, fNormal, fpPolyhedron, fRebuildPolyhedron, fSurfaceArea, fVertex, halfTolerance, and G4VSolid::operator=().
void G4Tet::SetVertices | ( | const G4ThreeVector & | anchor, |
const G4ThreeVector & | p1, | ||
const G4ThreeVector & | p2, | ||
const G4ThreeVector & | p3 | ||
) |
Definition at line 250 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 250 of file G4Tet.cc
References kdfinder::abs(), CheckDegeneracy(), Acts::VectorHelpers::cross(), FatalException, fRebuildPolyhedron, G4Exception(), G4VSolid::GetName(), Initialize(), and message().
|
virtual |
Implements G4VSolid.
Definition at line 562 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 562 of file G4Tet.cc
References fVertex, GetEntityType(), G4VSolid::GetName(), and mm.
|
virtual |
Implements G4VSolid.
Definition at line 393 of file G4Tet.cc.
View newest version in sPHENIX GitHub at line 393 of file G4Tet.cc
References kdfinder::abs(), ApproxSurfaceNormal(), G4VSolid::DumpInfo(), fDist, fNormal, G4cout, G4Exception(), G4VSolid::GetName(), halfTolerance, JustWarning, k, message(), mm, norm, CLHEP::Hep3Vector::unit(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
private |
Definition at line 168 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 168 of file G4Tet.hh
Referenced by G4Tet(), GetPointOnSurface(), Initialize(), and operator=().
|
private |
Definition at line 169 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 169 of file G4Tet.hh
Referenced by BoundingLimits(), G4Tet(), GetExtent(), Initialize(), and operator=().
|
private |
Definition at line 169 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 169 of file G4Tet.hh
Referenced by BoundingLimits(), G4Tet(), GetExtent(), Initialize(), and operator=().
|
private |
Definition at line 160 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 160 of file G4Tet.hh
Referenced by G4Tet(), GetCubicVolume(), Initialize(), and operator=().
|
private |
Definition at line 167 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 167 of file G4Tet.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), G4Tet(), Initialize(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 166 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 166 of file G4Tet.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), G4Tet(), Initialize(), Inside(), operator=(), and SurfaceNormal().
|
mutableprivate |
Definition at line 163 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 163 of file G4Tet.hh
Referenced by GetPolyhedron(), operator=(), and ~G4Tet().
Definition at line 162 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 162 of file G4Tet.hh
Referenced by GetPolyhedron(), operator=(), and SetVertices().
|
private |
Definition at line 161 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 161 of file G4Tet.hh
Referenced by G4Tet(), GetPointOnSurface(), GetSurfaceArea(), Initialize(), and operator=().
|
private |
Definition at line 165 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 165 of file G4Tet.hh
Referenced by CreatePolyhedron(), G4Tet(), GetPointOnSurface(), GetVertices(), Initialize(), operator=(), and StreamInfo().
|
private |
Definition at line 159 of file G4Tet.hh.
View newest version in sPHENIX GitHub at line 159 of file G4Tet.hh
Referenced by DistanceToIn(), DistanceToOut(), G4Tet(), Inside(), operator=(), and SurfaceNormal().