/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
XmlDetDescGen::AD::gen::ADECylinder Class Reference

List of all members.

Public Member Functions

def __init__
def parameters
def logvol

Public Attributes

 name
 child
 lv

Detailed Description

Definition at line 408 of file gen.py.


Constructor & Destructor Documentation

def XmlDetDescGen::AD::gen::ADECylinder::__init__ (   self)

Definition at line 409 of file gen.py.

00410                       :
00411         self.name = "ade"
00412         self.child = None
00413         self.lv = None
00414         return


Member Function Documentation

def XmlDetDescGen::AD::gen::ADECylinder::parameters (   self)

Definition at line 415 of file gen.py.

00416                         :
00417         from XmlDetDescGen.parameter import Parameter
00418         ade = [ Parameter('ADrotation','180.0*degree','Rotation from +X axis to engineering zero degree mark on AD'),
00419                 Parameter("ADadeWall","0.25*m","ADE extention beyond SST in radius"),
00420                 Parameter("ADadeHead","1.0*m","ADE head gap above tank"),
00421                 Parameter("ADadeFoot","1.0*cm","ADE foot gap below tank"),
00422                 Parameter("ADadeRadius","ADsstRadius+ADadeWall","ADE radius"),
00423                 Parameter("ADadeHeight","ADadeFoot+ADsstHeight+ADadeHead","ADE height"),
00424                 Parameter("ADadeZoffset","-0.5*(ADadeHeight-ADsstHeight) + ADadeFoot","Z-offset from ADE center to AD center."),
00425               ]
00426         return ade

def XmlDetDescGen::AD::gen::ADECylinder::logvol (   self)

Definition at line 427 of file gen.py.

00428                     :
00429         if self.lv: return self.lv
00430 
00431         from XmlDetDescGen.geometry import Tubs,Logvol,Physvol,PosXYZ
00432         from XmlDetDescGen.util import ExternalEntity
00433 
00434         pv = Physvol("pv"+self.child.name.upper(), self.child.logvol(),
00435                      PosXYZ(X="0*m",Y="0*m",Z="ADadeZoffset"))
00436 
00437         self.lv = Logvol("lv"+self.name.upper(),'IwsWater',
00438                          Tubs(self.name,
00439                               'AD%sHeight'%self.name,
00440                               'AD%sRadius'%self.name),
00441                          [pv,ExternalEntity("HandWrittenPhysVols")])
00442         return self.lv


Member Data Documentation

Definition at line 409 of file gen.py.

Definition at line 409 of file gen.py.

Definition at line 409 of file gen.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:56:07 for XmlDetDesc by doxygen 1.7.4