EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4GDMLReadStructure Class Reference

#include <east/blob/main/G4_Patches/G4.v11.0.p01/source/persistency/gdml/include/G4GDMLReadStructure.hh>

+ Inheritance diagram for G4GDMLReadStructure:
+ Collaboration diagram for G4GDMLReadStructure:

Public Member Functions

 G4GDMLReadStructure ()
 
virtual ~G4GDMLReadStructure ()
 
G4VPhysicalVolume * GetPhysvol (const G4String &) const
 
G4LogicalVolume * GetVolume (const G4String &) const
 
G4AssemblyVolume * GetAssembly (const G4String &) const
 
G4GDMLAuxListType GetVolumeAuxiliaryInformation (G4LogicalVolume *) const
 
G4VPhysicalVolume * GetWorldVolume (const G4String &)
 
const G4GDMLAuxMapTypeGetAuxMap () const
 
void Clear ()
 
virtual void VolumeRead (const xercesc::DOMElement *const)
 
virtual void Volume_contentRead (const xercesc::DOMElement *const)
 
virtual void StructureRead (const xercesc::DOMElement *const)
 

Protected Member Functions

void AssemblyRead (const xercesc::DOMElement *const)
 
void DivisionvolRead (const xercesc::DOMElement *const)
 
G4LogicalVolume * FileRead (const xercesc::DOMElement *const)
 
void PhysvolRead (const xercesc::DOMElement *const, G4AssemblyVolume *assembly=0)
 
void ReplicavolRead (const xercesc::DOMElement *const, G4int number)
 
void ReplicaRead (const xercesc::DOMElement *const replicaElement, G4LogicalVolume *logvol, G4int number)
 
EAxis AxisRead (const xercesc::DOMElement *const axisElement)
 
G4double QuantityRead (const xercesc::DOMElement *const readElement)
 
void BorderSurfaceRead (const xercesc::DOMElement *const)
 
void SkinSurfaceRead (const xercesc::DOMElement *const)
 

Protected Attributes

G4GDMLAuxMapType auxMap
 
G4GDMLAssemblyMapType assemblyMap
 
G4LogicalVolume * pMotherLogical = nullptr
 
std::map< std::string,
G4VPhysicalVolume * > 
setuptoPV
 
G4bool strip = false
 

Detailed Description

Definition at line 51 of file G4GDMLReadStructure.hh.

View newest version in sPHENIX GitHub at line 51 of file G4GDMLReadStructure.hh

Constructor & Destructor Documentation

G4GDMLReadStructure::G4GDMLReadStructure ( )

Definition at line 47 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 47 of file G4GDMLReadStructure.cc

G4GDMLReadStructure::~G4GDMLReadStructure ( )
virtual

Definition at line 53 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 53 of file G4GDMLReadStructure.cc

Member Function Documentation

void G4GDMLReadStructure::AssemblyRead ( const xercesc::DOMElement * const  assemblyElement)
protected

Definition at line 818 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 818 of file G4GDMLReadStructure.cc

References assemblyMap, name, PhysvolRead(), conf::release, and release::tag().

Referenced by StructureRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

EAxis G4GDMLReadStructure::AxisRead ( const xercesc::DOMElement *const  axisElement)
protected

Definition at line 643 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 643 of file G4GDMLReadStructure.cc

References Smear::kPhi.

Referenced by ReplicaRead().

+ Here is the caller graph for this function:

void G4GDMLReadStructure::BorderSurfaceRead ( const xercesc::DOMElement * const  bordersurfaceElement)
protected

Definition at line 58 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 58 of file G4GDMLReadStructure.cc

References GetPhysvol(), name, and release::tag().

Referenced by StructureRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GDMLReadStructure::Clear ( )

Definition at line 1162 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 1162 of file G4GDMLReadStructure.cc

References auxMap, and setuptoPV.

void G4GDMLReadStructure::DivisionvolRead ( const xercesc::DOMElement * const  divisionvolElement)
protected

Definition at line 143 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 143 of file G4GDMLReadStructure.cc

References GetVolume(), Smear::kPhi, name, offset, pMotherLogical, release::tag(), and width().

Referenced by Volume_contentRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4LogicalVolume * G4GDMLReadStructure::FileRead ( const xercesc::DOMElement * const  fileElement)
protected

Definition at line 297 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 297 of file G4GDMLReadStructure.cc

References auxMap, GetAuxMap(), GetVolume(), name, and pos().

Referenced by PhysvolRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4AssemblyVolume * G4GDMLReadStructure::GetAssembly ( const G4String &  ref) const

Definition at line 1108 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 1108 of file G4GDMLReadStructure.cc

References assemblyMap, and pos().

Referenced by BeastMagnetDetector::ConstructMe(), AllSiliconTrackerDetector::ConstructMe(), PHG4EICMvtxDetector::ConstructMvtx(), PHG4MvtxDetector::ConstructMvtx(), PHG4MvtxDetector::ConstructMvtxPassiveVol(), and PhysvolRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4GDMLAuxMapType* G4GDMLReadStructure::GetAuxMap ( ) const
inline

Definition at line 63 of file G4GDMLReadStructure.hh.

View newest version in sPHENIX GitHub at line 63 of file G4GDMLReadStructure.hh

References auxMap.

Referenced by FileRead().

+ Here is the caller graph for this function:

G4VPhysicalVolume * G4GDMLReadStructure::GetPhysvol ( const G4String &  ref) const

Definition at line 1076 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 1076 of file G4GDMLReadStructure.cc

References G4PhysicalVolumeStore::GetInstance(), and G4PhysicalVolumeStore::GetVolume().

