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