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

Detailed Description

Definition at line 11 of file TRestGDMLParser.h.

Inheritance diagram for TRestGDMLParser:
TRestMetadata

Public Member Functions

 ClassDefOverride (TRestGDMLParser, 2)
 
TGeoManager * CreateGeoM ()
 
TGeoManager * CreateGeoManager ()
 
std::string GetEntityVersion (const std::string &name) const
 
std::string GetGDMLVersion () const
 
TGeoManager * GetGeoManager (const std::string &gdmlFilename)
 
std::string GetOutputGDMLFile () const
 
void InitFromConfigFile () override
 To make settings from rml file. This method must be implemented in the derived class. More...
 
void Load (const std::string &filename)
 
void PrintContent ()
 
void ReplaceAttributeWithKeyWord (const std::string &keyword)
 
void ReplaceEntity ()
 

Data Fields

std::map< std::string, std::string > fEntityVersionMap {}
 
std::string fFileString = ""
 
std::string fGdmlVersion = "0.0"
 
std::string fOutputGdmlDirectory
 
std::string fOutputGdmlFilename = ""
 
std::string fPath = ""
 

Private Attributes

TGeoManager * fGeoManager {}
 

Additional Inherited Members

Member Function Documentation

◆ CreateGeoM()

TGeoManager * TRestGDMLParser::CreateGeoM ( )
inline

Definition at line 42 of file TRestGDMLParser.h.

◆ CreateGeoManager()

TGeoManager * TRestGDMLParser::CreateGeoManager ( )

Definition at line 87 of file TRestGDMLParser.cxx.

◆ GetEntityVersion()

string TRestGDMLParser::GetEntityVersion ( const std::string &  name) const

Definition at line 10 of file TRestGDMLParser.cxx.

◆ GetGDMLVersion()

std::string TRestGDMLParser::GetGDMLVersion ( ) const
inline

Definition at line 29 of file TRestGDMLParser.h.

◆ GetGeoManager()

TGeoManager * TRestGDMLParser::GetGeoManager ( const std::string &  gdmlFilename)
inline

Definition at line 35 of file TRestGDMLParser.h.

◆ GetOutputGDMLFile()

std::string TRestGDMLParser::GetOutputGDMLFile ( ) const
inline

Definition at line 31 of file TRestGDMLParser.h.

◆ InitFromConfigFile()

void TRestGDMLParser::InitFromConfigFile ( )
inlineoverridevirtual

To make settings from rml file. This method must be implemented in the derived class.

Reimplemented from TRestMetadata.

Definition at line 46 of file TRestGDMLParser.h.

◆ Load()

void TRestGDMLParser::Load ( const std::string &  filename)

Definition at line 19 of file TRestGDMLParser.cxx.

◆ PrintContent()

void TRestGDMLParser::PrintContent ( )

Definition at line 100 of file TRestGDMLParser.cxx.

◆ ReplaceAttributeWithKeyWord()

void TRestGDMLParser::ReplaceAttributeWithKeyWord ( const std::string &  keyword)

Definition at line 160 of file TRestGDMLParser.cxx.

◆ ReplaceEntity()

void TRestGDMLParser::ReplaceEntity ( )

Definition at line 102 of file TRestGDMLParser.cxx.

Field Documentation

◆ fEntityVersionMap

std::map<std::string, std::string> TRestGDMLParser::fEntityVersionMap {}

Definition at line 25 of file TRestGDMLParser.h.

◆ fFileString

std::string TRestGDMLParser::fFileString = ""

Definition at line 19 of file TRestGDMLParser.h.

◆ fGdmlVersion

std::string TRestGDMLParser::fGdmlVersion = "0.0"

Definition at line 24 of file TRestGDMLParser.h.

◆ fGeoManager

TGeoManager* TRestGDMLParser::fGeoManager {}
private

Definition at line 13 of file TRestGDMLParser.h.

◆ fOutputGdmlDirectory

std::string TRestGDMLParser::fOutputGdmlDirectory
Initial value:
=
REST_USER_PATH.empty() ? REST_TMP_PATH + "/gdml/" : REST_USER_PATH + "/gdml/"

Definition at line 21 of file TRestGDMLParser.h.

◆ fOutputGdmlFilename

std::string TRestGDMLParser::fOutputGdmlFilename = ""

Definition at line 23 of file TRestGDMLParser.h.

◆ fPath

std::string TRestGDMLParser::fPath = ""

Definition at line 20 of file TRestGDMLParser.h.


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