Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOTwriter.ROOTwriter Class Reference

Definition at line 58 of file ROOTwriter.py.

Public Member Functions

 __init__ (self, writer)
 
 dumpGeoTree (self)
 
 dumpMaterials (self, matlist)
 
 dumpSolids (self, shapelist)
 
 examineVol (self, volume)
 
 examineVol2 (self, volume)
 
 genName (self, name)
 
 getNodes (self, volume)
 
 orderVolumes (self, volume)
 
 rotXYZ (self, r)
 
 TGeoArb8 (self, solid)
 
 TGeoBBox (self, solid)
 
 TGeoCompositeShape (self, solid)
 
 TGeoCone (self, solid)
 
 TGeoConeSeg (self, solid)
 
 TGeoCtub (self, solid)
 
 TGeoEltu (self, solid)
 
 TGeoGtra (self, solid)
 
 TGeoHype (self, solid)
 
 TGeoIntersection (self, solid)
 
 TGeoPara (self, solid)
 
 TGeoParaboloid (self, solid)
 
 TGeoPcon (self, solid)
 
 TGeoPgon (self, solid)
 
 TGeoSphere (self, solid)
 
 TGeoSubtraction (self, solid)
 
 TGeoTorus (self, solid)
 
 TGeoTrap (self, solid)
 
 TGeoTrd1 (self, solid)
 
 TGeoTrd2 (self, solid)
 
 TGeoTube (self, solid)
 
 TGeoTubeSeg (self, solid)
 
 TGeoUnion (self, solid)
 
 TGeoXtru (self, solid)
 

Public Attributes

 elements
 
 writer
 

Static Public Attributes

 bnodes
 
 bvols
 
 currentNode = volume.GetNode(i)
 
 daughters = volume.GetNodes()
 
list daughters = []
 
 geomgr
 
str index = str(nextVol.GetNumber())+"_"+str(libPyROOT.AddressOf(nextVol)[0])
 
str name = node.GetName()+'in'+volume.GetName()
 
 nd = volume.GetNdaughters()
 
 nextVol = currentNode.GetVolume()
 
 node = volume.GetNode(i)
 
 nodeCount
 
 nodes
 
 pos = node.GetMatrix().GetTranslation()
 
 r = self.rotXYZ(node.GetMatrix().GetRotationMatrix())
 
str rotname = ''
 
list sections = []
 
 shapesCount
 
 solList
 
 sortedVols
 
 vols
 
 volsUseCount
 
 volumeCount
 
Inheritance diagram for ROOTwriter.ROOTwriter:
[legend]

Constructor & Destructor Documentation

◆ __init__()

ROOTwriter.ROOTwriter.__init__ (   self,
  writer 
)

Definition at line 60 of file ROOTwriter.py.

Member Function Documentation

◆ dumpGeoTree()

ROOTwriter.ROOTwriter.dumpGeoTree (   self)

Definition at line 420 of file ROOTwriter.py.

◆ dumpMaterials()

ROOTwriter.ROOTwriter.dumpMaterials (   self,
  matlist 
)

Definition at line 279 of file ROOTwriter.py.

◆ dumpSolids()

ROOTwriter.ROOTwriter.dumpSolids (   self,
  shapelist 
)

Definition at line 295 of file ROOTwriter.py.

◆ examineVol()

ROOTwriter.ROOTwriter.examineVol (   self,
  volume 
)

Definition at line 371 of file ROOTwriter.py.

◆ examineVol2()

ROOTwriter.ROOTwriter.examineVol2 (   self,
  volume 
)

Definition at line 344 of file ROOTwriter.py.

◆ genName()

ROOTwriter.ROOTwriter.genName (   self,
  name 
)

Definition at line 79 of file ROOTwriter.py.

◆ getNodes()

ROOTwriter.ROOTwriter.getNodes (   self,
  volume 
)

Definition at line 330 of file ROOTwriter.py.

◆ orderVolumes()

ROOTwriter.ROOTwriter.orderVolumes (   self,
  volume 
)

