/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 | Static Public Attributes
XmlDetDescGen::AD::gen::Parameters Class Reference

List of all members.

Public Member Functions

def __init__
def cylinders
def header
def write

Public Attributes

 cyl

Static Public Attributes

string filename = "parameters.xml"
list OavCon
list LsoCon
list IavCon
list GdsCon

Detailed Description

Definition at line 443 of file gen.py.


Constructor & Destructor Documentation

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

Definition at line 484 of file gen.py.

00485                       :
00486         ade = ADECylinder()
00487 #        sst = Cylinder("sst","0.012*m","0.020*m",'StainlessSteel',None)
00488 #        oil = Cylinder("oil","0.488*m","0.475*m",'MineralOil',sst)
00489         sst = CylinderSelf("sst","2500*mm","5000*mm",'StainlessSteel',None)
00490         oil = CylinderSelf("oil","2488*mm","ADsstHeight-SstFotHeight-SstBotThickness-SstLidThickness",'MineralOil',sst)
00491         oav = PolyCone("oav", self.OavCon, 'Acrylic',oil)
00492         lso = PolyCone("lso", self.LsoCon, 'LiquidScintillator',oav)
00493         iav = PolyCone("iav", self.IavCon, 'Acrylic',lso)
00494         gds = PolyCone("gds", self.GdsCon, 'GdDopedLS',iav)
00495         self.cyl = [ade,sst,oil,oav,lso,iav,gds]
00496         last = None
00497         for c in self.cyl:
00498             if last: last.child = c
00499             last = c
00500             continue
00501         return


Member Function Documentation

def XmlDetDescGen::AD::gen::Parameters::cylinders (   self)

Definition at line 502 of file gen.py.

00503                        :
00504         return self.cyl

def XmlDetDescGen::AD::gen::Parameters::header (   self)

Definition at line 505 of file gen.py.

00506                     :
00507         s = """
00508 This defines the basic AD geometry.  It consists of these layers:
00509 
00510 ADE = AD envelope
00511 SST = Stainless Steel Tank
00512 OIL = Oil layer
00513 OAV = Outer Acrylic Vessel
00514 LSO = Liquid Scintillator Oil
00515 IAV = Inner Acrylic Vessel
00516 GDS = Gadolinium Doped Scintillator
00517 
00518 All volumes inside the SST are concentric.  
00519 
00520 The ADE cylinder of water is radially concentric with the SST,
00521 coplanar at the SST base and extended above the SST top and in radius.
00522 The SST and any structure external to the SST should be placed in this
00523 envelope.  The center of the SST is offset from the center of the ADE
00524 by the parameter ADadeZoffset.  
00525 
00526 """
00527 
00528         from XmlDetDescGen.util import Comment
00529         return Comment(s)
    
def XmlDetDescGen::AD::gen::Parameters::write (   self,
  outdir 
)

Definition at line 530 of file gen.py.

00531                           :
00532         from XmlDetDescGen.util import XmlFile
00533         objects = [self.header()]
00534         for c in self.cylinders():
00535             objects += c.parameters()
00536         fp = XmlFile(objects=objects)
00537         fp.write(outdir+"/"+self.filename)
00538         return
        

Member Data Documentation

string XmlDetDescGen::AD::gen::Parameters::filename = "parameters.xml" [static]

Definition at line 445 of file gen.py.

Initial value:
[("0*mm","OavBrlOutRadius" ),
              ("OavBrlHeight-OavBrlFlgThickness", 
               "OavBrlOutRadius"),
              ("OavBrlHeight-OavBrlFlgThickness",
               "OavBrlFlgRadius"),
              ("OavBrlHeight+OavThickness/cos(OavLidConAngle)",
               "OavBrlFlgRadius"),
              ("OavBrlHeight+OavThickness/cos(OavLidConAngle)", 
               "OavLidConBotRadius"),
              ("OavHeight",
               "OavLidConTopRadius")
              ]

Definition at line 447 of file gen.py.

Initial value:
[("0*mm", "LsoBrlRadius"), 
              ("LsoBrlHeight", "LsoBrlRadius"), 
              ("LsoBrlHeight", "LsoConBotRadius"), 
              ("LsoBrlHeight+LsoConHeight", "LsoConTopRadius"),
              ("LsoBrlHeight+LsoConHeight", "LsoConTopTipRadius"),
              ("LsoHeight", "LsoConTopTipRadius")
              ]

Definition at line 460 of file gen.py.

Initial value:
[("0*mm", "IavBrlOutRadius"), 
              ("IavBrlHeight", "IavBrlOutRadius"),
              ("IavBrlHeight", "IavLidRadius"), 
              ("IavBrlHeight+IavLidFlgThickness", "IavLidRadius"), 
              ("IavBrlHeight+IavLidFlgThickness", 
               "IavLidConBotRadius"), 
              ("IavHeight", "IavLidConTopRadius")
              ]

Definition at line 468 of file gen.py.

Initial value:
[("0*mm", "GdsBrlRadius"),
              ("GdsBrlHeight", "GdsBrlRadius"), 
              ("GdsBrlHeight", "GdsConBotRadius"),
              ("GdsBrlHeight+GdsConHeight", "GdsConTopRadius"),
              ("GdsHeight", "GdsConTopRadius")
              ]

Definition at line 477 of file gen.py.

Definition at line 485 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