Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4GDMLWriteSolids Class Reference

#include <coresoftware/blob/master/simulation/g4simulation/g4gdml/PHG4GDMLWriteSolids.hh>

+ Inheritance diagram for PHG4GDMLWriteSolids:
+ Collaboration diagram for PHG4GDMLWriteSolids:

Classes

class  G4ThreeVectorCompare
 

Public Member Functions

virtual void AddSolid (const G4VSolid *const)
 
virtual void SolidsWrite (xercesc::DOMElement *)
 
- Public Member Functions inherited from PHG4GDMLWriteMaterials
void AddIsotope (const G4Isotope *const)
 
void AddElement (const G4Element *const)
 
void AddMaterial (const G4Material *const)
 
virtual void MaterialsWrite (xercesc::DOMElement *)
 
- Public Member Functions inherited from PHG4GDMLWriteDefine
G4ThreeVector GetAngles (const G4RotationMatrix &)
 
void ScaleWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &scl)
 
void RotationWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &rot)
 
void PositionWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &pos)
 
void FirstrotationWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &rot)
 
void FirstpositionWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &pos)
 
void AddPosition (const G4String &name, const G4ThreeVector &pos)
 
virtual void DefineWrite (xercesc::DOMElement *)
 
- Public Member Functions inherited from PHG4GDMLWrite
G4Transform3D Write (const G4String &filename, const G4LogicalVolume *const topLog, const G4String &schemaPath, const G4int depth, G4bool storeReferences=true)
 
void AddModule (const G4VPhysicalVolume *const topVol)
 
void AddModule (const G4int depth)
 
void AddAuxiliary (PHG4GDMLAuxStructType myaux)
 
virtual void StructureWrite (xercesc::DOMElement *)=0
 
virtual G4Transform3D TraverseVolumeTree (const G4LogicalVolume *const, const G4int)=0
 
virtual void SurfacesWrite ()=0
 
virtual void SetupWrite (xercesc::DOMElement *, const G4LogicalVolume *const)=0
 
virtual void ExtensionWrite (xercesc::DOMElement *)
 
virtual void UserinfoWrite (xercesc::DOMElement *)
 
virtual void AddExtension (xercesc::DOMElement *, const G4LogicalVolume *const)
 
G4String GenerateName (const G4String &, const void *const)
 

Protected Member Functions

 PHG4GDMLWriteSolids ()
 
virtual ~PHG4GDMLWriteSolids ()
 
void MultiUnionWrite (xercesc::DOMElement *solElement, const G4MultiUnion *const)
 
void BooleanWrite (xercesc::DOMElement *, const G4BooleanSolid *const)
 
void BoxWrite (xercesc::DOMElement *, const G4Box *const)
 
void ConeWrite (xercesc::DOMElement *, const G4Cons *const)
 
void ElconeWrite (xercesc::DOMElement *, const G4EllipticalCone *const)
 
void EllipsoidWrite (xercesc::DOMElement *, const G4Ellipsoid *const)
 
void EltubeWrite (xercesc::DOMElement *, const G4EllipticalTube *const)
 
void XtruWrite (xercesc::DOMElement *, const G4ExtrudedSolid *const)
 
void HypeWrite (xercesc::DOMElement *, const G4Hype *const)
 
void OrbWrite (xercesc::DOMElement *, const G4Orb *const)
 
void ParaWrite (xercesc::DOMElement *, const G4Para *const)
 
void ParaboloidWrite (xercesc::DOMElement *, const G4Paraboloid *const)
 
void PolyconeWrite (xercesc::DOMElement *, const G4Polycone *const)
 
void GenericPolyconeWrite (xercesc::DOMElement *, const G4GenericPolycone *const)
 
void PolyhedraWrite (xercesc::DOMElement *, const G4Polyhedra *const)
 
void SphereWrite (xercesc::DOMElement *, const G4Sphere *const)
 
void TessellatedWrite (xercesc::DOMElement *, const G4TessellatedSolid *const)
 
void TetWrite (xercesc::DOMElement *, const G4Tet *const)
 
void TorusWrite (xercesc::DOMElement *, const G4Torus *const)
 
void GenTrapWrite (xercesc::DOMElement *, const G4GenericTrap *const)
 
void TrapWrite (xercesc::DOMElement *, const G4Trap *const)
 
void TrdWrite (xercesc::DOMElement *, const G4Trd *const)
 
void TubeWrite (xercesc::DOMElement *, const G4Tubs *const)
 
void CutTubeWrite (xercesc::DOMElement *, const G4CutTubs *const)
 
void TwistedboxWrite (xercesc::DOMElement *, const G4TwistedBox *const)
 
void TwistedtrapWrite (xercesc::DOMElement *, const G4TwistedTrap *const)
 
