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

In This Package:

RunTESDemo.1.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 import GaudiPython as gp
00003 appMgr = gp.iService('ApplicationMgr')
00004 appMgr.SvcMapping = [ 'DybDataSvc/EventDataSvc',
00005                       'EvtDataSvc/EventDataArchiveSvc',
00006                       'EvtPersistencySvc/EventPersistencySvc',
00007                       'HistogramSvc/HistogramDataSvc' ]
00008 appMgr.Dlls += [ 'DybEventMgr' ]
00009 appMgr.TopAlg = [ 'TESDemoCreateReadout',
00010                   'TESDemoFill1',
00011                   'TESDemoFill2',
00012                   'TESDemoUse' ]
00013 appMgr.EvtMax = 20
00014 appMgr.EvtSel ="NONE"
00015 
00016 am = gp.AppMgr()
00017 
00018 fill1 = am.algorithm('TESDemoFill1')
00019 fill1.PositronPercentage = 20
00020 fill2 = am.algorithm('TESDemoFill2')
00021 fill2.NeutronPercentage = 40
00022 
00023 am.initialize()
00024 am.run( am.EvtMax )
00025 am.exit()
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:09:00 for TESDemo by doxygen 1.7.4