12 #ifndef ROOT_TGDMLParse 13 #define ROOT_TGDMLParse 15 #ifndef ROOT_TGeoMatrix 19 #ifndef ROOT_TXMLEngine 23 #ifndef ROOT_TGeoVolume 81 fPosInMap = baseMap.find(key);
84 operator T * ()
const {
85 return (
T*)fPosInMap->second;
89 fPosInMap->second = ptr;
118 for (
Int_t i=0; i<20; i++) fFileEngine[i] = 0;
132 TGeoVolume* GDMLReadFile(
const char* filename =
"test.gdml");
137 TString GetScale(
const char* unit);
138 double GetScaleVal(
const char* unit);
139 double Evaluate(
const char* evalline);
140 const char* NameShort(
const char*
name);
141 double Value(
const char *svalue)
const;
184 Int_t SetAxis(
const char* axisString);
204 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
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.
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)