void TwistedtrdWrite (xercesc::DOMElement *, const G4TwistedTrd *const)
 
void TwistedtubsWrite (xercesc::DOMElement *, const G4TwistedTubs *const)
 
void ZplaneWrite (xercesc::DOMElement *, const G4double &, const G4double &, const G4double &)
 
void RZPointWrite (xercesc::DOMElement *, const G4double &, const G4double &)
 
void OpticalSurfaceWrite (xercesc::DOMElement *, const G4OpticalSurface *const)
 
- Protected Member Functions inherited from PHG4GDMLWriteMaterials
 PHG4GDMLWriteMaterials ()
 
virtual ~PHG4GDMLWriteMaterials ()
 
void AtomWrite (xercesc::DOMElement *, const G4double &)
 
void DWrite (xercesc::DOMElement *, const G4double &)
 
void PWrite (xercesc::DOMElement *, const G4double &)
 
void TWrite (xercesc::DOMElement *, const G4double &)
 
void MEEWrite (xercesc::DOMElement *, const G4double &)
 
void IsotopeWrite (const G4Isotope *const)
 
void ElementWrite (const G4Element *const)
 
void MaterialWrite (const G4Material *const)
 
void PropertyWrite (xercesc::DOMElement *, const G4Material *const)
 
void PropertyVectorWrite (const G4String &, const G4PhysicsOrderedFreeVector *const)
 
- Protected Member Functions inherited from PHG4GDMLWriteDefine
 PHG4GDMLWriteDefine ()
 
virtual ~PHG4GDMLWriteDefine ()
 
void Scale_vectorWrite (xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &)
 
void Rotation_vectorWrite (xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &)
 
void Position_vectorWrite (xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &)
 
- Protected Member Functions inherited from PHG4GDMLWrite
 PHG4GDMLWrite ()
 
virtual ~PHG4GDMLWrite ()
 
VolumeMapTypeVolumeMap ()
 
xercesc::DOMAttr * NewAttribute (const G4String &, const G4String &)
 
xercesc::DOMAttr * NewAttribute (const G4String &, const G4double &)
 
xercesc::DOMElement * NewElement (const G4String &)
 
G4String Modularize (const G4VPhysicalVolume *const topvol, const G4int depth)
 
void AddAuxInfo (PHG4GDMLAuxListType *auxInfoList, xercesc::DOMElement *element)
 
G4bool FileExists (const G4String &) const
 
PhysVolumeMapTypePvolumeMap ()
 
DepthMapTypeDepthMap ()
 

Protected Attributes

std::vector< const G4VSolid * > solidList
 
xercesc::DOMElement * solidsElement
 
- Protected Attributes inherited from PHG4GDMLWriteMaterials
std::vector< const G4Isotope * > isotopeList
 
std::vector< const G4Element * > elementList
 
std::vector< const G4Material * > materialList
 
std::vector< const
G4PhysicsFreeVector * > 
propertyList
 
xercesc::DOMElement * materialsElement
 
- Protected Attributes inherited from PHG4GDMLWriteDefine
xercesc::DOMElement * defineElement
 
- Protected Attributes inherited from PHG4GDMLWrite
G4String SchemaLocation
 
xercesc::DOMDocument * doc
 
xercesc::DOMElement * extElement
 
xercesc::DOMElement * userinfoElement
 
XMLCh tempStr [10000]
 
PHG4GDMLAuxListType auxList
 

Static Protected Attributes

static const G4int maxTransforms = 8
 

Additional Inherited Members

- Static Public Member Functions inherited from PHG4GDMLWrite
static void SetAddPointerToName (G4bool)
 

Detailed Description

Definition at line 78 of file PHG4GDMLWriteSolids.hh.

View newest version in sPHENIX GitHub at line 78 of file PHG4GDMLWriteSolids.hh

Constructor & Destructor Documentation

PHG4GDMLWriteSolids::PHG4GDMLWriteSolids ( )
protected

Definition at line 72 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 72 of file PHG4GDMLWriteSolids.cc

PHG4GDMLWriteSolids::~PHG4GDMLWriteSolids ( )
protectedvirtual

Definition at line 77 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 77 of file PHG4GDMLWriteSolids.cc

Member Function Documentation

void PHG4GDMLWriteSolids::AddSolid ( const G4VSolid * const  solidPtr)
virtual

Definition at line 1029 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 1029 of file PHG4GDMLWriteSolids.cc

References BooleanWrite(), BoxWrite(), ConeWrite(), CutTubeWrite(), ElconeWrite(), EllipsoidWrite(), EltubeWrite(), GenericPolyconeWrite(), GenTrapWrite(), HypeWrite(), MultiUnionWrite(), OrbWrite(), ParaboloidWrite(), ParaWrite(), PolyconeWrite(), PolyhedraWrite(), solidList, solidsElement, SphereWrite(), TessellatedWrite(), TetWrite(), TorusWrite(), TrapWrite(), TrdWrite(), TubeWrite(), TwistedboxWrite(), TwistedtrapWrite(), TwistedtrdWrite(), TwistedtubsWrite(), and XtruWrite().

