Implement the possibility to import and export a TGeometry from/to a GDML file.
Implement the possibility to import and export a TGeometry from/to a GDML file.

Int_t TGeoManager::Export(const char *filename, const char *name, Option_t *option)
   // Export this geometry to a file
   //
   // -Case 1: root file
   //  if filename end with ".root". The key will be named name
   //  By default the geometry is saved without the voxelisation info.
   //  Use option 'v" to save the voxelisation info.
   //
   // -Case 2: C++ script
   //  if filename end with ".C"
   //
   // -Case 3: gdml file
   //  if filename end with ".gdml"
   //  NOTE that to use this option, the PYTHONPATH must be defined like
   //      export PYTHONPATH=$ROOTSYS/lib:$ROOTSYS/gdml
   //

TGeoManager *TGeoManager::Import(const char *filename, const char *name, Option_t * /*option*/)
   //static function
   //Import a geometry from a gdml or ROOT file
   //
   // -Case 1: gdml
   //  if filename ends with ".gdml" the foreign geomtery described with gdml
   //  is imported executing some python scriptsin $ROOTSYS/gdml.
   //  NOTE that to use this option, the PYTHONPATH must be defined like
   //      export PYTHONPATH=$ROOTSYS/lib:$ROOTSYS/gdml
   //
   // -Case 2: root file
   //  Import in memory from filename the geometry with key=name.
   //  if name="" (default), the first TGeoManager object in the file is returned.
   //
   //Note that this function deletes the current gGeoManager (if one)
   //before importing the new object.

To use the new import/export from/to gdml files, a new directory gdml
with python scripts is required. This new directory will be put in CVS shortly.


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@15358 27541ba8-7e3a-0410-8455-c3a389f83636