Definition at line 308 of file ROOTwriter.py.

◆ rotXYZ()

ROOTwriter.ROOTwriter.rotXYZ (   self,
  r 
)

Definition at line 86 of file ROOTwriter.py.

◆ TGeoArb8()

ROOTwriter.ROOTwriter.TGeoArb8 (   self,
  solid 
)

Definition at line 112 of file ROOTwriter.py.

◆ TGeoBBox()

ROOTwriter.ROOTwriter.TGeoBBox (   self,
  solid 
)

Definition at line 101 of file ROOTwriter.py.

◆ TGeoCompositeShape()

ROOTwriter.ROOTwriter.TGeoCompositeShape (   self,
  solid 
)

Definition at line 276 of file ROOTwriter.py.

◆ TGeoCone()

ROOTwriter.ROOTwriter.TGeoCone (   self,
  solid 
)

Definition at line 136 of file ROOTwriter.py.

◆ TGeoConeSeg()

ROOTwriter.ROOTwriter.TGeoConeSeg (   self,
  solid 
)

Definition at line 132 of file ROOTwriter.py.

◆ TGeoCtub()

ROOTwriter.ROOTwriter.TGeoCtub (   self,
  solid 
)

Definition at line 166 of file ROOTwriter.py.

◆ TGeoEltu()

ROOTwriter.ROOTwriter.TGeoEltu (   self,
  solid 
)

Definition at line 206 of file ROOTwriter.py.

◆ TGeoGtra()

ROOTwriter.ROOTwriter.TGeoGtra (   self,
  solid 
)

Definition at line 149 of file ROOTwriter.py.

◆ TGeoHype()

ROOTwriter.ROOTwriter.TGeoHype (   self,
  solid 
)

Definition at line 209 of file ROOTwriter.py.

◆ TGeoIntersection()

ROOTwriter.ROOTwriter.TGeoIntersection (   self,
  solid 
)

Definition at line 234 of file ROOTwriter.py.

◆ TGeoPara()

ROOTwriter.ROOTwriter.TGeoPara (   self,
  solid 
)

Definition at line 140 of file ROOTwriter.py.

◆ TGeoParaboloid()

ROOTwriter.ROOTwriter.TGeoParaboloid (   self,
  solid 
)

Definition at line 104 of file ROOTwriter.py.

◆ TGeoPcon()

ROOTwriter.ROOTwriter.TGeoPcon (   self,
  solid 
)

Definition at line 180 of file ROOTwriter.py.

◆ TGeoPgon()

ROOTwriter.ROOTwriter.TGeoPgon (   self,
  solid 
)

Definition at line 190 of file ROOTwriter.py.

◆ TGeoSphere()

ROOTwriter.ROOTwriter.TGeoSphere (   self,
  solid 
)

Definition at line 107 of file ROOTwriter.py.

◆ TGeoSubtraction()

ROOTwriter.ROOTwriter.TGeoSubtraction (   self,
  solid 
)

Definition at line 255 of file ROOTwriter.py.

◆ TGeoTorus()

ROOTwriter.ROOTwriter.TGeoTorus (   self,
  solid 
)

Definition at line 186 of file ROOTwriter.py.

◆ TGeoTrap()

ROOTwriter.ROOTwriter.TGeoTrap (   self,
  solid 
)

Definition at line 144 of file ROOTwriter.py.

◆ TGeoTrd1()

ROOTwriter.ROOTwriter.TGeoTrd1 (   self,
  solid 
)

Definition at line 154 of file ROOTwriter.py.

◆ TGeoTrd2()

ROOTwriter.ROOTwriter.TGeoTrd2 (   self,
  solid 
)

Definition at line 158 of file ROOTwriter.py.

◆ TGeoTube()

ROOTwriter.ROOTwriter.TGeoTube (   self,
  solid 
)

Definition at line 176 of file ROOTwriter.py.

◆ TGeoTubeSeg()

ROOTwriter.ROOTwriter.TGeoTubeSeg (   self,
  solid 
)

Definition at line 162 of file ROOTwriter.py.

