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

List of all members.

Public Member Functions

def __init__
def tools

Public Attributes

 gun
 multivol
 timerator

Detailed Description

Definition at line 429 of file Helpers.py.


Constructor & Destructor Documentation

def GenTools::Helpers::CalibPmts::__init__ (   self,
  name = 'calibpmts',
  site = 'db',
  adnum = 1,
  gun = None,
  multivol = None,
  timerator = None 
)

Definition at line 430 of file Helpers.py.

00436                                   : # A GtTimeratorTool
00437 
00438         if gun == None:         # use poor man's radioactivity
00439             gun = GtDecayerator(name + "_u238decay",
00440                                 ParentNuclide = 'U238',
00441                                 ParentAbundance = 3.05e+17,
00442                                 SecularEquilibrium = True,
00443                                 CorrelationTime = 0.01*units.second )
00444             pass
00445 
00446         if multivol == None:
00447             pmtpat = '/dd/Structure/AdPmtStructure/%s-ad/%s-ad%d-ring%%d-column%%d' % (site,site,adnum)
00448             vpmap = {}
00449             iring = 0
00450             for icol in range(6):
00451                 icol += 1
00452                 vpmap[pmtpat % (iring,icol)] = 1.0
00453                 continue
00454             multivol = GtMultiVolumePosTool(name + '_multivol',
00455                                             VolumeProbabilityMap = vpmap)
00456             #multivol.OutputLevel = 2
00457             pass
00458 
00459         if timerator == None:
00460             timerator = GtTimeratorTool(name+"Timerator",
00461                                         LifeTime = 1*units.second)
00462             pass
00463         self.gun = gun
00464         self.multivol = multivol
00465         self.timerator = timerator
00466 

Member Function Documentation

def GenTools::Helpers::CalibPmts::tools (   self)

Definition at line 467 of file Helpers.py.

00468                    :
00469         return [self.gun, self.multivol, self.timerator]


Member Data Documentation

Definition at line 430 of file Helpers.py.

Definition at line 430 of file Helpers.py.

Definition at line 430 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:18:51 for GenTools by doxygen 1.7.4