Geant4.10
|
#include <G4tgbGeometryDumper.hh>
Public Member Functions | |
~G4tgbGeometryDumper () | |
void | DumpGeometry (const G4String &fname) |
G4VPhysicalVolume * | GetTopPhysVol () |
void | DumpPhysVol (G4VPhysicalVolume *pv) |
void | DumpPVPlacement (G4VPhysicalVolume *pv, const G4String &lvName, G4int copyNo=-999) |
void | DumpPVParameterised (G4PVParameterised *pv) |
void | DumpPVReplica (G4PVReplica *pv, const G4String &lvName) |
G4String | DumpLogVol (G4LogicalVolume *lv, G4String extraName="", G4VSolid *solid=0, G4Material *mate=0) |
G4String | DumpMaterial (G4Material *mat) |
void | DumpElement (G4Element *ele) |
void | DumpIsotope (G4Isotope *ele) |
G4String | DumpSolid (G4VSolid *solid, const G4String &extraName="") |
void | DumpBooleanVolume (const G4String &solidType, G4VSolid *so) |
void | DumpSolidParams (G4VSolid *so) |
std::vector< G4double > | GetSolidParams (const G4VSolid *so) |
void | DumpPolySections (G4int zPlanes, G4double *z, G4double *rmin, G4double *rmax) |
G4String | DumpRotationMatrix (G4RotationMatrix *rotm) |
Static Public Member Functions | |
static G4tgbGeometryDumper * | GetInstance () |
Definition at line 56 of file G4tgbGeometryDumper.hh.
G4tgbGeometryDumper::~G4tgbGeometryDumper | ( | ) |
Definition at line 136 of file G4tgbGeometryDumper.cc.
Definition at line 700 of file G4tgbGeometryDumper.cc.
References DumpRotationMatrix(), DumpSolid(), G4endl, G4DisplacedSolid::GetConstituentMovedSolid(), G4BooleanSolid::GetConstituentSolid(), G4DisplacedSolid::GetObjectTranslation(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by DumpSolid().
Definition at line 580 of file G4tgbGeometryDumper.cc.
References DumpIsotope(), g(), G4endl, G4Element::GetA(), G4Element::GetIsotopeVector(), G4Element::GetNumberOfIsotopes(), G4Element::GetRelativeAbundanceVector(), G4Element::GetSymbol(), G4Element::GetZ(), python.hepunit::mole, and symbol.
Referenced by DumpMaterial().
Definition at line 101 of file G4tgbGeometryDumper.cc.
References DumpPhysVol(), and GetTopPhysVol().
Referenced by ExTGRunAction::BeginOfRunAction().
Definition at line 628 of file G4tgbGeometryDumper.cc.
References g(), G4endl, G4Isotope::GetA(), G4Isotope::GetN(), G4Isotope::GetZ(), and python.hepunit::mole.
Referenced by DumpElement().
G4String G4tgbGeometryDumper::DumpLogVol | ( | G4LogicalVolume * | lv, |
G4String | extraName = "" , |
||
G4VSolid * | solid = 0 , |
||
G4Material * | mate = 0 |
||
) |
Definition at line 462 of file G4tgbGeometryDumper.cc.
References DumpMaterial(), DumpSolid(), G4endl, G4LogicalVolume::GetMaterial(), G4LogicalVolume::GetName(), and G4LogicalVolume::GetSolid().
Referenced by DumpPhysVol(), and DumpPVParameterised().
G4String G4tgbGeometryDumper::DumpMaterial | ( | G4Material * | mat | ) |
Definition at line 502 of file G4tgbGeometryDumper.cc.
References python.hepunit::atmosphere, python.hepunit::cm3, density, DumpElement(), python.hepunit::eV, g(), G4endl, G4Material::GetA(), G4Material::GetDensity(), G4Material::GetElementVector(), G4Material::GetFractionVector(), G4Material::GetIonisation(), G4IonisParamMat::GetMeanExcitationEnergy(), G4Material::GetNumberOfElements(), G4Material::GetPressure(), G4Material::GetState(), G4Material::GetTemperature(), G4Material::GetZ(), python.hepunit::kelvin, kStateGas, kStateLiquid, kStateSolid, kStateUndefined, and python.hepunit::mole.
Referenced by DumpLogVol().
void G4tgbGeometryDumper::DumpPhysVol | ( | G4VPhysicalVolume * | pv | ) |
Definition at line 141 of file G4tgbGeometryDumper.cc.
References DumpLogVol(), DumpPVParameterised(), DumpPVPlacement(), DumpPVReplica(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetMotherLogical(), G4LogicalVolume::GetName(), G4ReflectionFactory::Instance(), G4VPhysicalVolume::IsParameterised(), G4ReflectionFactory::IsReflected(), and G4VPhysicalVolume::IsReplicated().
Referenced by DumpGeometry().
void G4tgbGeometryDumper::DumpPolySections | ( | G4int | zPlanes, |
G4double * | z, | ||
G4double * | rmin, | ||
G4double * | rmax | ||
) |
void G4tgbGeometryDumper::DumpPVParameterised | ( | G4PVParameterised * | pv | ) |
Definition at line 269 of file G4tgbGeometryDumper.cc.
References G4VPVParameterisation::ComputeDimensions(), G4VPVParameterisation::ComputeMaterial(), G4VPVParameterisation::ComputeSolid(), G4VPVParameterisation::ComputeTransformation(), G4UIcommand::ConvertToString(), DumpLogVol(), DumpPVPlacement(), G4VSolid::GetEntityType(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetMotherLogical(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetName(), G4PVParameterised::GetParameterisation(), G4PVParameterised::GetReplicationData(), GetSolidParams(), and width.
Referenced by DumpPhysVol().
void G4tgbGeometryDumper::DumpPVPlacement | ( | G4VPhysicalVolume * | pv, |
const G4String & | lvName, | ||
G4int | copyNo = -999 |
||
) |
Definition at line 207 of file G4tgbGeometryDumper.cc.
References CLHEP::HepRotation::colX(), CLHEP::HepRotation::colY(), CLHEP::HepRotation::colZ(), G4UIcommand::ConvertToString(), DumpRotationMatrix(), G4cout, G4endl, G4VPhysicalVolume::GetCopyNo(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetMotherLogical(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetName(), G4VPhysicalVolume::GetRotation(), G4VPhysicalVolume::GetTranslation(), G4tgrMessenger::GetVerboseLevel(), G4ReflectionFactory::Instance(), G4ReflectionFactory::IsReflected(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by DumpPhysVol(), and DumpPVParameterised().
void G4tgbGeometryDumper::DumpPVReplica | ( | G4PVReplica * | pv, |
const G4String & | lvName | ||
) |
Definition at line 395 of file G4tgbGeometryDumper.cc.
References python.hepunit::deg, FatalException, G4endl, G4Exception(), G4VPhysicalVolume::GetMotherLogical(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetName(), G4PVReplica::GetReplicationData(), kPhi, kRadial3D, kRho, kUndefined, kXAxis, kYAxis, kZAxis, and width.
Referenced by DumpPhysVol().
G4String G4tgbGeometryDumper::DumpRotationMatrix | ( | G4RotationMatrix * | rotm | ) |
Definition at line 1012 of file G4tgbGeometryDumper.cc.
References G4UIcommand::ConvertToString(), python.hepunit::deg, G4endl, CLHEP::HepRotation::phiX(), CLHEP::HepRotation::phiY(), CLHEP::HepRotation::phiZ(), CLHEP::HepRotation::thetaX(), CLHEP::HepRotation::thetaY(), CLHEP::HepRotation::thetaZ(), test::v, CLHEP::HepRotation::xx(), CLHEP::HepRotation::xy(), CLHEP::HepRotation::xz(), CLHEP::HepRotation::yx(), CLHEP::HepRotation::yy(), CLHEP::HepRotation::yz(), CLHEP::HepRotation::zx(), CLHEP::HepRotation::zy(), and CLHEP::HepRotation::zz().
Referenced by DumpBooleanVolume(), and DumpPVPlacement().
Definition at line 645 of file G4tgbGeometryDumper.cc.
References DumpBooleanVolume(), DumpSolidParams(), FatalException, G4Exception(), G4ReflectedSolid::GetConstituentMovedSolid(), G4VSolid::GetEntityType(), and G4VSolid::GetName().
Referenced by DumpBooleanVolume(), and DumpLogVol().
Definition at line 751 of file G4tgbGeometryDumper.cc.
References G4endl, and GetSolidParams().
Referenced by DumpSolid().
|
static |
Definition at line 90 of file G4tgbGeometryDumper.cc.
Referenced by ExTGRunAction::BeginOfRunAction().
Definition at line 763 of file G4tgbGeometryDumper.cc.
References python.hepunit::deg, FatalException, G4Exception(), G4TwistedTrap::GetAzimuthalAnglePhi(), G4GenericPolycone::GetCorner(), G4Polycone::GetCorner(), G4Polyhedra::GetCorner(), G4Cons::GetDeltaPhiAngle(), G4Tubs::GetDeltaPhiAngle(), G4Sphere::GetDeltaPhiAngle(), G4Sphere::GetDeltaThetaAngle(), G4Torus::GetDPhi(), G4TwistedTubs::GetDPhi(), G4EllipticalTube::GetDx(), G4EllipticalTube::GetDy(), G4EllipticalTube::GetDz(), G4GenericPolycone::GetEndPhi(), G4VSolid::GetEntityType(), G4Hype::GetInnerRadius(), G4Tubs::GetInnerRadius(), G4Sphere::GetInnerRadius(), G4TwistedTubs::GetInnerRadius(), G4Cons::GetInnerRadiusMinusZ(), G4Cons::GetInnerRadiusPlusZ(), G4Hype::GetInnerStereo(), G4GenericPolycone::GetNumRZCorner(), G4Polycone::GetNumRZCorner(), G4Polyhedra::GetNumRZCorner(), G4Polyhedra::GetNumSide(), G4Polycone::GetOriginalParameters(), G4Polyhedra::GetOriginalParameters(), G4Hype::GetOuterRadius(), G4Tubs::GetOuterRadius(), G4Sphere::GetOuterRadius(), G4TwistedTubs::GetOuterRadius(), G4Cons::GetOuterRadiusMinusZ(), G4Cons::GetOuterRadiusPlusZ(), G4Hype::GetOuterStereo(), G4TwistedBox::GetPhiTwist(), G4TwistedTrd::GetPhiTwist(), G4TwistedTrap::GetPhiTwist(), G4TwistedTubs::GetPhiTwist(), G4TwistedTrap::GetPolarAngleTheta(), G4Orb::GetRadius(), G4Torus::GetRmax(), G4Torus::GetRmin(), G4Torus::GetRtor(), G4Ellipsoid::GetSemiAxisMax(), G4Torus::GetSPhi(), G4GenericPolycone::GetStartPhi(), G4Polycone::GetStartPhi(), G4Polyhedra::GetStartPhi(), G4Cons::GetStartPhiAngle(), G4Tubs::GetStartPhiAngle(), G4Sphere::GetStartPhiAngle(), G4Sphere::GetStartThetaAngle(), G4Para::GetSymAxis(), G4Trap::GetSymAxis(), G4Para::GetTanAlpha(), G4Trap::GetTanAlpha1(), G4Trap::GetTanAlpha2(), G4TwistedTrap::GetTiltAngleAlpha(), G4TwistedTrd::GetX1HalfLength(), G4TwistedTrap::GetX1HalfLength(), G4TwistedTrd::GetX2HalfLength(), G4TwistedTrap::GetX2HalfLength(), G4TwistedTrap::GetX3HalfLength(), G4TwistedTrap::GetX4HalfLength(), G4TwistedBox::GetXHalfLength(), G4Box::GetXHalfLength(), G4Para::GetXHalfLength(), G4Trd::GetXHalfLength1(), G4Trap::GetXHalfLength1(), G4Trd::GetXHalfLength2(), G4Trap::GetXHalfLength2(), G4Trap::GetXHalfLength3(), G4Trap::GetXHalfLength4(), G4TwistedTrd::GetY1HalfLength(), G4TwistedTrap::GetY1HalfLength(), G4TwistedTrd::GetY2HalfLength(), G4TwistedTrap::GetY2HalfLength(), G4TwistedBox::GetYHalfLength(), G4Box::GetYHalfLength(), G4Para::GetYHalfLength(), G4Trd::GetYHalfLength1(), G4Trap::GetYHalfLength1(), G4Trd::GetYHalfLength2(), G4Trap::GetYHalfLength2(), G4Ellipsoid::GetZBottomCut(), G4TwistedBox::GetZHalfLength(), G4TwistedTrd::GetZHalfLength(), G4Box::GetZHalfLength(), G4Hype::GetZHalfLength(), G4Para::GetZHalfLength(), G4Trd::GetZHalfLength(), G4Cons::GetZHalfLength(), G4Tubs::GetZHalfLength(), G4TwistedTrap::GetZHalfLength(), G4TwistedTubs::GetZHalfLength(), G4Trap::GetZHalfLength(), G4Ellipsoid::GetZTopCut(), G4PolyconeHistorical::Opening_angle, G4PolyhedraHistorical::Opening_angle, G4PolyconeSideRZ::r, G4PolyhedraSideRZ::r, CLHEP::Hep3Vector::theta(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), G4PolyconeSideRZ::z, G4PolyhedraSideRZ::z, and CLHEP::Hep3Vector::z().
Referenced by DumpPVParameterised(), and DumpSolidParams().
G4VPhysicalVolume * G4tgbGeometryDumper::GetTopPhysVol | ( | ) |
Definition at line 110 of file G4tgbGeometryDumper.cc.
References G4PhysicalVolumeStore::GetInstance(), G4VPhysicalVolume::GetLogicalVolume(), and G4VPhysicalVolume::GetMotherLogical().
Referenced by DumpGeometry().