Referenced by BooleanWrite(), and PHG4GDMLWriteStructure::TraverseVolumeTree().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::BooleanWrite ( xercesc::DOMElement *  solElement,
const G4BooleanSolid * const  boolean 
)
protected

Definition at line 150 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 150 of file PHG4GDMLWriteSolids.cc

References AddSolid(), disp(), ErrorMessage(), PHG4GDMLWriteDefine::FirstpositionWrite(), PHG4GDMLWriteDefine::FirstrotationWrite(), PHG4GDMLWrite::GenerateName(), PHG4GDMLWriteDefine::GetAngles(), PHG4GDMLWriteDefine::kAngularPrecision, PHG4GDMLWriteDefine::kLinearPrecision, maxTransforms, PHG4GDMLWrite::NewAttribute(), PHG4GDMLWrite::NewElement(), Acts::Test::pos, PHG4GDMLWriteDefine::PositionWrite(), and PHG4GDMLWriteDefine::RotationWrite().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::BoxWrite ( xercesc::DOMElement *  solElement,
const G4Box * const  box 
)
protected

Definition at line 266 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 266 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::ConeWrite ( xercesc::DOMElement *  solElement,
const G4Cons * const  cone 
)
protected

Definition at line 280 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 280 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::CutTubeWrite ( xercesc::DOMElement *  solElement,
const G4CutTubs * const  cuttube 
)
protected

Definition at line 843 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 843 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::ElconeWrite ( xercesc::DOMElement *  solElement,
const G4EllipticalCone * const  elcone 
)
protected

Definition at line 306 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 306 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::EllipsoidWrite ( xercesc::DOMElement *  solElement,
const G4Ellipsoid * const  ellipsoid 
)
protected

Definition at line 322 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 322 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::EltubeWrite ( xercesc::DOMElement *  solElement,
const G4EllipticalTube * const  eltube 
)
protected

Definition at line 345 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 345 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::GenericPolyconeWrite ( xercesc::DOMElement *  solElement,
const G4GenericPolycone * const  polycone 
)
protected

Definition at line 510 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 510 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), PHG4GDMLWrite::NewAttribute(), PHG4GDMLWrite::NewElement(), and RZPointWrite().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::GenTrapWrite ( xercesc::DOMElement *  solElement,
const G4GenericTrap * const  gtrap 
)
protected

Definition at line 732 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 732 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), PHG4GDMLWrite::NewElement(), ActsExamples::HepMC3Event::vertices(), ambiguity_solver_full_chain::x, and y.

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::HypeWrite ( xercesc::DOMElement *  solElement,
const G4Hype * const  hype 
)
protected

Definition at line 404 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 404 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::MultiUnionWrite ( xercesc::DOMElement *  solElement,
const G4MultiUnion * const   
)
protected

Definition at line 83 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 83 of file PHG4GDMLWriteSolids.cc

Referenced by AddSolid().

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::OpticalSurfaceWrite ( xercesc::DOMElement *  solElement,
const G4OpticalSurface * const  surf 
)
protected

Definition at line 1003 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 1003 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by PHG4GDMLWriteStructure::BorderSurfaceCache(), and PHG4GDMLWriteStructure::SkinSurfaceCache().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::OrbWrite ( xercesc::DOMElement *  solElement,
const G4Orb * const  orb 
)
protected

Definition at line 426 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 426 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::ParaboloidWrite ( xercesc::DOMElement *  solElement,
const G4Paraboloid * const  paraboloid 
)
protected

Definition at line 464 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 464 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::ParaWrite ( xercesc::DOMElement *  solElement,
const G4Para * const  para 
)
protected

Definition at line 438 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 438 of file PHG4GDMLWriteSolids.cc

References alpha, Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), PHG4GDMLWrite::NewElement(), ActsTests::PropagationDatasets::phi, and ActsTests::PropagationDatasets::theta.

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::PolyconeWrite ( xercesc::DOMElement *  solElement,
const G4Polycone * const  polycone 
)
protected

Definition at line 481 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 481 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), PHG4GDMLWrite::NewAttribute(), PHG4GDMLWrite::NewElement(), and ZplaneWrite().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::PolyhedraWrite ( xercesc::DOMElement *  solElement,
const G4Polyhedra * const  polyhedra 
)
protected

Definition at line 536 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 536 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), PHG4GDMLWrite::NewAttribute(), PHG4GDMLWrite::NewElement(), RZPointWrite(), and ZplaneWrite().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::RZPointWrite ( xercesc::DOMElement *  element,
const G4double &  r,
const G4double &  z 
)
protected

