![]() |
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/G4Trd.hh>
Inheritance diagram for G4Trd:
Collaboration diagram for G4Trd:Private Member Functions | |
| void | CheckParameters () |
| void | MakePlanes () |
| G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
Private Attributes | |
| G4double | halfCarTolerance |
| G4double | fDx1 |
| G4double | fDx2 |
| G4double | fDy1 |
| G4double | fDy2 |
| G4double | fDz |
| struct { | |
| G4double a | |
| G4double b | |
| G4double c | |
| G4double d | |
| } | fPlanes [4] |
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 62 of file G4Trd.hh.
View newest version in sPHENIX GitHub at line 62 of file G4Trd.hh
| G4Trd::G4Trd | ( | const G4String & | pName, |
| G4double | pdx1, | ||
| G4double | pdx2, | ||
| G4double | pdy1, | ||
| G4double | pdy2, | ||
| G4double | pdz | ||
| ) |
Definition at line 54 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 54 of file G4Trd.cc
References CheckParameters(), and MakePlanes().
Referenced by Clone().
Here is the call graph for this function:
Here is the caller graph for this function:| G4Trd::~G4Trd | ( | ) |
| G4Trd::G4Trd | ( | __void__ & | a | ) |
Definition at line 70 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 70 of file G4Trd.cc
References MakePlanes().
Here is the call graph for this function:| G4Trd::G4Trd | ( | const G4Trd & | rhs | ) |
|
private |
Definition at line 428 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 428 of file G4Trd.cc
References a, kdfinder::abs(), b, c, d, DBL_MAX, fDz, fPlanes, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by SurfaceNormal().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from G4VSolid.
Definition at line 248 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 248 of file G4Trd.cc
References G4VSolid::DumpInfo(), dz, G4Exception(), G4VSolid::GetName(), GetXHalfLength1(), GetXHalfLength2(), GetYHalfLength1(), GetYHalfLength2(), GetZHalfLength(), JustWarning, max, message(), pMax, CLHEP::Hep3Vector::set(), CLHEP::Hep3Vector::x(), xmax, CLHEP::Hep3Vector::y(), ymax, and CLHEP::Hep3Vector::z().
Referenced by CalculateExtent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 279 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 279 of file G4Trd.cc
References G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), BoundingLimits(), G4BoundingEnvelope::CalculateExtent(), dz, GetXHalfLength1(), GetXHalfLength2(), GetYHalfLength1(), GetYHalfLength2(), GetZHalfLength(), and pMax.
Here is the call graph for this function:
|
private |
Definition at line 147 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 147 of file G4Trd.cc
References FatalException, fDx1, fDx2, fDy1, fDy2, fDz, G4Exception(), G4VSolid::GetName(), G4VSolid::kCarTolerance, and message().
Referenced by G4Trd(), and SetAllParameters().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 452 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 452 of file G4Trd.cc
References kdfinder::abs(), DBL_MAX, dz, fDz, fPlanes, halfCarTolerance, kInfinity, tmp, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Here is the call graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 545 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 545 of file G4Trd.cc
References kdfinder::abs(), c, dx, dy, dz, fDz, fPlanes, max, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Here is the call graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 563 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 563 of file G4Trd.cc
References a, kdfinder::abs(), b, c, DBL_MAX, fDz, fPlanes, halfCarTolerance, CLHEP::Hep3Vector::set(), tmp, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Here is the call graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 645 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 645 of file G4Trd.cc
References kdfinder::abs(), c, G4VSolid::DumpInfo(), dx, dy, dz, fDz, fPlanes, G4cout, G4endl, G4Exception(), G4VSolid::GetName(), Inside(), JustWarning, kOutside, max, message(), mm, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Here is the call graph for this function:
|
virtual |
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 718 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 718 of file G4Trd.cc
References fDx1, fDx2, fDy1, fDy2, fDz, G4UniformRand, k, CLHEP::Hep3Vector::mag(), pt, s1, CLHEP::Hep3Vector::set(), G4GeomTools::TriangleAreaNormal(), Acts::UnitConstants::u, and v.
Here is the call graph for this function:
|
virtual |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdX::ComputeTransformation(), export_G4Trd(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdX::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteSolids::TrdWrite(), and G4GDMLWriteSolids::TrdWrite().
Here is the caller graph for this function:
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdX::ComputeTransformation(), export_G4Trd(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdX::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteSolids::TrdWrite(), and G4GDMLWriteSolids::TrdWrite().
Here is the caller graph for this function:
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTrdY::CheckParametersValidity(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdY::ComputeTransformation(), export_G4Trd(), G4ParameterisationTrdY::G4ParameterisationTrdY(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdY::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteSolids::TrdWrite(), and G4GDMLWriteSolids::TrdWrite().
Here is the caller graph for this function:
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTrdY::CheckParametersValidity(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), export_G4Trd(), G4VParameterisationTrd::G4VParameterisationTrd(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteSolids::TrdWrite(), and G4GDMLWriteSolids::TrdWrite().
Here is the caller graph for this function:
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdZ::ComputeTransformation(), export_G4Trd(), G4ParameterisationTrdZ::G4ParameterisationTrdZ(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdZ::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteSolids::TrdWrite(), and G4GDMLWriteSolids::TrdWrite().
Here is the caller graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 330 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 330 of file G4Trd.cc
References kdfinder::abs(), c, dx, dy, dz, fDz, fPlanes, halfCarTolerance, kInside, kOutside, kSurface, max, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by DistanceToOut().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| void G4Trd::SetAllParameters | ( | G4double | pdx1, |
| G4double | pdx2, | ||
| G4double | pdy1, | ||
| G4double | pdy2, | ||
| G4double | pdz | ||
| ) |
Definition at line 126 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 126 of file G4Trd.cc
References CheckParameters(), G4CSGSolid::fCubicVolume, fDx1, fDx2, fDy1, fDy2, fDz, G4CSGSolid::fRebuildPolyhedron, G4CSGSolid::fSurfaceArea, and MakePlanes().
Referenced by G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), and G4ParameterisationTrdZ::ComputeDimensions().
Here is the call graph for this function:
Here is the caller graph for this function:Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Trd().
Here is the caller graph for this function:Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Trd().
Here is the caller graph for this function:Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Trd().
Here is the caller graph for this function:Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Trd().
Here is the caller graph for this function:Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Trd().
Here is the caller graph for this function:
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 347 of file G4Trd.cc.
View newest version in sPHENIX GitHub at line 347 of file G4Trd.cc
References kdfinder::abs(), ApproxSurfaceNormal(), G4VSolid::DumpInfo(), dz, fDz, fPlanes, G4cout, G4endl, G4Exception(), G4VSolid::GetName(), halfCarTolerance, JustWarning, message(), mm, CLHEP::Hep3Vector::unit(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Here is the call graph for this function:| G4double G4Trd::a |
Definition at line 170 of file G4Trd.hh.
View newest version in sPHENIX GitHub at line 170 of file G4Trd.hh
Referenced by ApproxSurfaceNormal(), and DistanceToOut().
| G4double G4Trd::b |
Definition at line 170 of file G4Trd.hh.
View newest version in sPHENIX GitHub at line 170 of file G4Trd.hh
Referenced by ApproxSurfaceNormal(), and DistanceToOut().
| G4double G4Trd::c |
Definition at line 170 of file G4Trd.hh.
View newest version in sPHENIX GitHub at line 170 of file G4Trd.hh
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), and Inside().
| G4double G4Trd::d |
Definition at line 170 of file G4Trd.hh.
View newest version in sPHENIX GitHub at line 170 of file G4Trd.hh
Referenced by ApproxSurfaceNormal().
|
private |
Definition at line 169 of file G4Trd.hh.
View newest version in sPHENIX GitHub at line 169 of file G4Trd.hh
Referenced by CheckParameters(), CreatePolyhedron(), GetCubicVolume(), GetPointOnSurface(), GetSurfaceArea(), MakePlanes(), operator=(), SetAllParameters(), and StreamInfo().
|
private |
Definition at line 169 of file G4Trd.hh.
View newest version in sPHENIX GitHub at line 169 of file G4Trd.hh
Referenced by CheckParameters(), CreatePolyhedron(), GetCubicVolume(), GetPointOnSurface(), GetSurfaceArea(), MakePlanes(), operator=(), SetAllParameters(), and StreamInfo().
|
private |
Definition at line 169 of file G4Trd.hh.
View newest version in sPHENIX GitHub at line 169 of file G4Trd.hh
Referenced by CheckParameters(), CreatePolyhedron(), GetCubicVolume(), GetPointOnSurface(), GetSurfaceArea(), MakePlanes(), operator=(), SetAllParameters(), and StreamInfo().
|
private |
Definition at line 169 of file G4Trd.hh.
View newest version in sPHENIX GitHub at line 169 of file G4Trd.hh
Referenced by CheckParameters(), CreatePolyhedron(), GetCubicVolume(), GetPointOnSurface(), GetSurfaceArea(), MakePlanes(), operator=(), SetAllParameters(), and StreamInfo().
|
private |
Definition at line 169 of file G4Trd.hh.
View newest version in sPHENIX GitHub at line 169 of file G4Trd.hh
Referenced by ApproxSurfaceNormal(), CheckParameters(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetCubicVolume(), GetPointOnSurface(), GetSurfaceArea(), Inside(), MakePlanes(), operator=(), SetAllParameters(), StreamInfo(), and SurfaceNormal().
| struct { ... } G4Trd::fPlanes[4] |
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), G4Trd(), Inside(), MakePlanes(), operator=(), and SurfaceNormal().
|
private |
Definition at line 168 of file G4Trd.hh.
View newest version in sPHENIX GitHub at line 168 of file G4Trd.hh
Referenced by DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().