ROOT
6.06/09
Reference Guide
|
Definition at line 111 of file TGDMLWrite.h.
Classes | |
struct | NameLst |
struct | StructLst |
struct | Xyz |
Public Types | |
enum | ENamingType { kelegantButSlow = 0, kwithoutSufixNotUniq = 1, kfastButUglySufix = 2 } |
Public Types inherited from TObject | |
enum | EStatusBits { kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13) } |
enum | { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) } |
Public Member Functions | |
TGDMLWrite () | |
virtual | ~TGDMLWrite () |
Destructor. More... | |
void | WriteGDMLfile (TGeoManager *geomanager, const char *filename="test.gdml", TString option="") |
Wrapper of all exporting methods Creates blank GDML file and fills it with gGeoManager structure converted to GDML structure of xml nodes. More... | |
void | SetNamingSpeed (ENamingType naming) |
Set convetion of naming solids and volumes. More... | |
void | SetG4Compatibility (Bool_t G4Compatible) |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. More... | |
virtual void | Copy (TObject &object) const |
Copy this to obj. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. More... | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current pad. More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
Execute method on this object with the given parameter string, e.g. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual Option_t * | GetOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
virtual Bool_t | IsSortable () const |
Bool_t | IsOnHeap () const |
Bool_t | IsZombie () const |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. More... | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual void | Print (Option_t *option="") const |
This method must be overridden when a class wants to print itself. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
void * | operator new (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz, void *vp) |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
void | ResetBit (UInt_t f) |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
void | InvertBit (UInt_t f) |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
Static Public Member Functions | |
static void | StartGDMLWriting (TGeoManager *geomanager, const char *filename, TString option) |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
Private Types | |
typedef std::map< TString, Bool_t > | NameList |
typedef std::map< TString, TString > | NameListS |
typedef std::map< TString, Int_t > | NameListI |
typedef std::map< TString, Float_t > | NameListF |
Private Member Functions | |
XMLNodePointer_t | ExtractMaterials (TList *materialsLst) |
Method exporting materials. More... | |
TString | ExtractSolid (TGeoShape *volShape) |
Method creating solid to xml file and returning its name. More... | |
void | ExtractVolumes (TGeoVolume *volume) |
Method extracting geometry structure recursively. More... | |
XMLNodePointer_t | CreateAtomN (Double_t atom, const char *unit="g/mole") |
Creates "atom" node for GDML. More... | |
XMLNodePointer_t | CreateDN (Double_t density, const char *unit="g/cm3") |
Creates "D" density node for GDML. More... | |
XMLNodePointer_t | CreateFractionN (Double_t percentage, const char *refName) |
Creates "fraction" node for GDML. More... | |
XMLNodePointer_t | CreateIsotopN (TGeoIsotope *isotope, const char *name) |
Creates "isotope" node for GDML. More... | |
XMLNodePointer_t | CreateElementN (TGeoElement *element, XMLNodePointer_t materials, const char *name) |
Creates "element" node for GDML element node and attribute. More... | |
XMLNodePointer_t | CreateMixtureN (TGeoMixture *mixture, XMLNodePointer_t materials, TString mname) |
Creates "material" node for GDML with references to other sub elements. More... | |
XMLNodePointer_t | CreateMaterialN (TGeoMaterial *material, TString mname) |
Creates "material" node for GDML. More... | |
XMLNodePointer_t | ChooseObject (TGeoShape *geoShape) |
Chooses the object and method that should be used for processing object. More... | |
XMLNodePointer_t | CreateZplaneN (Double_t z, Double_t rmin, Double_t rmax) |
Creates "zplane" node for GDML. More... | |
XMLNodePointer_t | CreateBoxN (TGeoBBox *geoShape) |
Creates "box" node for GDML. More... | |
XMLNodePointer_t | CreateParaboloidN (TGeoParaboloid *geoShape) |
Creates "paraboloid" node for GDML. More... | |
XMLNodePointer_t | CreateSphereN (TGeoSphere *geoShape) |
Creates "sphere" node for GDML. More... | |
XMLNodePointer_t | CreateArb8N (TGeoArb8 *geoShape) |
Creates "arb8" node for GDML. More... | |
XMLNodePointer_t | CreateConeN (TGeoConeSeg *geoShape) |
Creates "cone" node for GDML from TGeoConeSeg object. More... | |
XMLNodePointer_t | CreateConeN (TGeoCone *geoShape) |
Creates "cone" node for GDML from TGeoCone object. More... | |
XMLNodePointer_t | CreateParaN (TGeoPara *geoShape) |
Creates "para" node for GDML. More... | |
XMLNodePointer_t | CreateTrapN (TGeoTrap *geoShape) |
Creates "trap" node for GDML. More... | |
XMLNodePointer_t | CreateTwistedTrapN (TGeoGtra *geoShape) |
Creates "twistedtrap" node for GDML. More... | |
XMLNodePointer_t | CreateTrdN (TGeoTrd1 *geoShape) |
Creates "trd" node for GDML from object TGeoTrd1. More... | |
XMLNodePointer_t | CreateTrdN (TGeoTrd2 *geoShape) |
Creates "trd" node for GDML from object TGeoTrd2. More... | |
XMLNodePointer_t | CreateTubeN (TGeoTubeSeg *geoShape) |
Creates "tube" node for GDML from object TGeoTubeSeg. More... | |
XMLNodePointer_t | CreateCutTubeN (TGeoCtub *geoShape) |
Creates "cutTube" node for GDML. More... | |
XMLNodePointer_t | CreateTubeN (TGeoTube *geoShape) |
Creates "tube" node for GDML from object TGeoTube. More... | |
XMLNodePointer_t | CreatePolyconeN (TGeoPcon *geoShape) |
Creates "polycone" node for GDML. More... | |
XMLNodePointer_t | CreateTorusN (TGeoTorus *geoShape) |
Creates "torus" node for GDML. More... | |
XMLNodePointer_t | CreatePolyhedraN (TGeoPgon *geoShape) |
Creates "polyhedra" node for GDML. More... | |
XMLNodePointer_t | CreateEltubeN (TGeoEltu *geoShape) |
Creates "eltube" node for GDML. More... | |
XMLNodePointer_t | CreateHypeN (TGeoHype *geoShape) |
Creates "hype" node for GDML. More... | |
XMLNodePointer_t | CreateXtrusionN (TGeoXtru *geoShape) |
Creates "xtru" node for GDML. More... | |
XMLNodePointer_t | CreateEllipsoidN (TGeoCompositeShape *geoShape, TString elName) |
Creates "ellipsoid" node for GDML this is a special case, because ellipsoid is not defined in ROOT so when intersection of scaled sphere and TGeoBBox is found, it is considered as an ellipsoid. More... | |
XMLNodePointer_t | CreateElConeN (TGeoScaledShape *geoShape) |
Creates "elcone" (elliptical cone) node for GDML this is a special case, because elliptical cone is not defined in ROOT so when scaled cone is found, it is considered as a elliptical cone. More... | |
XMLNodePointer_t | CreateCommonBoolN (TGeoCompositeShape *geoShape) |
Creates common part of union intersection and subtraction nodes. More... | |
XMLNodePointer_t | CreatePhysVolN (const char *name, Int_t copyno, const char *volref, const char *posref, const char *rotref, XMLNodePointer_t scaleN) |
Creates "physvol" node for GDML. More... | |
XMLNodePointer_t | CreateDivisionN (Double_t offset, Double_t width, Int_t number, const char *axis, const char *unit, const char *volref) |
Creates "divisionvol" node for GDML. More... | |
XMLNodePointer_t | CreateSetupN (const char *topVolName, const char *name="default", const char *version="1.0") |
Creates "setup" node for GDML. More... | |
XMLNodePointer_t | StartVolumeN (const char *name, const char *solid, const char *material) |
Creates "volume" node for GDML. More... | |
XMLNodePointer_t | StartAssemblyN (const char *name) |
Creates "assembly" node for GDML. More... | |
Xyz | GetXYZangles (const Double_t *rotationMatrix) |
Retrieves X Y Z angles from rotation matrix. More... | |
XMLNodePointer_t | CreatePositionN (const char *name, Xyz position, const char *type="position", const char *unit="cm") |
Creates "position" kind of node for GDML. More... | |
XMLNodePointer_t | CreateRotationN (const char *name, Xyz rotation, const char *type="rotation", const char *unit="deg") |
Creates "rotation" kind of node for GDML. More... | |
TGeoCompositeShape * | CreateFakeCtub (TGeoCtub *geoShape) |
Method creating cutTube as an intersection of tube and two boxes. More... | |
Bool_t | IsInList (NameList list, TString name2check) |
Checks whether name2check is in (NameList) list. More... | |
TString | GenName (TString oldname) |
NCNAME basic restrictions Replace "$" character with empty character etc. More... | |
TString | GenName (TString oldname, TString objPointer) |
Important function which is responsible for naming volumes, solids and materials. More... | |
Bool_t | CanProcess (TObject *pointer) |
Method which tests whether solids can be processed. More... | |
TString | GetPattAxis (Int_t divAxis, const char *pattName, TString &unit) |
Method that retrieves axis and unit along which object is divided. More... | |
Bool_t | IsNullParam (Double_t parValue, TString parName, TString objName) |
Check for null parameter to skip the NULL objects. More... | |
void | UnsetTemporaryBits (TGeoManager *geoMng) |
Unsetting bits that were changed in gGeoManager during export so that export can be run more times with the same instance of gGeoManager. More... | |
Static Private Attributes | |
static TGDMLWrite * | fgGDMLWrite |
static const UInt_t | fgkProcBit = BIT(14) |
static const UInt_t | fgkProcBitVol = BIT(19) |
static const UInt_t | fgkMaxNameErr = 5 |
Additional Inherited Members | |
Protected Member Functions inherited from TObject | |
void | MakeZombie () |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
#include <TGDMLWrite.h>
|
private |
Definition at line 147 of file TGDMLWrite.h.
|
private |
Definition at line 150 of file TGDMLWrite.h.
|
private |
Definition at line 149 of file TGDMLWrite.h.
|
private |
Definition at line 148 of file TGDMLWrite.h.
Enumerator | |
---|---|
kelegantButSlow | |
kwithoutSufixNotUniq | |
kfastButUglySufix |
Definition at line 130 of file TGDMLWrite.h.
TGDMLWrite::TGDMLWrite | ( | ) |
Referenced by StartGDMLWriting().
|
virtual |
Destructor.
Definition at line 185 of file TGDMLWrite.cxx.
Method which tests whether solids can be processed.
Definition at line 1952 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Chooses the object and method that should be used for processing object.
Definition at line 1672 of file TGDMLWrite.cxx.
Referenced by CreateCommonBoolN(), CreateCutTubeN(), and ExtractSolid().
|
private |
Creates "arb8" node for GDML.
Definition at line 799 of file TGDMLWrite.cxx.
Referenced by ChooseObject(), CreateTrapN(), and CreateTwistedTrapN().
|
private |
Creates "atom" node for GDML.
Definition at line 541 of file TGDMLWrite.cxx.
Referenced by CreateElementN(), CreateIsotopN(), and CreateMaterialN().
|
private |
Creates "box" node for GDML.
Definition at line 734 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates common part of union intersection and subtraction nodes.
Definition at line 1407 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "cone" node for GDML from TGeoConeSeg object.
Definition at line 833 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "cone" node for GDML from TGeoCone object.
Definition at line 858 of file TGDMLWrite.cxx.
|
private |
Creates "cutTube" node for GDML.
Definition at line 1075 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "divisionvol" node for GDML.
Definition at line 1638 of file TGDMLWrite.cxx.
Referenced by ExtractVolumes().
|
private |
Creates "D" density node for GDML.
Definition at line 552 of file TGDMLWrite.cxx.
Referenced by CreateMaterialN(), and CreateMixtureN().
|
private |
Creates "elcone" (elliptical cone) node for GDML this is a special case, because elliptical cone is not defined in ROOT so when scaled cone is found, it is considered as a elliptical cone.
Definition at line 1382 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "element" node for GDML element node and attribute.
Definition at line 588 of file TGDMLWrite.cxx.
Referenced by CreateMixtureN().
|
private |
Creates "ellipsoid" node for GDML this is a special case, because ellipsoid is not defined in ROOT so when intersection of scaled sphere and TGeoBBox is found, it is considered as an ellipsoid.
Definition at line 1344 of file TGDMLWrite.cxx.
Referenced by CreateCommonBoolN().
|
private |
Creates "eltube" node for GDML.
Definition at line 1254 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Method creating cutTube as an intersection of tube and two boxes.
Definition at line 1790 of file TGDMLWrite.cxx.
Referenced by CreateCutTubeN().
|
private |
Creates "fraction" node for GDML.
Definition at line 563 of file TGDMLWrite.cxx.
Referenced by CreateElementN(), and CreateMixtureN().
|
private |
Creates "hype" node for GDML.
Definition at line 1277 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "isotope" node for GDML.
Definition at line 574 of file TGDMLWrite.cxx.
Referenced by CreateElementN().
|
private |
Creates "material" node for GDML.
Definition at line 704 of file TGDMLWrite.cxx.
Referenced by ExtractMaterials().
|
private |
Creates "material" node for GDML with references to other sub elements.
Definition at line 651 of file TGDMLWrite.cxx.
Referenced by ExtractMaterials().
|
private |
Creates "paraboloid" node for GDML.
Definition at line 755 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "para" node for GDML.
Definition at line 883 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "physvol" node for GDML.
Definition at line 1606 of file TGDMLWrite.cxx.
Referenced by ExtractVolumes().
|
private |
Creates "polycone" node for GDML.
Definition at line 1157 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "polyhedra" node for GDML.
Definition at line 1233 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "position" kind of node for GDML.
Definition at line 1534 of file TGDMLWrite.cxx.
Referenced by CreateCommonBoolN(), and ExtractVolumes().
|
private |
Creates "rotation" kind of node for GDML.
Definition at line 1548 of file TGDMLWrite.cxx.
Referenced by CreateCommonBoolN(), and ExtractVolumes().
|
private |
Creates "setup" node for GDML.
Definition at line 1562 of file TGDMLWrite.cxx.
Referenced by WriteGDMLfile().
|
private |
Creates "sphere" node for GDML.
Definition at line 775 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "torus" node for GDML.
Definition at line 1209 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "trap" node for GDML.
Definition at line 903 of file TGDMLWrite.cxx.
Referenced by ChooseObject(), and CreateTwistedTrapN().
|
private |
Creates "trd" node for GDML from object TGeoTrd1.
Definition at line 1007 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "trd" node for GDML from object TGeoTrd2.
Definition at line 1029 of file TGDMLWrite.cxx.
|
private |
Creates "tube" node for GDML from object TGeoTubeSeg.
Definition at line 1051 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "tube" node for GDML from object TGeoTube.
Definition at line 1119 of file TGDMLWrite.cxx.
|
private |
Creates "twistedtrap" node for GDML.
Definition at line 948 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "xtru" node for GDML.
Definition at line 1302 of file TGDMLWrite.cxx.
Referenced by ChooseObject().
|
private |
Creates "zplane" node for GDML.
Definition at line 1143 of file TGDMLWrite.cxx.
Referenced by CreatePolyconeN(), and CreatePolyhedraN().
|
private |
Method exporting materials.
Definition at line 331 of file TGDMLWrite.cxx.
Referenced by WriteGDMLfile().
Method creating solid to xml file and returning its name.
Definition at line 363 of file TGDMLWrite.cxx.
Referenced by ExtractVolumes().
|
private |
Method extracting geometry structure recursively.
Definition at line 381 of file TGDMLWrite.cxx.
Referenced by WriteGDMLfile().
NCNAME basic restrictions Replace "$" character with empty character etc.
Definition at line 1878 of file TGDMLWrite.cxx.
Referenced by ChooseObject(), CreateArb8N(), CreateBoxN(), CreateCommonBoolN(), CreateConeN(), CreateCutTubeN(), CreateElConeN(), CreateEltubeN(), CreateHypeN(), CreateParaboloidN(), CreateParaN(), CreatePolyconeN(), CreatePolyhedraN(), CreateSphereN(), CreateTorusN(), CreateTrapN(), CreateTrdN(), CreateTubeN(), CreateTwistedTrapN(), CreateXtrusionN(), ExtractMaterials(), ExtractVolumes(), and GenName().
Important function which is responsible for naming volumes, solids and materials.
Definition at line 1908 of file TGDMLWrite.cxx.
Method that retrieves axis and unit along which object is divided.
Definition at line 1963 of file TGDMLWrite.cxx.
Referenced by ExtractVolumes().
|
private |
Retrieves X Y Z angles from rotation matrix.
Definition at line 1764 of file TGDMLWrite.cxx.
Referenced by CreateCommonBoolN(), and ExtractVolumes().
Checks whether name2check is in (NameList) list.
Definition at line 1868 of file TGDMLWrite.cxx.
Referenced by CreateElementN(), and CreateMixtureN().
Check for null parameter to skip the NULL objects.
Definition at line 1998 of file TGDMLWrite.cxx.
Referenced by CreateArb8N(), CreateBoxN(), CreateConeN(), CreateCutTubeN(), CreateEltubeN(), CreateHypeN(), CreateParaboloidN(), CreateSphereN(), CreateTorusN(), CreateTrapN(), CreateTrdN(), CreateTubeN(), and CreateTwistedTrapN().
Definition at line 136 of file TGDMLWrite.h.
Referenced by WriteGDMLfile().
void TGDMLWrite::SetNamingSpeed | ( | ENamingType | naming | ) |
Set convetion of naming solids and volumes.
Definition at line 199 of file TGDMLWrite.cxx.
Referenced by WriteGDMLfile().
|
private |
Creates "assembly" node for GDML.
Definition at line 1595 of file TGDMLWrite.cxx.
Referenced by ExtractVolumes().
|
inlinestatic |
Definition at line 116 of file TGDMLWrite.h.
|
private |
Creates "volume" node for GDML.
Definition at line 1575 of file TGDMLWrite.cxx.
Referenced by ExtractVolumes().
|
private |
Unsetting bits that were changed in gGeoManager during export so that export can be run more times with the same instance of gGeoManager.
Definition at line 2014 of file TGDMLWrite.cxx.
Referenced by WriteGDMLfile().
void TGDMLWrite::WriteGDMLfile | ( | TGeoManager * | geomanager, |
const char * | filename = "test.gdml" , |
||
TString | option = "" |
||
) |
Wrapper of all exporting methods Creates blank GDML file and fills it with gGeoManager structure converted to GDML structure of xml nodes.
Definition at line 209 of file TGDMLWrite.cxx.
Referenced by StartGDMLWriting().
|
private |
Definition at line 162 of file TGDMLWrite.h.
Referenced by ~TGDMLWrite().
|
private |
Definition at line 181 of file TGDMLWrite.h.
|
private |
Definition at line 175 of file TGDMLWrite.h.
|
private |
Definition at line 161 of file TGDMLWrite.h.
Referenced by ~TGDMLWrite().
|
private |
Definition at line 173 of file TGDMLWrite.h.
Referenced by WriteGDMLfile().
|
private |
Definition at line 171 of file TGDMLWrite.h.
|
private |
Definition at line 170 of file TGDMLWrite.h.
Referenced by SetG4Compatibility().
|
staticprivate |
Definition at line 168 of file TGDMLWrite.h.
|
staticprivate |
Definition at line 186 of file TGDMLWrite.h.
Referenced by GenName().
Definition at line 184 of file TGDMLWrite.h.
Referenced by CanProcess(), and UnsetTemporaryBits().
Definition at line 185 of file TGDMLWrite.h.
Referenced by ExtractVolumes(), and UnsetTemporaryBits().
|
private |
Definition at line 169 of file TGDMLWrite.h.
|
private |
Definition at line 160 of file TGDMLWrite.h.
Referenced by ~TGDMLWrite().
|
private |
Definition at line 176 of file TGDMLWrite.h.
|
private |
Definition at line 165 of file TGDMLWrite.h.
Referenced by ~TGDMLWrite().
|
private |
Definition at line 180 of file TGDMLWrite.h.
|
private |
Definition at line 163 of file TGDMLWrite.h.
Referenced by ~TGDMLWrite().
|
private |
Definition at line 182 of file TGDMLWrite.h.
|
private |
Definition at line 177 of file TGDMLWrite.h.
|
private |
Definition at line 178 of file TGDMLWrite.h.
|
private |
Definition at line 172 of file TGDMLWrite.h.
|
private |
Definition at line 179 of file TGDMLWrite.h.