![]() |
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/G4Box.hh>
Inheritance diagram for G4Box:
Collaboration diagram for G4Box:Private Member Functions | |
| G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
Private Attributes | |
| G4double | fDx = 0.0 |
| G4double | fDy = 0.0 |
| G4double | fDz = 0.0 |
| G4double | delta |
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 55 of file G4Box.hh.
View newest version in sPHENIX GitHub at line 55 of file G4Box.hh
Definition at line 52 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 52 of file G4Box.cc
References delta, FatalException, G4endl, G4Exception(), G4VSolid::GetName(), G4VSolid::kCarTolerance, and message().
Referenced by Clone().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
| G4Box::G4Box | ( | __void__ & | a | ) |
| G4Box::G4Box | ( | const G4Box & | rhs | ) |
|
private |
Definition at line 305 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 305 of file G4Box.cc
References kdfinder::abs(), fDx, fDy, fDz, 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 207 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 207 of file G4Box.cc
References G4VSolid::DumpInfo(), fDx, fDy, fDz, G4Exception(), G4VSolid::GetName(), JustWarning, message(), pMax, CLHEP::Hep3Vector::set(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), 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 230 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 230 of file G4Box.cc
References BoundingLimits(), and G4BoundingEnvelope::CalculateExtent().
Here is the call graph for this function:
|
virtual |
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 544 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 544 of file G4Box.cc
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and StandaloneVisAction::Draw().
Here is the caller graph for this function:
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 325 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 325 of file G4Box.cc
References kdfinder::abs(), DBL_MAX, delta, dx, dy, dz, fDx, fDy, fDz, kInfinity, max, min, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4Voxelizer::DistanceToFirst().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 362 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 362 of file G4Box.cc
References kdfinder::abs(), fDx, fDy, fDz, 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 376 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 376 of file G4Box.cc
References kdfinder::abs(), DBL_MAX, delta, fDx, fDy, fDz, min, CLHEP::Hep3Vector::set(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Here is the call graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 441 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 441 of file G4Box.cc
References kdfinder::abs(), G4VSolid::DumpInfo(), fDx, fDy, fDz, G4cout, G4endl, G4Exception(), G4VSolid::GetName(), Inside(), JustWarning, kOutside, message(), min, mm, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Here is the call graph for this function:
|
virtual |
|
virtual |
|
virtual |
|
inline |
Referenced by G4XXXFileSceneHandler::AddSolid(), G4XXXStoredSceneHandler::AddSolid(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4XXXSGSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GDMLWriteParamvol::Box_dimensionsWrite(), PHG4GDMLWriteParamvol::Box_dimensionsWrite(), PHG4GDMLWriteSolids::BoxWrite(), G4GDMLWriteSolids::BoxWrite(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), G4ParameterisationBoxX::ComputeTransformation(), GB06ParallelWorldForSlices::Construct(), DicomRegularDetectorConstruction::ConstructPhantom(), export_G4Box(), G4ParameterisationBoxX::G4ParameterisationBoxX(), B1PrimaryGeneratorAction::GeneratePrimaries(), Dicom2PrimaryGeneratorAction::GeneratePrimaries(), G4ParameterisationBoxX::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), G4STRead::Read(), and CexmcSetup::ReadCalorimeterGeometryData().
Here is the caller graph for this function:
|
inline |
Referenced by G4XXXFileSceneHandler::AddSolid(), G4XXXStoredSceneHandler::AddSolid(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4XXXSGSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GDMLWriteParamvol::Box_dimensionsWrite(), PHG4GDMLWriteParamvol::Box_dimensionsWrite(), PHG4GDMLWriteSolids::BoxWrite(), G4GDMLWriteSolids::BoxWrite(), G4ParameterisationBoxX::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), G4ParameterisationBoxY::ComputeTransformation(), GB06ParallelWorldForSlices::Construct(), DicomRegularDetectorConstruction::ConstructPhantom(), export_G4Box(), G4ParameterisationBoxY::G4ParameterisationBoxY(), Dicom2PrimaryGeneratorAction::GeneratePrimaries(), G4ParameterisationBoxY::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), G4STRead::Read(), and CexmcSetup::ReadCalorimeterGeometryData().
Here is the caller graph for this function:
|
inline |
Referenced by G4XXXFileSceneHandler::AddSolid(), G4XXXStoredSceneHandler::AddSolid(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4XXXSGSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GDMLWriteParamvol::Box_dimensionsWrite(), PHG4GDMLWriteParamvol::Box_dimensionsWrite(), PHG4GDMLWriteSolids::BoxWrite(), G4GDMLWriteSolids::BoxWrite(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationBoxX::ComputeDimensions(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeTransformation(), GB06ParallelWorldForSlices::Construct(), DicomRegularDetectorConstruction::ConstructPhantom(), DNAParser::CreateCutSolid(), export_G4Box(), G4ParameterisationBoxZ::G4ParameterisationBoxZ(), B4PrimaryGeneratorAction::GeneratePrimaries(), B2PrimaryGeneratorAction::GeneratePrimaries(), B1PrimaryGeneratorAction::GeneratePrimaries(), Dicom2PrimaryGeneratorAction::GeneratePrimaries(), G4ParameterisationBoxZ::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), G4STRead::Read(), CexmcSetup::ReadCalorimeterGeometryData(), and CML2Acc2::target().
Here is the caller graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 249 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 249 of file G4Box.cc
References kdfinder::abs(), delta, fDx, fDy, fDz, 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:Definition at line 125 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 125 of file G4Box.cc
References dx, FatalException, G4CSGSolid::fCubicVolume, fDx, G4CSGSolid::fRebuildPolyhedron, G4CSGSolid::fSurfaceArea, G4endl, G4Exception(), G4VSolid::GetName(), G4VSolid::kCarTolerance, and message().
Referenced by G4Voxelizer::BuildBoundingBox(), DetectorConstruction::ChangeGeometry(), VoxelParam::ComputeDimensions(), ExN02ChamberParameterisation::ComputeDimensions(), ExP01ChamberParameterisation::ComputeDimensions(), G4ParameterisationBoxX::ComputeDimensions(), G02ChamberParameterisation::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), DicomNestedPhantomParameterisation::ComputeDimensions(), RE02NestedPhantomParameterisation::ComputeDimensions(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), export_G4Box(), G4STRead::Read(), and HadrontherapyDetectorROGeometry::UpdateROGeometry().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 149 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 149 of file G4Box.cc
References dy, FatalException, G4CSGSolid::fCubicVolume, fDy, G4CSGSolid::fRebuildPolyhedron, G4CSGSolid::fSurfaceArea, G4Exception(), G4VSolid::GetName(), G4VSolid::kCarTolerance, and message().
Referenced by G4Voxelizer::BuildBoundingBox(), DetectorConstruction::ChangeGeometry(), VoxelParam::ComputeDimensions(), ExN02ChamberParameterisation::ComputeDimensions(), ExP01ChamberParameterisation::ComputeDimensions(), G4ParameterisationBoxX::ComputeDimensions(), G02ChamberParameterisation::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), DicomNestedPhantomParameterisation::ComputeDimensions(), RE02NestedPhantomParameterisation::ComputeDimensions(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), export_G4Box(), G4STRead::Read(), and HadrontherapyDetectorROGeometry::UpdateROGeometry().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 172 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 172 of file G4Box.cc
References dz, FatalException, G4CSGSolid::fCubicVolume, fDz, G4CSGSolid::fRebuildPolyhedron, G4CSGSolid::fSurfaceArea, G4Exception(), G4VSolid::GetName(), G4VSolid::kCarTolerance, and message().
Referenced by G4Voxelizer::BuildBoundingBox(), DetectorConstruction::ChangeGeometry(), VoxelParam::ComputeDimensions(), ExN02ChamberParameterisation::ComputeDimensions(), ExP01ChamberParameterisation::ComputeDimensions(), G4ParameterisationBoxX::ComputeDimensions(), G02ChamberParameterisation::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), DicomNestedPhantomParameterisation::ComputeDimensions(), RE02NestedPhantomParameterisation::ComputeDimensions(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), EICG4RPDetector::ConstructMe(), export_G4Box(), G4STRead::Read(), GB03DetectorConstruction::SetNumberOfLayers(), RE06DetectorConstruction::SetNumberOfLayers(), and HadrontherapyDetectorROGeometry::UpdateROGeometry().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from G4CSGSolid.
Definition at line 478 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 478 of file G4Box.cc
References fDx, fDy, fDz, G4VSolid::GetName(), and mm.
Here is the call graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 263 of file G4Box.cc.
View newest version in sPHENIX GitHub at line 263 of file G4Box.cc
References kdfinder::abs(), ApproxSurfaceNormal(), delta, G4VSolid::DumpInfo(), fDx, fDy, fDz, G4cout, G4endl, G4Exception(), G4VSolid::GetName(), JustWarning, CLHEP::Hep3Vector::mag2(), message(), mm, norm, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), CLHEP::Hep3Vector::unit(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Here is the call graph for this function:
|
private |
Definition at line 133 of file G4Box.hh.
View newest version in sPHENIX GitHub at line 133 of file G4Box.hh
Referenced by DistanceToIn(), DistanceToOut(), G4Box(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 132 of file G4Box.hh.
View newest version in sPHENIX GitHub at line 132 of file G4Box.hh
Referenced by ApproxSurfaceNormal(), BoundingLimits(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetExtent(), GetPointOnSurface(), Inside(), operator=(), SetXHalfLength(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 132 of file G4Box.hh.
View newest version in sPHENIX GitHub at line 132 of file G4Box.hh
Referenced by ApproxSurfaceNormal(), BoundingLimits(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetExtent(), GetPointOnSurface(), Inside(), operator=(), SetYHalfLength(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 132 of file G4Box.hh.
View newest version in sPHENIX GitHub at line 132 of file G4Box.hh
Referenced by ApproxSurfaceNormal(), BoundingLimits(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetExtent(), GetPointOnSurface(), Inside(), operator=(), SetZHalfLength(), StreamInfo(), and SurfaceNormal().