0x0all/ROOT,gganis/root,beniz/root,vukasinmilosevic/root,bbockelm/root,strykejern/TTreeReader,perovic/root,sawenzel/root,sirinath/root,olifre/root,strykejern/TTreeReader,simonpf/root,gbitzes/root,davidlt/root,abhinavmoudgil95/root,abhinavmoudgil95/root,abhinavmoudgil95/root,simonpf/root,evgeny-boger/root,gganis/root,pspe/root,tc3t/qoot,karies/root,vukasinmilosevic/root,beniz/root,beniz/root,smarinac/root,georgtroska/root,Dr15Jones/root,omazapa/root-old,zzxuanyuan/root,zzxuanyuan/root,simonpf/root,mhuwiler/rootauto,sawenzel/root,lgiommi/root,bbockelm/root,arch1tect0r/root,arch1tect0r/root,omazapa/root,thomaskeck/root,georgtroska/root,simonpf/root,thomaskeck/root,mattkretz/root,evgeny-boger/root,olifre/root,beniz/root,arch1tect0r/root,zzxuanyuan/root,Dr15Jones/root,perovic/root,evgeny-boger/root,mhuwiler/rootauto,veprbl/root,mkret2/root,simonpf/root,omazapa/root,lgiommi/root,pspe/root,esakellari/my_root_for_test,simonpf/root,karies/root,georgtroska/root,esakellari/root,jrtomps/root,root-mirror/root,veprbl/root,tc3t/qoot,sawenzel/root,olifre/root,Y--/root,bbockelm/root,BerserkerTroll/root,lgiommi/root,Y--/root,nilqed/root,satyarth934/root,smarinac/root,smarinac/root,Duraznos/root,kirbyherm/root-r-tools,beniz/root,sbinet/cxx-root,gbitzes/root,BerserkerTroll/root,georgtroska/root,nilqed/root,Duraznos/root,beniz/root,Y--/root,georgtroska/root,mhuwiler/rootauto,mkret2/root,esakellari/root,esakellari/root,zzxuanyuan/root,vukasinmilosevic/root,davidlt/root,sirinath/root,mkret2/root,buuck/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,lgiommi/root,thomaskeck/root,bbockelm/root,perovic/root,Y--/root,omazapa/root-old,olifre/root,BerserkerTroll/root,tc3t/qoot,mattkretz/root,abhinavmoudgil95/root,strykejern/TTreeReader,arch1tect0r/root,sirinath/root,0x0all/ROOT,simonpf/root,CristinaCristescu/root,jrtomps/root,zzxuanyuan/root-compressor-dummy,abhinavmoudgil95/root,veprbl/root,kirbyherm/root-r-tools,alexschlueter/cern-root,CristinaCristescu/root,krafczyk/root,thomaskeck/root,dfunke/root,jrtomps/root,omazapa/root-old,perovic/root,mattkretz/root,pspe/root,esakellari/my_root_for_test,arch1tect0r/root,0x0all/ROOT,evgeny-boger/root,georgtroska/root,buuck/root,root-mirror/root,smarinac/root,cxx-hep/root-cern,alexschlueter/cern-root,Y--/root,bbockelm/root,veprbl/root,omazapa/root,vukasinmilosevic/root,Y--/root,esakellari/root,0x0all/ROOT,zzxuanyuan/root,pspe/root,buuck/root,perovic/root,karies/root,alexschlueter/cern-root,evgeny-boger/root,esakellari/my_root_for_test,mattkretz/root,gganis/root,bbockelm/root,abhinavmoudgil95/root,dfunke/root,ffurano/root5,veprbl/root,Y--/root,kirbyherm/root-r-tools,krafczyk/root,sbinet/cxx-root,abhinavmoudgil95/root,root-mirror/root,mhuwiler/rootauto,omazapa/root,root-mirror/root,perovic/root,cxx-hep/root-cern,perovic/root,krafczyk/root,Duraznos/root,alexschlueter/cern-root,karies/root,mkret2/root,satyarth934/root,sbinet/cxx-root,thomaskeck/root,root-mirror/root,arch1tect0r/root,nilqed/root,zzxuanyuan/root,omazapa/root,CristinaCristescu/root,agarciamontoro/root,mkret2/root,davidlt/root,CristinaCristescu/root,Duraznos/root,satyarth934/root,BerserkerTroll/root,vukasinmilosevic/root,0x0all/ROOT,bbockelm/root,mattkretz/root,vukasinmilosevic/root,mhuwiler/rootauto,tc3t/qoot,BerserkerTroll/root,mattkretz/root,gbitzes/root,tc3t/qoot,perovic/root,agarciamontoro/root,agarciamontoro/root,agarciamontoro/root,jrtomps/root,mkret2/root,0x0all/ROOT,esakellari/root,mhuwiler/rootauto,mhuwiler/rootauto,olifre/root,nilqed/root,buuck/root,thomaskeck/root,zzxuanyuan/root-compressor-dummy,gbitzes/root,esakellari/root,sbinet/cxx-root,krafczyk/root,buuck/root,perovic/root,nilqed/root,dfunke/root,olifre/root,alexschlueter/cern-root,gbitzes/root,gganis/root,esakellari/my_root_for_test,thomaskeck/root,dfunke/root,vukasinmilosevic/root,mattkretz/root,davidlt/root,sbinet/cxx-root,zzxuanyuan/root,mattkretz/root,satyarth934/root,Dr15Jones/root,Y--/root,simonpf/root,kirbyherm/root-r-tools,pspe/root,sirinath/root,bbockelm/root,beniz/root,BerserkerTroll/root,georgtroska/root,ffurano/root5,gbitzes/root,thomaskeck/root,veprbl/root,kirbyherm/root-r-tools,tc3t/qoot,0x0all/ROOT,satyarth934/root,krafczyk/root,georgtroska/root,nilqed/root,omazapa/root,evgeny-boger/root,BerserkerTroll/root,sawenzel/root,mattkretz/root,sawenzel/root,sawenzel/root,arch1tect0r/root,Dr15Jones/root,buuck/root,abhinavmoudgil95/root,satyarth934/root,simonpf/root,vukasinmilosevic/root,strykejern/TTreeReader,karies/root,tc3t/qoot,agarciamontoro/root,davidlt/root,CristinaCristescu/root,jrtomps/root,smarinac/root,esakellari/my_root_for_test,cxx-hep/root-cern,esakellari/my_root_for_test,zzxuanyuan/root,esakellari/root,davidlt/root,mkret2/root,ffurano/root5,omazapa/root,sawenzel/root,gganis/root,smarinac/root,omazapa/root-old,perovic/root,Dr15Jones/root,sawenzel/root,davidlt/root,strykejern/TTreeReader,beniz/root,simonpf/root,zzxuanyuan/root-compressor-dummy,satyarth934/root,zzxuanyuan/root-compressor-dummy,omazapa/root-old,kirbyherm/root-r-tools,Dr15Jones/root,sirinath/root,lgiommi/root,abhinavmoudgil95/root,jrtomps/root,root-mirror/root,sirinath/root,davidlt/root,jrtomps/root,krafczyk/root,beniz/root,omazapa/root-old,krafczyk/root,zzxuanyuan/root,veprbl/root,Dr15Jones/root,ffurano/root5,olifre/root,root-mirror/root,karies/root,mkret2/root,evgeny-boger/root,agarciamontoro/root,gganis/root,zzxuanyuan/root,mhuwiler/rootauto,krafczyk/root,Duraznos/root,strykejern/TTreeReader,beniz/root,arch1tect0r/root,root-mirror/root,karies/root,buuck/root,gbitzes/root,gbitzes/root,omazapa/root,Duraznos/root,veprbl/root,lgiommi/root,thomaskeck/root,CristinaCristescu/root,olifre/root,sirinath/root,gbitzes/root,ffurano/root5,zzxuanyuan/root-compressor-dummy,satyarth934/root,karies/root,buuck/root,bbockelm/root,dfunke/root,cxx-hep/root-cern,arch1tect0r/root,omazapa/root,karies/root,vukasinmilosevic/root,omazapa/root-old,esakellari/root,nilqed/root,krafczyk/root,davidlt/root,lgiommi/root,beniz/root,vukasinmilosevic/root,satyarth934/root,buuck/root,arch1tect0r/root,mkret2/root,pspe/root,root-mirror/root,cxx-hep/root-cern,mkret2/root,agarciamontoro/root,Y--/root,zzxuanyuan/root-compressor-dummy,nilqed/root,tc3t/qoot,sbinet/cxx-root,sbinet/cxx-root,gganis/root,CristinaCristescu/root,mhuwiler/rootauto,sirinath/root,jrtomps/root,CristinaCristescu/root,Duraznos/root,esakellari/root,omazapa/root-old,lgiommi/root,BerserkerTroll/root,lgiommi/root,jrtomps/root,dfunke/root,vukasinmilosevic/root,sirinath/root,gganis/root,zzxuanyuan/root-compressor-dummy,nilqed/root,Y--/root,evgeny-boger/root,0x0all/ROOT,buuck/root,dfunke/root,buuck/root,arch1tect0r/root,gbitzes/root,agarciamontoro/root,agarciamontoro/root,mhuwiler/rootauto,strykejern/TTreeReader,mhuwiler/rootauto,gganis/root,zzxuanyuan/root-compressor-dummy,omazapa/root-old,sbinet/cxx-root,Duraznos/root,smarinac/root,Y--/root,satyarth934/root,alexschlueter/cern-root,olifre/root,esakellari/my_root_for_test,tc3t/qoot,krafczyk/root,agarciamontoro/root,jrtomps/root,veprbl/root,mkret2/root,smarinac/root,Duraznos/root,gganis/root,sawenzel/root,nilqed/root,dfunke/root,omazapa/root-old,agarciamontoro/root,gganis/root,omazapa/root-old,esakellari/root,lgiommi/root,tc3t/qoot,alexschlueter/cern-root,evgeny-boger/root,pspe/root,root-mirror/root,karies/root,0x0all/ROOT,veprbl/root,satyarth934/root,pspe/root,cxx-hep/root-cern,sawenzel/root,esakellari/my_root_for_test,karies/root,pspe/root,sirinath/root,krafczyk/root,georgtroska/root,ffurano/root5,sbinet/cxx-root,Duraznos/root,sirinath/root,jrtomps/root,Duraznos/root,georgtroska/root,zzxuanyuan/root-compressor-dummy,georgtroska/root,davidlt/root,sawenzel/root,olifre/root,smarinac/root,mattkretz/root,nilqed/root,evgeny-boger/root,pspe/root,dfunke/root,CristinaCristescu/root,esakellari/my_root_for_test,pspe/root,zzxuanyuan/root-compressor-dummy,simonpf/root,gbitzes/root,zzxuanyuan/root,mattkretz/root,BerserkerTroll/root,abhinavmoudgil95/root,esakellari/root,thomaskeck/root,olifre/root,omazapa/root,lgiommi/root,dfunke/root,cxx-hep/root-cern,cxx-hep/root-cern,smarinac/root,evgeny-boger/root,abhinavmoudgil95/root,BerserkerTroll/root,BerserkerTroll/root,omazapa/root,perovic/root,root-mirror/root,veprbl/root,dfunke/root,CristinaCristescu/root,esakellari/my_root_for_test,ffurano/root5,sbinet/cxx-root,sbinet/cxx-root,zzxuanyuan/root,bbockelm/root,kirbyherm/root-r-tools,CristinaCristescu/root,davidlt/root