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

In This Package:

mixCoAmC.py

Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 """
00003 nuwa.py --history=off -A none -n 1000 -l 4 mixCoAmC.py
00004 
00005 """
00006 
00007 import Mixing
00008 mixing=Mixing.Configure()
00009 
00010 #Set the samples being mixed
00011 mixing.MixSvc.SampleInputs={
00012             "AmCNeutron":["Digi_neutron.root"],
00013             "Co60":["Digi_Co60.root"]
00014          }
00015 if mixing.MixSvc.SampleInputs:
00016     print 'input_samples=', str(mixing.MixSvc.SampleInputs)
00017 
00018 #Set the event rates of the samples    
00019 mixing.MixSvc.SampleTaus={"AmCNeutron":86400./43200, "Co60": 86400./43200}
00020 if mixing.MixSvc.SampleTaus:
00021     print 'sample_deltaT=', str(mixing.MixSvc.SampleTaus)
00022 
00023 #Set the time window of mixing
00024 mixing.MixSvc.MixingTime= 1 
00025 if mixing.MixSvc.MixingTime:
00026     print 'Mixing Time=', mixing.MixSvc.MixingTime
00027 
00028 #Set the begin time of this time
00029 mixing.MixSvc.BeginTime=0.0
00030 print 'Begin Time = ', mixing.MixSvc.BeginTime
00031 
00032 mixing.MixSvc.DefaultOutput= "mixing.root"
00033 
00034 from Gaudi.Configuration import ApplicationMgr
00035 app = ApplicationMgr()
00036 
00037 
00038 
00039 
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:45:52 2011 for Mixing by doxygen 1.4.7