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;
125 for (
size_t i = 0; i < fformvec.size(); i++)
126 if (fformvec[i] !=
NULL)
delete fformvec[i];
140 TString GetScale(
const char* unit);
141 double GetScaleVal(
const char* unit);
142 double Evaluate(
const char* evalline);
143 const char* NameShort(
const char*
name);
144 double Value(
const char *svalue)
const;
187 Int_t SetAxis(
const char* axisString);
207 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.
TGDMAssignmentHelper(TGDMLBaseTGDMMapHelper &baseMap, const std::string &key)
TGDMMapHelper< TGeoIsotope > IsoMap
EleMap felemap
Map containing isotope names and the TGeoIsotope for it.
static const char * filename()
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)
FormVec fformvec
Map containing files parsed during entire parsing, with their world volume name.
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
std::vector< TFormula * > FormVec
TObject & operator=(const TObject &rhs)
TObject assignment operator.
FileMap ffilemap
Map containing reflected volume names and the solid ref for it.
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.
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)