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

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

+ Collaboration diagram for G4GDMLParser:

Public Member Functions

 G4GDMLParser ()
 
 G4GDMLParser (G4GDMLReadStructure *)
 
 G4GDMLParser (G4GDMLReadStructure *, G4GDMLWriteStructure *)
 
 ~G4GDMLParser ()
 
void Read (const G4String &filename, G4bool Validate=true)
 
void ReadModule (const G4String &filename, G4bool Validate=true)
 
void Write (const G4String &filename, const G4VPhysicalVolume *pvol=0, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_SCHEMALOCATION)
 
void Write (const G4String &filename, const G4LogicalVolume *lvol, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_SCHEMALOCATION)
 
G4LogicalVolume * ParseST (const G4String &name, G4Material *medium, G4Material *solid)
 
G4bool IsValid (const G4String &name) const
 
G4double GetConstant (const G4String &name) const
 
G4double GetVariable (const G4String &name) const
 
G4double GetQuantity (const G4String &name) const
 
G4ThreeVector GetPosition (const G4String &name) const
 
G4ThreeVector GetRotation (const G4String &name) const
 
G4ThreeVector GetScale (const G4String &name) const
 
G4GDMLMatrix GetMatrix (const G4String &name) const
 
G4LogicalVolume * GetVolume (const G4String &name) const
 
G4VPhysicalVolume * GetPhysVolume (const G4String &name) const
 
G4VPhysicalVolume * GetWorldVolume (const G4String &setupName="Default") const
 
G4GDMLAuxListType GetVolumeAuxiliaryInformation (G4LogicalVolume *lvol) const
 
const G4GDMLAuxMapTypeGetAuxMap () const
 
const G4GDMLAuxListType * GetAuxList () const
 
void AddAuxiliary (G4GDMLAuxStructType myaux)
 
void StripNamePointers () const
 
void SetStripFlag (G4bool)
 
void SetOverlapCheck (G4bool)
 
void SetRegionExport (G4bool)
 
void SetEnergyCutsExport (G4bool)
 
void SetSDExport (G4bool)
 
void SetReverseSearch (G4bool)
 
G4int GetMaxExportLevel () const
 
void SetMaxExportLevel (G4int)
 
void Clear ()
 
void AddModule (const G4VPhysicalVolume *const physvol)
 
void AddModule (const G4int depth)
 
void SetAddPointerToName (G4bool set)
 
void AddVolumeAuxiliary (G4GDMLAuxStructType myaux, const G4LogicalVolume *const lvol)
 
void SetOutputFileOverwrite (G4bool flag)
 

Private Member Functions

void ImportRegions ()
 
void ExportRegions (G4bool storeReferences=true)
 

Private Attributes

G4GDMLEvaluator eval
 
G4GDMLReadStructurereader = nullptr
 
G4GDMLWriteStructure * writer = nullptr
 
G4GDMLAuxListType * rlist = nullptr
 
G4GDMLAuxListType * ullist = nullptr
 
G4GDMLMessenger * messenger = nullptr
 
G4bool urcode = false
 
G4bool uwcode = false
 
G4bool strip = false
 
G4bool rexp = false
 

Detailed Description

Definition at line 51 of file G4GDMLParser.hh.

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

Constructor & Destructor Documentation

G4GDMLParser::G4GDMLParser ( )
G4GDMLParser::G4GDMLParser ( G4GDMLReadStructure )
G4GDMLParser::G4GDMLParser ( G4GDMLReadStructure ,
G4GDMLWriteStructure *   
)
G4GDMLParser::~G4GDMLParser ( )

Member Function Documentation

void G4GDMLParser::AddAuxiliary ( G4GDMLAuxStructType  myaux)
inline
void G4GDMLParser::AddModule ( const G4VPhysicalVolume *const  physvol)
inline
void G4GDMLParser::AddModule ( const G4int  depth)
inline
void G4GDMLParser::AddVolumeAuxiliary ( G4GDMLAuxStructType  myaux,
const G4LogicalVolume *const  lvol 
)
inline
void G4GDMLParser::Clear ( )
inline

Referenced by eASTBeamPipe::Construct().

+ Here is the caller graph for this function:

void G4GDMLParser::ExportRegions ( G4bool  storeReferences = true)
private
const G4GDMLAuxListType* G4GDMLParser::GetAuxList ( ) const
inline
const G4GDMLAuxMapType* G4GDMLParser::GetAuxMap ( ) const
inline
G4double G4GDMLParser::GetConstant ( const G4String &  name) const
inline
G4GDMLMatrix G4GDMLParser::GetMatrix ( const G4String &  name) const
inline
G4int G4GDMLParser::GetMaxExportLevel ( ) const
inline
G4VPhysicalVolume* G4GDMLParser::GetPhysVolume ( const G4String &  name) const
inline
G4ThreeVector G4GDMLParser::GetPosition ( const G4String &  name) const
inline
G4double G4GDMLParser::GetQuantity ( const G4String &  name) const
inline
G4ThreeVector G4GDMLParser::GetRotation ( const G4String &  name) const
inline
G4ThreeVector G4GDMLParser::GetScale ( const G4String &  name) const
inline
G4double G4GDMLParser::GetVariable ( const G4String &  name) const
inline
G4LogicalVolume* G4GDMLParser::GetVolume ( const G4String &  name) const
inline
G4GDMLAuxListType G4GDMLParser::GetVolumeAuxiliaryInformation ( G4LogicalVolume *  lvol) const
inline
G4VPhysicalVolume* G4GDMLParser::GetWorldVolume ( const G4String &  setupName = "Default") const
inline

