/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
Helpers::Decay Class Reference

List of all members.

Public Member Functions

def __init__
def setVolume
def tools

Public Attributes

 decay
 positioner
 timerator
 transformer

Detailed Description

A Li9He8Tools "helper" module to configure for a radioactive decay.

Definition at line 9 of file Helpers.py.


Constructor & Destructor Documentation

def Helpers::Decay::__init__ (   self,
  volume = '/dd/Structure/AD/far-oil1',
  decay = Li9He8Decayerator("decay"),
  positioner = GtPositionerTool("decayPositioner",                                                Strategy = 'FullVolume',
  Mode = 'Uniform',
  timerator = GtTimeratorTool("decayTimerator",                                              LifeTime = 1.*units.second,
  transformer = GtTransformTool("decayTransformer") 
)
Construct a Decay helper.

Coustom configured tools can
be passed in or customization can be done after construction
using the data members:

.decay
.positioner
.timerator
.transformer

If the Volume property for the positioner and transformer is
not yet set, it will be set to the value of "volume"

Definition at line 15 of file Helpers.py.

00024                                                                    :
00025         '''
00026         Construct a Decay helper.
00027 
00028         Coustom configured tools can
00029         be passed in or customization can be done after construction
00030         using the data members:
00031 
00032         .decay
00033         .positioner
00034         .timerator
00035         .transformer
00036         
00037         If the Volume property for the positioner and transformer is
00038         not yet set, it will be set to the value of "volume"
00039         '''
00040         try: 
00041             v = positioner.Volume
00042         except AttributeError:
00043             positioner.Volume = volume
00044             
00045         try:
00046             v = transformer.Volume
00047         except AttributeError:
00048             transformer.Volume = volume
00049 
00050         self.decay = decay
00051         self.positioner = positioner
00052         self.timerator = timerator
00053         self.transformer = transformer
00054         return


Member Function Documentation

def Helpers::Decay::setVolume (   self,
  volumename 
)

Definition at line 55 of file Helpers.py.

00056                                   :
00057         self.positioner.Volume = volumename
00058         self.transformer.Volume = volumename
00059         return

def Helpers::Decay::tools (   self)

Definition at line 60 of file Helpers.py.

00061                    :
00062         return [self.decay,self.positioner,self.timerator,self.transformer]


Member Data Documentation

Definition at line 29 of file Helpers.py.

Definition at line 29 of file Helpers.py.

Definition at line 29 of file Helpers.py.

Definition at line 29 of file Helpers.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 10:22:42 for Li9He8Decay by doxygen 1.7.4