REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Data Fields | Private Member Functions | Private Attributes | Friends
TRestGeant4GeometryInfo Class Reference

Detailed Description

Definition at line 14 of file TRestGeant4GeometryInfo.h.

Public Member Functions

std::vector< TString > GetAllAlternativePhysicalVolumes () const
 
std::vector< TString > GetAllLogicalVolumes () const
 
std::vector< TString > GetAllLogicalVolumesMatchingExpression (const TString &) const
 
std::vector< TString > GetAllPhysicalVolumes () const
 
std::vector< TString > GetAllPhysicalVolumesFromLogical (const TString &logicalVolume) const
 
std::vector< TString > GetAllPhysicalVolumesMatchingExpression (const TString &) const
 
TString GetAlternativeNameFromGeant4PhysicalName (const TString &) const
 
TString GetGeant4PhysicalNameFromAlternativeName (const TString &) const
 
Int_t GetIDFromVolume (const TString &volumeName) const
 
TVector3 GetPosition (const TString &volume) const
 
TString GetVolumeFromID (Int_t id) const
 
void InsertVolumeName (Int_t id, const TString &volumeName)
 
bool IsAssembly () const
 
bool IsValidGdmlName (const TString &volume) const
 
bool IsValidLogicalVolume (const TString &volume) const
 
bool IsValidPhysicalVolume (const TString &volume) const
 
void PopulateFromGdml (const TString &)
 
void Print () const
 

Data Fields

std::vector< TString > fGdmlLogicalNames
 
std::vector< TString > fGdmlNewPhysicalNames
 
std::map< TString, TString > fGeant4PhysicalNameToNewPhysicalNameMap
 
std::map< TString, TString > fLogicalToMaterialMap
 
std::map< TString, std::vector< TString > > fLogicalToPhysicalMap
 
std::map< TString, TString > fPhysicalToLogicalVolumeMap
 
std::map< TString, TVector3 > fPhysicalToPositionInWorldMap
 

Private Member Functions

void InitializeOnDetectorConstruction (const TString &gdmlFilename, const G4VPhysicalVolume *world)
 
void PopulateFromGeant4World (const G4VPhysicalVolume *)
 

Private Attributes

bool fIsAssembly = false
 
std::map< Int_t, TString > fVolumeNameMap = {}
 
std::map< TString, Int_t > fVolumeNameReverseMap = {}
 

Friends

class DetectorConstruction
 

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