Referenced by ActsExamples::GdmlDetectorConstruction::Construct(), eASTSupportStructure::Construct(), eASTBeamPipe::Construct(), and eASTDetectorComponentGDML::Construct().

+ Here is the caller graph for this function:

void G4GDMLParser::ImportRegions ( )
private
G4bool G4GDMLParser::IsValid ( const G4String &  name) const
inline
G4LogicalVolume* G4GDMLParser::ParseST ( const G4String &  name,
G4Material *  medium,
G4Material *  solid 
)
inline
void G4GDMLParser::Read ( const G4String &  filename,
G4bool  Validate = true 
)
inline

Referenced by ActsExamples::GdmlDetectorConstruction::Construct(), eASTBeamPipe::Construct(), eASTSupportStructure::Construct(), eASTDetectorComponentGDML::Construct(), BasicDetectorConstruction::Construct(), PHG4MvtxDetector::ConstructMvtx(), and PHG4EICMvtxDetector::ConstructMvtx().

+ Here is the caller graph for this function:

void G4GDMLParser::ReadModule ( const G4String &  filename,
G4bool  Validate = true 
)
inline
void G4GDMLParser::SetAddPointerToName ( G4bool  set)
inline
void G4GDMLParser::SetEnergyCutsExport ( G4bool  )
inline
void G4GDMLParser::SetMaxExportLevel ( G4int  )
inline
void G4GDMLParser::SetOutputFileOverwrite ( G4bool  flag)
inline
void G4GDMLParser::SetOverlapCheck ( G4bool  )
inline

Referenced by BeastMagnetDetector::ConstructMe(), AllSiliconTrackerDetector::ConstructMe(), G4LBLVtxDetector::ConstructMe(), and PHG4GDMLDetector::ConstructMe().

+ Here is the caller graph for this function:

void G4GDMLParser::SetRegionExport ( G4bool  )
inline
void G4GDMLParser::SetReverseSearch ( G4bool  )
inline

Referenced by eASTDetectorComponentGDML::Construct(), eASTSupportStructure::Construct(), and eASTBeamPipe::Construct().

+ Here is the caller graph for this function:

void G4GDMLParser::SetSDExport ( G4bool  )
inline
void G4GDMLParser::SetStripFlag ( G4bool  )
inline

Referenced by eASTDetectorComponentGDML::Construct(), eASTSupportStructure::Construct(), and eASTBeamPipe::Construct().

+ Here is the caller graph for this function:

void G4GDMLParser::StripNamePointers ( ) const
inline
void G4GDMLParser::Write ( const G4String &  filename,
const G4VPhysicalVolume *  pvol = 0,
G4bool  storeReferences = true,
const G4String &  SchemaLocation = G4GDML_DEFAULT_SCHEMALOCATION 
)
inline
void G4GDMLParser::Write ( const G4String &  filename,
const G4LogicalVolume *  lvol,
G4bool  storeReferences = true,
const G4String &  SchemaLocation = G4GDML_DEFAULT_SCHEMALOCATION 
)
inline

Member Data Documentation

G4GDMLEvaluator G4GDMLParser::eval
private

Definition at line 150 of file G4GDMLParser.hh.

View newest version in sPHENIX GitHub at line 150 of file G4GDMLParser.hh

G4GDMLMessenger* G4GDMLParser::messenger = nullptr
private

Definition at line 154 of file G4GDMLParser.hh.

View newest version in sPHENIX GitHub at line 154 of file G4GDMLParser.hh

G4GDMLReadStructure* G4GDMLParser::reader = nullptr
private

Definition at line 151 of file G4GDMLParser.hh.

View newest version in sPHENIX GitHub at line 151 of file G4GDMLParser.hh

G4bool G4GDMLParser::rexp = false
private

Definition at line 155 of file G4GDMLParser.hh.

View newest version in sPHENIX GitHub at line 155 of file G4GDMLParser.hh

G4GDMLAuxListType* G4GDMLParser::rlist = nullptr
private

Definition at line 153 of file G4GDMLParser.hh.

View newest version in sPHENIX GitHub at line 153 of file G4GDMLParser.hh

G4bool G4GDMLParser::strip = false
private

Definition at line 155 of file G4GDMLParser.hh.

View newest version in sPHENIX GitHub at line 155 of file G4GDMLParser.hh

G4GDMLAuxListType * G4GDMLParser::ullist = nullptr
private

Definition at line 153 of file G4GDMLParser.hh.

View newest version in sPHENIX GitHub at line 153 of file G4GDMLParser.hh

G4bool G4GDMLParser::urcode = false
private

Definition at line 155 of file G4GDMLParser.hh.

View newest version in sPHENIX GitHub at line 155 of file G4GDMLParser.hh

G4bool G4GDMLParser::uwcode = false
private

Definition at line 155 of file G4GDMLParser.hh.

View newest version in sPHENIX GitHub at line 155 of file G4GDMLParser.hh

G4GDMLWriteStructure* G4GDMLParser::writer = nullptr
private

Definition at line 152 of file G4GDMLParser.hh.

View newest version in sPHENIX GitHub at line 152 of file G4GDMLParser.hh


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