ROOT  6.06/08
Reference Guide
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ROOTwriter.ROOTwriter Class Reference

Definition at line 58 of file ROOTwriter.py.

Public Member Functions

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

Public Attributes

 writer
 
 elements
 

Static Public Attributes

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

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.

Referenced by ROOTwriter.ROOTwriter.examineVol2().

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

Referenced by ROOTwriter.ROOTwriter.examineVol().

§ examineVol2()

def ROOTwriter.ROOTwriter.examineVol2 (   self,
  volume 
)

Definition at line 344 of file ROOTwriter.py.

§ genName()

def ROOTwriter.ROOTwriter.genName (   self,
  name 
)

§ getNodes()

def ROOTwriter.ROOTwriter.getNodes (   self,
  volume 
)

Definition at line 330 of file ROOTwriter.py.

Referenced by ROOTwriter.ROOTwriter.examineVol2().

§ orderVolumes()

def ROOTwriter.ROOTwriter.orderVolumes (   self,
  volume 
)

Definition at line 308 of file ROOTwriter.py.

Referenced by ROOTwriter.ROOTwriter.examineVol2().

§ rotXYZ()

def ROOTwriter.ROOTwriter.rotXYZ (   self,
  r 
)

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

Referenced by ROOTwriter.ROOTwriter.examineVol2().

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

Referenced by ROOTwriter.ROOTwriter.dumpMaterials().

§ 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

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

Referenced by ROOTwriter.ROOTwriter.examineVol2().

§ 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

§ solList

ROOTwriter.ROOTwriter.solList
static

§ sortedVols

ROOTwriter.ROOTwriter.sortedVols
static

§ vols

ROOTwriter.ROOTwriter.vols
static

§ volsUseCount

ROOTwriter.ROOTwriter.volsUseCount
static

Definition at line 68 of file ROOTwriter.py.

Referenced by ROOTwriter.ROOTwriter.examineVol2().

§ volumeCount

ROOTwriter.ROOTwriter.volumeCount
static

Definition at line 63 of file ROOTwriter.py.

§ writer

ROOTwriter.ROOTwriter.writer

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