Referenced by BorderSurfaceRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4LogicalVolume * G4GDMLReadStructure::GetVolume ( const G4String &  ref) const

Definition at line 1092 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 1092 of file G4GDMLReadStructure.cc

References G4LogicalVolumeStore::GetInstance(), and G4LogicalVolumeStore::GetVolume().

Referenced by AllSiliconTrackerDetector::ConstructMe(), G4LBLVtxDetector::ConstructMe(), PHG4GDMLDetector::ConstructMe(), DivisionvolRead(), FileRead(), GetWorldVolume(), PhysvolRead(), ReplicavolRead(), and SkinSurfaceRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4GDMLAuxListType G4GDMLReadStructure::GetVolumeAuxiliaryInformation ( G4LogicalVolume *  logvol) const

Definition at line 1119 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 1119 of file G4GDMLReadStructure.cc

References auxMap, and pos().

+ Here is the call graph for this function:

G4VPhysicalVolume * G4GDMLReadStructure::GetWorldVolume ( const G4String &  setupName)

Definition at line 1134 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 1134 of file G4GDMLReadStructure.cc

References GetVolume(), setuptoPV, and Acts::Test::volume.

+ Here is the call graph for this function:

void G4GDMLReadStructure::PhysvolRead ( const xercesc::DOMElement * const  physvolElement,
G4AssemblyVolume *  assembly = 0 
)
protected

Definition at line 366 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 366 of file G4GDMLReadStructure.cc

References FileRead(), GetAssembly(), GetVolume(), name, pMotherLogical, Acts::VectorHelpers::position(), release::tag(), and Acts::Test::transform.

Referenced by AssemblyRead(), and Volume_contentRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4GDMLReadStructure::QuantityRead ( const xercesc::DOMElement *const  readElement)
protected

Definition at line 713 of file G4GDMLReadStructure.cc.

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

References value.

Referenced by ReplicaRead().

+ Here is the caller graph for this function:

void G4GDMLReadStructure::ReplicaRead ( const xercesc::DOMElement *const  replicaElement,
G4LogicalVolume *  logvol,
G4int  number 
)
protected

Definition at line 563 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 563 of file G4GDMLReadStructure.cc

References AxisRead(), name, offset, pMotherLogical, Acts::VectorHelpers::position(), QuantityRead(), release::tag(), and width().

Referenced by ReplicavolRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GDMLReadStructure::ReplicavolRead ( const xercesc::DOMElement * const  replicavolElement,
G4int  number 
)
protected

Definition at line 520 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 520 of file G4GDMLReadStructure.cc

References GetVolume(), ReplicaRead(), and release::tag().

Referenced by Volume_contentRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GDMLReadStructure::SkinSurfaceRead ( const xercesc::DOMElement * const  skinsurfaceElement)
protected

Definition at line 866 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 866 of file G4GDMLReadStructure.cc

References GetVolume(), name, and release::tag().

Referenced by StructureRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GDMLReadStructure::StructureRead ( const xercesc::DOMElement * const  structureElement)
virtual

Definition at line 1022 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 1022 of file G4GDMLReadStructure.cc

References AssemblyRead(), BorderSurfaceRead(), SkinSurfaceRead(), release::tag(), and VolumeRead().

+ Here is the call graph for this function:

void G4GDMLReadStructure::Volume_contentRead ( const xercesc::DOMElement * const  volumeElement)
virtual

Definition at line 942 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 942 of file G4GDMLReadStructure.cc

References DivisionvolRead(), PhysvolRead(), pMotherLogical, ReplicavolRead(), and release::tag().

Referenced by VolumeRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GDMLReadStructure::VolumeRead ( const xercesc::DOMElement * const  volumeElement)
virtual

Definition at line 763 of file G4GDMLReadStructure.cc.

View newest version in sPHENIX GitHub at line 763 of file G4GDMLReadStructure.cc

References auxMap, name, pMotherLogical, conf::release, release::tag(), and Volume_contentRead().

Referenced by StructureRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4GDMLAssemblyMapType G4GDMLReadStructure::assemblyMap
protected

Definition at line 88 of file G4GDMLReadStructure.hh.

View newest version in sPHENIX GitHub at line 88 of file G4GDMLReadStructure.hh

Referenced by AssemblyRead(), and GetAssembly().

G4GDMLAuxMapType G4GDMLReadStructure::auxMap
protected

Definition at line 87 of file G4GDMLReadStructure.hh.

View newest version in sPHENIX GitHub at line 87 of file G4GDMLReadStructure.hh

Referenced by Clear(), FileRead(), GetAuxMap(), GetVolumeAuxiliaryInformation(), and VolumeRead().

G4LogicalVolume* G4GDMLReadStructure::pMotherLogical = nullptr
protected

Definition at line 89 of file G4GDMLReadStructure.hh.

View newest version in sPHENIX GitHub at line 89 of file G4GDMLReadStructure.hh

Referenced by DivisionvolRead(), PhysvolRead(), ReplicaRead(), Volume_contentRead(), and VolumeRead().

std::map<std::string, G4VPhysicalVolume*> G4GDMLReadStructure::setuptoPV
protected

Definition at line 90 of file G4GDMLReadStructure.hh.

View newest version in sPHENIX GitHub at line 90 of file G4GDMLReadStructure.hh

Referenced by Clear(), and GetWorldVolume().

G4bool G4GDMLReadStructure::strip = false
protected

Definition at line 91 of file G4GDMLReadStructure.hh.

View newest version in sPHENIX GitHub at line 91 of file G4GDMLReadStructure.hh


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