ROOT
6.06/09
Reference Guide
|
Public Member Functions | |
def | __init__ (self, fname) |
def | addPosition (self, name, x, y, z) |
def | addRotation (self, name, x, y, z) |
def | addMaterial (self, name, a, z, rho) |
def | addMixture (self, name, rho, elems) |
def | addElement (self, symb, name, z, a) |
def | addReflSolid (self, name, solid, dx, dy, dz, sx, sy, sz, rx, ry, rz) |
def | addBox (self, name, dx, dy, dz) |
def | addParaboloid (self, name, rlo, rhi, dz) |
def | addArb8 (self, name, v1x, v1y, v2x, v2y, v3x, v3y, v4x, v4y, v5x, v5y, v6x, v6y, v7x, v7y, v8x, v8y, dz) |
def | addSphere (self, name, rmin, rmax, startphi, deltaphi, starttheta, deltatheta) |
def | addCone (self, name, z, rmin1, rmin2, rmax1, rmax2, sphi, dphi) |
def | addPara (self, name, x, y, z, alpha, theta, phi) |
def | addTrap (self, name, z, theta, phi, y1, x1, x2, alpha1, y2, x3, x4, alpha2) |
def | addTwistedTrap (self, name, z, theta, phi, y1, x1, x2, alpha1, y2, x3, x4, alpha2, twist) |
def | addTrd (self, name, x1, x2, y1, y2, z) |
def | addTube (self, name, rmin, rmax, z, startphi, deltaphi) |
def | addCutTube (self, name, rmin, rmax, z, startphi, deltaphi, lowX, lowY, lowZ, highX, highY, highZ) |
def | addPolycone (self, name, startphi, deltaphi, zplanes) |
def | addTorus (self, name, r, rmin, rmax, startphi, deltaphi) |
def | addPolyhedra (self, name, startphi, deltaphi, numsides, zplanes) |
def | addXtrusion (self, name, vertices, sections) |
def | addEltube (self, name, x, y, z) |
def | addHype (self, name, rmin, rmax, inst, outst, z) |
def | addPos (self, subels, type, name, v) |
def | addRot (self, subels, type, name, v) |
def | addUnion (self, name, lname, ltr, lrot, rname, rtr, rrot) |
def | addSubtraction (self, name, lname, ltr, lrot, rname, rtr, rrot) |
def | addIntersection (self, name, lname, ltr, lrot, rname, rtr, rrot) |
def | addVolume (self, volume, solid, material, daughters) |
def | addAssembly (self, volume, daughters) |
def | addSetup (self, name, version, world) |
def | writeFile (self) |
Public Attributes | |
gdmlfile | |
define | |
materials | |
solids | |
structure | |
document | |
def writer.writer.addArb8 | ( | self, | |
name, | |||
v1x, | |||
v1y, | |||
v2x, | |||
v2y, | |||
v3x, | |||
v3y, | |||
v4x, | |||
v4y, | |||
v5x, | |||
v5y, | |||
v6x, | |||
v6y, | |||
v7x, | |||
v7y, | |||
v8x, | |||
v8y, | |||
dz | |||
) |
def writer.writer.addCone | ( | self, | |
name, | |||
z, | |||
rmin1, | |||
rmin2, | |||
rmax1, | |||
rmax2, | |||
sphi, | |||
dphi | |||
) |
def writer.writer.addCutTube | ( | self, | |
name, | |||
rmin, | |||
rmax, | |||
z, | |||
startphi, | |||
deltaphi, | |||
lowX, | |||
lowY, | |||
lowZ, | |||
highX, | |||
highY, | |||
highZ | |||
) |
def writer.writer.addHype | ( | self, | |
name, | |||
rmin, | |||
rmax, | |||
inst, | |||
outst, | |||
z | |||
) |
def writer.writer.addIntersection | ( | self, | |
name, | |||
lname, | |||
ltr, | |||
lrot, | |||
rname, | |||
rtr, | |||
rrot | |||
) |
def writer.writer.addPara | ( | self, | |
name, | |||
x, | |||
y, | |||
z, | |||
alpha, | |||
theta, | |||
phi | |||
) |
def writer.writer.addParaboloid | ( | self, | |
name, | |||
rlo, | |||
rhi, | |||
dz | |||
) |
def writer.writer.addPolycone | ( | self, | |
name, | |||
startphi, | |||
deltaphi, | |||
zplanes | |||
) |
def writer.writer.addPolyhedra | ( | self, | |
name, | |||
startphi, | |||
deltaphi, | |||
numsides, | |||
zplanes | |||
) |
def writer.writer.addPos | ( | self, | |
subels, | |||
type, | |||
name, | |||
v | |||
) |
Definition at line 136 of file writer.py.
Referenced by writer.writer.addIntersection(), writer.writer.addSubtraction(), and writer.writer.addUnion().
def writer.writer.addReflSolid | ( | self, | |
name, | |||
solid, | |||
dx, | |||
dy, | |||
dz, | |||
sx, | |||
sy, | |||
sz, | |||
rx, | |||
ry, | |||
rz | |||
) |
def writer.writer.addRot | ( | self, | |
subels, | |||
type, | |||
name, | |||
v | |||
) |
Definition at line 140 of file writer.py.
Referenced by writer.writer.addIntersection(), writer.writer.addSubtraction(), and writer.writer.addUnion().
def writer.writer.addSphere | ( | self, | |
name, | |||
rmin, | |||
rmax, | |||
startphi, | |||
deltaphi, | |||
starttheta, | |||
deltatheta | |||
) |
def writer.writer.addSubtraction | ( | self, | |
name, | |||
lname, | |||
ltr, | |||
lrot, | |||
rname, | |||
rtr, | |||
rrot | |||
) |
def writer.writer.addTorus | ( | self, | |
name, | |||
r, | |||
rmin, | |||
rmax, | |||
startphi, | |||
deltaphi | |||
) |
def writer.writer.addTrap | ( | self, | |
name, | |||
z, | |||
theta, | |||
phi, | |||
y1, | |||
x1, | |||
x2, | |||
alpha1, | |||
y2, | |||
x3, | |||
x4, | |||
alpha2 | |||
) |
def writer.writer.addTube | ( | self, | |
name, | |||
rmin, | |||
rmax, | |||
z, | |||
startphi, | |||
deltaphi | |||
) |
def writer.writer.addTwistedTrap | ( | self, | |
name, | |||
z, | |||
theta, | |||
phi, | |||
y1, | |||
x1, | |||
x2, | |||
alpha1, | |||
y2, | |||
x3, | |||
x4, | |||
alpha2, | |||
twist | |||
) |
def writer.writer.addUnion | ( | self, | |
name, | |||
lname, | |||
ltr, | |||
lrot, | |||
rname, | |||
rtr, | |||
rrot | |||
) |
def writer.writer.addVolume | ( | self, | |
volume, | |||
solid, | |||
material, | |||
daughters | |||
) |
def writer.writer.addXtrusion | ( | self, | |
name, | |||
vertices, | |||
sections | |||
) |
writer.writer.define |
Definition at line 21 of file writer.py.
Referenced by writer.writer.addPosition(), and writer.writer.addRotation().
writer.writer.document |
Definition at line 25 of file writer.py.
Referenced by writer.writer.addSetup(), and writer.writer.writeFile().
writer.writer.gdmlfile |
Definition at line 20 of file writer.py.
Referenced by writer.writer.writeFile().
writer.writer.materials |
Definition at line 22 of file writer.py.
Referenced by writer.writer.addElement(), writer.writer.addMaterial(), and writer.writer.addMixture().
writer.writer.solids |
Definition at line 23 of file writer.py.
Referenced by writer.writer.addArb8(), writer.writer.addBox(), writer.writer.addCone(), writer.writer.addCutTube(), writer.writer.addEltube(), writer.writer.addHype(), writer.writer.addIntersection(), writer.writer.addPara(), writer.writer.addParaboloid(), writer.writer.addPolycone(), writer.writer.addPolyhedra(), writer.writer.addReflSolid(), writer.writer.addSphere(), writer.writer.addSubtraction(), writer.writer.addTorus(), writer.writer.addTrap(), writer.writer.addTrd(), writer.writer.addTube(), writer.writer.addTwistedTrap(), writer.writer.addUnion(), and writer.writer.addXtrusion().
writer.writer.structure |
Definition at line 24 of file writer.py.
Referenced by writer.writer.addAssembly(), and writer.writer.addVolume().