12 #ifndef ROOT_TGDMLParse 13 #define ROOT_TGDMLParse 75 fPosInMap = baseMap.find(key);
78 operator T * ()
const {
79 return (
T*)fPosInMap->second;
83 fPosInMap->second = ptr;
112 for (
Int_t i=0; i<20; i++) fFileEngine[i] = 0;
126 TGeoVolume* GDMLReadFile(
const char* filename =
"test.gdml");
131 TString GetScale(
const char* unit);
132 double GetScaleVal(
const char* unit);
133 double Evaluate(
const char* evalline);
134 const char* NameShort(
const char*
name);
135 double Value(
const char *svalue)
const;
178 Int_t SetAxis(
const char* axisString);
198 typedef std::map<std::string, double>
FracMap;
TGDMMapHelper< TGeoTranslation > PosMap
RotMap frotmap
Map containing position names and the TGeoTranslation for it.
TGDMMapHelper< TGeoMedium > MedMap
MatMap fmatmap
Map containing element names and the TGeoElement for it.
std::map< std::string, double > ConstMap
TGDMAssignmentHelper(TGDMLBaseTGDMMapHelper &baseMap, const std::string &key)
Geometrical transformation package.
TGDMMapHelper< TGeoIsotope > IsoMap
EleMap felemap
Map containing isotope names and the TGeoIsotope for it.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
TGDMMapHelper< const char > FileMap
TGDMMapHelper< TGeoShape > SolMap
ReflectionsMap freflectmap
Map containing volume names and the TGeoVolume for it.
TGDMMapHelper< TGeoMaterial > MatMap
const char * fCurrentFile
This class contains the implementation of the GDML parser associated to all the supported GDML elemen...
TGDMMapHelper< TGeoVolume > VolMap
TGeoMatrix * fMatrix
solid name being reflected
#define ClassDef(name, id)
TGeoMatrix * GetMatrix()
This accessor method returns the matrix.
TGeoVolume * GDMLReadFile(const char *filename="test.gdml")
Creates the new instance of the XMLEngine called 'gdml', using the filename >> then parses the file a...
TGDMMapHelper< TGeoElement > EleMap
TObject & operator=(const TObject &rhs)
TObject assignment operator.
FileMap ffilemap
Map containing reflected volume names and the solid ref for it.
ConstMap fconsts
Map containing files parsed during entire parsing, with their world volume name.
This class is a helper class for TGDMLParse.
std::map< std::string, std::string > ReflectionsMap
std::map< std::string, double > FracMap
const char * fSolid
reflected solid name
IsoMap fisomap
Map containing scale names and the TGeoScale for it.
MixMap fmixmap
Map containing medium names and the TGeoMedium for it.
TGDMMapHelper< TGeoScale > SclMap
TGDMLBaseTGDMMapHelper::iterator fPosInMap
MedMap fmedmap
Map containing material names and the TGeoMaterial for it.
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t z
TGDMMapHelper< TGeoRotation > RotMap
SclMap fsclmap
Map containing rotation names and the TGeoRotation for it.
TGDMMapHelper< TGeoMixture > MixMap
SolMap fsolmap
Map containing mixture names and the TGeoMixture for it.
ReflVolMap freflvolmap
Map containing reflection names and the TGDMLRefl for it - containing refl matrix.
VolMap fvolmap
Map containing solid names and the TGeoShape for it.
std::map< std::string, std::string > ReflVolMap
ReflSolidMap freflsolidmap
Map containing reflection names and the Solid name ir references to.
TGDMMapHelper< TGDMLRefl > ReflSolidMap
static TGeoVolume * StartGDML(const char *filename)