| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

TestShuffle.py

Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 import gaudimodule as gm
00003 g = gm.AppMgr(outputlevel=1)
00004 g.Dlls += ['DybAlg']
00005 g.TopAlg = ['DybShuffle']
00006 g.EvtMax = 10
00007 g.EvtSel ="NONE"
00008 
00009 eds = g.service("EventDataSvc")
00010 eds.ForceLeaves = True
00011 
00012 ds = g.algorithm('DybShuffle')
00013 
00014 #message service
00015 msv = g.service('MessageSvc')
00016 msv.OutputLevel = 1
00017 msv.useColors=True
00018 msv.fatalColorCode=['red','white']
00019 msv.errorColorCode=['red']
00020 msv.warningColorCode=['yellow']
00021 msv.debugColorCode=['blue']
00022 msv.verboseColorCode=['cyan']
00023 
00024 # For DybShuffle algorithm
00025 RanGen = g.service('RndmGenSvc')
00026 RanGen.Engine = "HepRndm::Engine<CLHEP::Ranlux64Engine>"
00027 #ds.HostID = 42 #If this is not set, DybShuffle will set the proper host ID
00028 #ds.Run = 69
00029 #ds.ExecCountOffset = 1024
00030 
00031 g.initialize()
00032 g.run( g.EvtMax )
00033 g.exit()
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:40:40 2011 for DybAlg by doxygen 1.4.7