Definition at line 993 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 993 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by GenericPolyconeWrite(), and PolyhedraWrite().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::SolidsWrite ( xercesc::DOMElement *  gdmlElement)
virtual

Implements PHG4GDMLWrite.

Definition at line 1019 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 1019 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWrite::NewElement(), solidList, and solidsElement.

+ Here is the call graph for this function:

void PHG4GDMLWriteSolids::SphereWrite ( xercesc::DOMElement *  solElement,
const G4Sphere * const  sphere 
)
protected

Definition at line 593 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 593 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::TessellatedWrite ( xercesc::DOMElement *  solElement,
const G4TessellatedSolid * const  tessellated 
)
protected

Definition at line 617 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 617 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWriteDefine::AddPosition(), INTTVtxZ::fname, PHG4GDMLWrite::GenerateName(), j, PHG4GDMLWrite::NewAttribute(), PHG4GDMLWrite::NewElement(), and check_smearing_config::ref.

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::TetWrite ( xercesc::DOMElement *  solElement,
const G4Tet * const  tet 
)
protected

Definition at line 690 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 690 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWriteDefine::AddPosition(), PHG4GDMLWrite::GenerateName(), PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::TorusWrite ( xercesc::DOMElement *  solElement,
const G4Torus * const  torus 
)
protected

Definition at line 713 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 713 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::TrapWrite ( xercesc::DOMElement *  solElement,
const G4Trap * const  trap 
)
protected

Definition at line 764 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 764 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), PHG4GDMLWrite::NewElement(), ActsTests::PropagationDatasets::phi, and ActsTests::PropagationDatasets::theta.

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::TrdWrite ( xercesc::DOMElement *  solElement,
const G4Trd * const  trd 
)
protected

Definition at line 800 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 800 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::TubeWrite ( xercesc::DOMElement *  solElement,
const G4Tubs * const  tube 
)
protected

Definition at line 821 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 821 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::TwistedboxWrite ( xercesc::DOMElement *  solElement,
const G4TwistedBox * const  twistedbox 
)
protected

Definition at line 877 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 877 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::TwistedtrapWrite ( xercesc::DOMElement *  solElement,
const G4TwistedTrap * const  twistedtrap 
)
protected

Definition at line 898 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 898 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::TwistedtrdWrite ( xercesc::DOMElement *  solElement,
const G4TwistedTrd * const  twistedtrd 
)
protected

Definition at line 934 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 934 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::TwistedtubsWrite ( xercesc::DOMElement *  solElement,
const G4TwistedTubs * const  twistedtubs 
)
protected

Definition at line 959 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 959 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::degree, PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::XtruWrite ( xercesc::DOMElement *  solElement,
const G4ExtrudedSolid * const  xtru 
)
protected

Definition at line 360 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 360 of file PHG4GDMLWriteSolids.cc

References PHG4GDMLWrite::GenerateName(), Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4GDMLWriteSolids::ZplaneWrite ( xercesc::DOMElement *  element,
const G4double &  z,
const G4double &  rmin,
const G4double &  rmax 
)
protected

Definition at line 982 of file PHG4GDMLWriteSolids.cc.

View newest version in sPHENIX GitHub at line 982 of file PHG4GDMLWriteSolids.cc

References Acts::UnitConstants::mm, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().

Referenced by PHG4GDMLWriteParamvol::Polycone_dimensionsWrite(), PolyconeWrite(), PHG4GDMLWriteParamvol::Polyhedra_dimensionsWrite(), and PolyhedraWrite().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

const G4int PHG4GDMLWriteSolids::maxTransforms = 8
staticprotected

Definition at line 147 of file PHG4GDMLWriteSolids.hh.

View newest version in sPHENIX GitHub at line 147 of file PHG4GDMLWriteSolids.hh

Referenced by BooleanWrite(), and PHG4GDMLWriteStructure::TraverseVolumeTree().

std::vector<const G4VSolid*> PHG4GDMLWriteSolids::solidList
protected

Definition at line 145 of file PHG4GDMLWriteSolids.hh.

View newest version in sPHENIX GitHub at line 145 of file PHG4GDMLWriteSolids.hh

Referenced by AddSolid(), and SolidsWrite().

xercesc::DOMElement* PHG4GDMLWriteSolids::solidsElement
protected

Definition at line 146 of file PHG4GDMLWriteSolids.hh.

View newest version in sPHENIX GitHub at line 146 of file PHG4GDMLWriteSolids.hh

Referenced by AddSolid(), PHG4GDMLWriteStructure::BorderSurfaceCache(), PHG4GDMLWriteStructure::SkinSurfaceCache(), and SolidsWrite().


The documentation for this class was generated from the following files: