Logo ROOT   6.21/01
Reference Guide
ROOTwriter.ROOTwriter Class Reference

Definition at line 58 of file ROOTwriter.py.

Public Member Functions

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

Public Attributes

 elements
 
 writer
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ __init__()

def ROOTwriter.ROOTwriter.__init__ (   self,
  writer 
)

Definition at line 60 of file ROOTwriter.py.

Member Function Documentation

◆ dumpGeoTree()

def ROOTwriter.ROOTwriter.dumpGeoTree (   self)

Definition at line 420 of file ROOTwriter.py.

◆ dumpMaterials()

def ROOTwriter.ROOTwriter.dumpMaterials (   self,
  matlist 
)

Definition at line 279 of file ROOTwriter.py.

◆ dumpSolids()

def ROOTwriter.ROOTwriter.dumpSolids (   self,
  shapelist 
)

Definition at line 295 of file ROOTwriter.py.

◆ examineVol()

def ROOTwriter.ROOTwriter.examineVol (   self,
  volume 
)

Definition at line 371 of file ROOTwriter.py.

◆ examineVol2()

def ROOTwriter.ROOTwriter.examineVol2 (   self,
  volume 
)

Definition at line 344 of file ROOTwriter.py.

◆ genName()

def ROOTwriter.ROOTwriter.genName (   self,
  name 
)

Definition at line 79 of file ROOTwriter.py.

◆ getNodes()

def ROOTwriter.ROOTwriter.getNodes (   self,
  volume 
)

Definition at line 330 of file ROOTwriter.py.

◆ orderVolumes()

def ROOTwriter.ROOTwriter.orderVolumes (   self,
  volume 
)

Definition at line 308 of file ROOTwriter.py.

◆ rotXYZ()

def ROOTwriter.ROOTwriter.rotXYZ (   self,
  r 
)

Definition at line 86 of file ROOTwriter.py.

◆ TGeoArb8()

def ROOTwriter.ROOTwriter.TGeoArb8 (   self,
  solid 
)

Definition at line 112 of file ROOTwriter.py.

◆ TGeoBBox()

def ROOTwriter.ROOTwriter.TGeoBBox (   self,
  solid 
)

Definition at line 101 of file ROOTwriter.py.

◆ TGeoCompositeShape()

def ROOTwriter.ROOTwriter.TGeoCompositeShape (   self,
  solid 
)

Definition at line 276 of file ROOTwriter.py.

◆ TGeoCone()

def ROOTwriter.ROOTwriter.TGeoCone (   self,
  solid 
)

Definition at line 136 of file ROOTwriter.py.

◆ TGeoConeSeg()

def ROOTwriter.ROOTwriter.TGeoConeSeg (   self,
  solid 
)

Definition at line 132 of file ROOTwriter.py.

◆ TGeoCtub()

def ROOTwriter.ROOTwriter.TGeoCtub (   self,
  solid 
)

Definition at line 166 of file ROOTwriter.py.

◆ TGeoEltu()

def ROOTwriter.ROOTwriter.TGeoEltu (   self,
  solid 
)

Definition at line 206 of file ROOTwriter.py.

◆ TGeoGtra()

def ROOTwriter.ROOTwriter.TGeoGtra (   self,
  solid 
)

Definition at line 149 of file ROOTwriter.py.

◆ TGeoHype()

def ROOTwriter.ROOTwriter.TGeoHype (   self,
  solid 
)

Definition at line 209 of file ROOTwriter.py.

◆ TGeoIntersection()

def ROOTwriter.ROOTwriter.TGeoIntersection (   self,
  solid 
)

Definition at line 234 of file ROOTwriter.py.

◆ TGeoPara()

def ROOTwriter.ROOTwriter.TGeoPara (   self,
  solid 
)

Definition at line 140 of file ROOTwriter.py.

◆ TGeoParaboloid()

def ROOTwriter.ROOTwriter.TGeoParaboloid (   self,
  solid 
)

Definition at line 104 of file ROOTwriter.py.

◆ TGeoPcon()

def ROOTwriter.ROOTwriter.TGeoPcon (   self,
  solid 
)

Definition at line 180 of file ROOTwriter.py.

◆ TGeoPgon()

def ROOTwriter.ROOTwriter.TGeoPgon (   self,
  solid 
)

Definition at line 190 of file ROOTwriter.py.

◆ TGeoSphere()

def ROOTwriter.ROOTwriter.TGeoSphere (   self,
  solid 
)

Definition at line 107 of file ROOTwriter.py.

◆ TGeoSubtraction()

def ROOTwriter.ROOTwriter.TGeoSubtraction (   self,
  solid 
)

Definition at line 255 of file ROOTwriter.py.

◆ TGeoTorus()

def ROOTwriter.ROOTwriter.TGeoTorus (   self,
  solid 
)

Definition at line 186 of file ROOTwriter.py.

◆ TGeoTrap()

def ROOTwriter.ROOTwriter.TGeoTrap (   self,
  solid 
)

Definition at line 144 of file ROOTwriter.py.

◆ TGeoTrd1()

def ROOTwriter.ROOTwriter.TGeoTrd1 (   self,
  solid 
)

Definition at line 154 of file ROOTwriter.py.

◆ TGeoTrd2()

def ROOTwriter.ROOTwriter.TGeoTrd2 (   self,
  solid 
)

Definition at line 158 of file ROOTwriter.py.

◆ TGeoTube()

def ROOTwriter.ROOTwriter.TGeoTube (   self,
  solid 
)

Definition at line 176 of file ROOTwriter.py.

◆ TGeoTubeSeg()

def ROOTwriter.ROOTwriter.TGeoTubeSeg (   self,
  solid 
)

Definition at line 162 of file ROOTwriter.py.

◆ TGeoUnion()

def ROOTwriter.ROOTwriter.TGeoUnion (   self,
  solid 
)

Definition at line 213 of file ROOTwriter.py.

◆ TGeoXtru()

def 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

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

Definition at line 336 of file ROOTwriter.py.

◆ name

string 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

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

Definition at line 430 of file ROOTwriter.py.

◆ rotname

string 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.


The documentation for this class was generated from the following file: