Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | Public Attributes | List of all members
writer.writer Class Reference

Definition at line 16 of file writer.py.

Public Member Functions

def __init__ (self, fname)
 
def addArb8 (self, name, v1x, v1y, v2x, v2y, v3x, v3y, v4x, v4y, v5x, v5y, v6x, v6y, v7x, v7y, v8x, v8y, dz)
 
def addAssembly (self, volume, daughters)
 
def addBox (self, name, dx, dy, dz)
 
def addCone (self, name, z, rmin1, rmin2, rmax1, rmax2, sphi, dphi)
 
def addCutTube (self, name, rmin, rmax, z, startphi, deltaphi, lowX, lowY, lowZ, highX, highY, highZ)
 
def addElement (self, symb, name, z, a)
 
def addEltube (self, name, x, y, z)
 
def addHype (self, name, rmin, rmax, inst, outst, z)
 
def addIntersection (self, name, lname, ltr, lrot, rname, rtr, rrot)
 
def addMaterial (self, name, a, z, rho)
 
def addMixture (self, name, rho, elems)
 
def addPara (self, name, x, y, z, alpha, theta, phi)
 
def addParaboloid (self, name, rlo, rhi, dz)
 
def addPolycone (self, name, startphi, deltaphi, zplanes)
 
def addPolyhedra (self, name, startphi, deltaphi, numsides, zplanes)
 
def addPos (self, subels, type, name, v)
 
def addPosition (self, name, x, y, z)
 
def addReflSolid (self, name, solid, dx, dy, dz, sx, sy, sz, rx, ry, rz)
 
def addRot (self, subels, type, name, v)
 
def addRotation (self, name, x, y, z)
 
def addSetup (self, name, version, world)
 
def addSphere (self, name, rmin, rmax, startphi, deltaphi, starttheta, deltatheta)
 
def addSubtraction (self, name, lname, ltr, lrot, rname, rtr, rrot)
 
def addTorus (self, name, r, rmin, rmax, startphi, deltaphi)
 
def addTrap (self, name, z, theta, phi, y1, x1, x2, alpha1, y2, x3, x4, alpha2)
 
def addTrd (self, name, x1, x2, y1, y2, z)
 
def addTube (self, name, rmin, rmax, z, startphi, deltaphi)
 
def addTwistedTrap (self, name, z, theta, phi, y1, x1, x2, alpha1, y2, x3, x4, alpha2, twist)
 
def addUnion (self, name, lname, ltr, lrot, rname, rtr, rrot)
 
def addVolume (self, volume, solid, material, daughters)
 
def addXtrusion (self, name, vertices, sections)
 
def writeFile (self)
 

Public Attributes

 define
 
 document
 
 gdmlfile
 
 materials
 
 solids
 
 structure
 
Inheritance diagram for writer.writer:
[legend]

Constructor & Destructor Documentation

◆ __init__()

def writer.writer.__init__ (   self,
  fname 
)

Definition at line 18 of file writer.py.

Member Function Documentation

◆ addArb8()

def writer.writer.addArb8 (   self,
  name,
  v1x,
  v1y,
  v2x,
  v2y,
  v3x,
  v3y,
  v4x,
  v4y,
  v5x,
  v5y,
  v6x,
  v6y,
  v7x,
  v7y,
  v8x,
  v8y,
  dz 
)

Definition at line 61 of file writer.py.

◆ addAssembly()

def writer.writer.addAssembly (   self,
  volume,
  daughters 
)

Definition at line 185 of file writer.py.

◆ addBox()

def writer.writer.addBox (   self,
  name,
  dx,
  dy,
  dz 
)

Definition at line 55 of file writer.py.

◆ addCone()

def writer.writer.addCone (   self,
  name,
  z,
  rmin1,
  rmin2,
  rmax1,
  rmax2,
  sphi,
  dphi 
)

Definition at line 70 of file writer.py.

◆ addCutTube()

def writer.writer.addCutTube (   self,
  name,
  rmin,
  rmax,
  z,
  startphi,
  deltaphi,
  lowX,
  lowY,
  lowZ,
  highX,
  highY,
  highZ 
)

Definition at line 97 of file writer.py.

◆ addElement()

def writer.writer.addElement (   self,
  symb,
  name,
  z,
  a 
)

Definition at line 48 of file writer.py.

◆ addEltube()

def writer.writer.addEltube (   self,
  name,
  x,
  y,
  z 
)

Definition at line 129 of file writer.py.

◆ addHype()

def writer.writer.addHype (   self,
  name,
  rmin,
  rmax,
  inst,
  outst,
  z 
)

Definition at line 132 of file writer.py.

◆ addIntersection()

def writer.writer.addIntersection (   self,
  name,
  lname,
  ltr,
  lrot,
  rname,
  rtr,
  rrot 
)

Definition at line 162 of file writer.py.

◆ addMaterial()

def writer.writer.addMaterial (   self,
  name,
  a,
  z,
  rho 
)

Definition at line 36 of file writer.py.

◆ addMixture()

def writer.writer.addMixture (   self,
  name,
  rho,
  elems 
)

Definition at line 40 of file writer.py.

◆ addPara()

def writer.writer.addPara (   self,
  name,
  x,
  y,
  z,
  alpha,
  theta,
  phi 
)

Definition at line 75 of file writer.py.

◆ addParaboloid()

def writer.writer.addParaboloid (   self,
  name,
  rlo,
  rhi,
  dz 
)

Definition at line 58 of file writer.py.

◆ addPolycone()

def writer.writer.addPolycone (   self,
  name,
  startphi,
  deltaphi,
  zplanes 
)

Definition at line 102 of file writer.py.

◆ addPolyhedra()

def writer.writer.addPolyhedra (   self,
  name,
  startphi,
  deltaphi,
  numsides,
  zplanes 
)

Definition at line 113 of file writer.py.

◆ addPos()

def writer.writer.addPos (   self,
  subels,
  type,
  name,
  v 
)

Definition at line 136 of file writer.py.

◆ addPosition()

def writer.writer.addPosition (   self,
  name,
  x,
  y,
  z 
)

Definition at line 30 of file writer.py.

◆ addReflSolid()

def writer.writer.addReflSolid (   self,
  name,
  solid,
  dx,
  dy,
  dz,
  sx,
  sy,
  sz,
  rx,
  ry,
  rz 
)

Definition at line 52 of file writer.py.

◆ addRot()

def writer.writer.addRot (   self,
  subels,
  type,
  name,
  v 
)

Definition at line 140 of file writer.py.

◆ addRotation()

def writer.writer.addRotation (   self,
  name,
  x,
  y,
  z 
)

Definition at line 33 of file writer.py.

◆ addSetup()

def writer.writer.addSetup (   self,
  name,
  version,
  world 
)

Definition at line 197 of file writer.py.

◆ addSphere()

def writer.writer.addSphere (   self,
  name,
  rmin,
  rmax,
  startphi,
  deltaphi,
  starttheta,
  deltatheta 
)

Definition at line 64 of file writer.py.

◆ addSubtraction()

def writer.writer.addSubtraction (   self,
  name,
  lname,
  ltr,
  lrot,
  rname,
  rtr,
  rrot 
)

Definition at line 153 of file writer.py.

◆ addTorus()

def writer.writer.addTorus (   self,
  name,
  r,
  rmin,
  rmax,
  startphi,
  deltaphi 
)

Definition at line 109 of file writer.py.

◆ addTrap()

def writer.writer.addTrap (   self,
  name,
  z,
  theta,
  phi,
  y1,
  x1,
  x2,
  alpha1,
  y2,
  x3,
  x4,
  alpha2 
)

Definition at line 79 of file writer.py.

◆ addTrd()

def writer.writer.addTrd (   self,
  name,
  x1,
  x2,
  y1,
  y2,
  z 
)

Definition at line 89 of file writer.py.

◆ addTube()

def writer.writer.addTube (   self,
  name,
  rmin,
  rmax,
  z,
  startphi,
  deltaphi 
)

Definition at line 93 of file writer.py.

◆ addTwistedTrap()

def writer.writer.addTwistedTrap (   self,
  name,
  z,
  theta,
  phi,
  y1,
  x1,
  x2,
  alpha1,
  y2,
  x3,
  x4,
  alpha2,
  twist 
)

Definition at line 84 of file writer.py.

◆ addUnion()

def writer.writer.addUnion (   self,
  name,
  lname,
  ltr,
  lrot,
  rname,
  rtr,
  rrot 
)

Definition at line 144 of file writer.py.

◆ addVolume()

def writer.writer.addVolume (   self,
  volume,
  solid,
  material,
  daughters 
)

Definition at line 171 of file writer.py.

◆ addXtrusion()

def writer.writer.addXtrusion (   self,
  name,
  vertices,
  sections 
)

Definition at line 121 of file writer.py.

◆ writeFile()

def writer.writer.writeFile (   self)

Definition at line 201 of file writer.py.

Member Data Documentation

◆ define

writer.writer.define

Definition at line 21 of file writer.py.

◆ document

writer.writer.document

Definition at line 25 of file writer.py.

◆ gdmlfile

writer.writer.gdmlfile

Definition at line 20 of file writer.py.

◆ materials

writer.writer.materials

Definition at line 22 of file writer.py.

◆ solids

writer.writer.solids

Definition at line 23 of file writer.py.

◆ structure

writer.writer.structure

Definition at line 24 of file writer.py.

Libraries for writer.writer:
[legend]

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