/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
IBD::EvtGenerator Class Reference

List of all members.

Public Member Functions

def __init__
def tools

Public Attributes

 ibd

Detailed Description

set up the kinematic generator in the given volume with chosen options
using the InvBetaDecay generator.

Definition at line 31 of file IBD.py.


Constructor & Destructor Documentation

def IBD::EvtGenerator::__init__ (   self,
  name = "IBD",
  seed = 99999,
  finalstate = 'FullIbd',
  volume = '/dd/Structure/AD/db-gds1',
  material = 'GdDopedLS',
  strategy = 'FullVolume',
  mode = 'Uniform',
  lifetime = 9*units.second 
)

Definition at line 37 of file IBD.py.

00046                                            :
00047 
00048         print name+"'s strategy is: ", strategy
00049         print name+"'s seed is: ignored"
00050         print name+"'s volume is: ", volume
00051         print name+"'s Material is: ", material
00052         
00053         # set up each tools
00054         from GaudiKernel import SystemOfUnits as units
00055         from InvBetaDecay.Helpers import Decay
00056         
00057         decay=Decay(name)
00058         if finalstate == 'PositronOnly':
00059             decay.decay.PositronOnly = 1
00060         elif finalstate == 'NeutronOnly':
00061             decay.decay.NeutronOnly = 1
00062         decay.positioner.Volume = volume
00063         decay.positioner.Strategy = strategy
00064         if decay.positioner.Strategy == 'Material':
00065             decay.positioner.FillMaterials = [material]
00066         decay.positioner.Mode = mode
00067         decay.positioner.Position = [0,0,0]
00068         decay.positioner.Spread = 10*units.m
00069         decay.timerator.LifeTime = lifetime
00070         decay.transformer.Volume = volume
00071         
00072         self.ibd = decay


Member Function Documentation

def IBD::EvtGenerator::tools (   self)

Definition at line 73 of file IBD.py.

00074                    :
00075         return self.ibd.tools()
    

Member Data Documentation

Definition at line 37 of file IBD.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:54:48 for SourceRate by doxygen 1.7.4