◆ TGeoUnion()

ROOTwriter.ROOTwriter.TGeoUnion (   self,
  solid 
)

Definition at line 213 of file ROOTwriter.py.

◆ TGeoXtru()

ROOTwriter.ROOTwriter.TGeoXtru (   self,
  solid 
)

Definition at line 197 of file ROOTwriter.py.

Member Data Documentation

◆ bnodes

ROOTwriter.ROOTwriter.bnodes
static

Definition at line 71 of file ROOTwriter.py.

◆ bvols

ROOTwriter.ROOTwriter.bvols
static

Definition at line 66 of file ROOTwriter.py.

◆ currentNode

ROOTwriter.ROOTwriter.currentNode = volume.GetNode(i)
static

Definition at line 334 of file ROOTwriter.py.

◆ daughters [1/2]

ROOTwriter.ROOTwriter.daughters = volume.GetNodes()
static

Definition at line 310 of file ROOTwriter.py.

◆ daughters [2/2]

list ROOTwriter.ROOTwriter.daughters = []
static

Definition at line 423 of file ROOTwriter.py.

◆ elements

ROOTwriter.ROOTwriter.elements

Definition at line 62 of file ROOTwriter.py.

◆ geomgr

ROOTwriter.ROOTwriter.geomgr
static

Definition at line 73 of file ROOTwriter.py.

◆ index

str ROOTwriter.ROOTwriter.index = str(nextVol.GetNumber())+"_"+str(libPyROOT.AddressOf(nextVol)[0])
static

Definition at line 336 of file ROOTwriter.py.

◆ name

str ROOTwriter.ROOTwriter.name = node.GetName()+'in'+volume.GetName()
static

Definition at line 427 of file ROOTwriter.py.

◆ nd

ROOTwriter.ROOTwriter.nd = volume.GetNdaughters()
static

Definition at line 422 of file ROOTwriter.py.

◆ nextVol

ROOTwriter.ROOTwriter.nextVol = currentNode.GetVolume()
static

Definition at line 335 of file ROOTwriter.py.

◆ node

ROOTwriter.ROOTwriter.node = volume.GetNode(i)
static

Definition at line 426 of file ROOTwriter.py.

◆ nodeCount

ROOTwriter.ROOTwriter.nodeCount
static

Definition at line 64 of file ROOTwriter.py.

◆ nodes

ROOTwriter.ROOTwriter.nodes
static

Definition at line 70 of file ROOTwriter.py.

◆ pos

ROOTwriter.ROOTwriter.pos = node.GetMatrix().GetTranslation()
static

Definition at line 428 of file ROOTwriter.py.

◆ r

ROOTwriter.ROOTwriter.r = self.rotXYZ(node.GetMatrix().GetRotationMatrix())
static

Definition at line 430 of file ROOTwriter.py.

◆ rotname

str ROOTwriter.ROOTwriter.rotname = ''
static

Definition at line 431 of file ROOTwriter.py.

◆ sections

list ROOTwriter.ROOTwriter.sections = []
static

Definition at line 199 of file ROOTwriter.py.

◆ shapesCount

ROOTwriter.ROOTwriter.shapesCount
static

Definition at line 65 of file ROOTwriter.py.

◆ solList

ROOTwriter.ROOTwriter.solList
static

Definition at line 72 of file ROOTwriter.py.

◆ sortedVols

ROOTwriter.ROOTwriter.sortedVols
static

Definition at line 69 of file ROOTwriter.py.

◆ vols

ROOTwriter.ROOTwriter.vols
static

Definition at line 67 of file ROOTwriter.py.

◆ volsUseCount

ROOTwriter.ROOTwriter.volsUseCount
static

Definition at line 68 of file ROOTwriter.py.

◆ volumeCount

ROOTwriter.ROOTwriter.volumeCount
static

Definition at line 63 of file ROOTwriter.py.

◆ writer

ROOTwriter.ROOTwriter.writer

Definition at line 61 of file ROOTwriter.py.

  • geom/gdml/ROOTwriter.py