/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
MixInputSvc::Configure Class Reference

List of all members.

Public Member Functions

def __init__

Public Attributes

 MixAlg
 MixSvc

Detailed Description

Definition at line 5 of file __init__.py.


Constructor & Destructor Documentation

def MixInputSvc::Configure::__init__ (   self)
Do default configureation of MixInputSvc. 

Definition at line 7 of file __init__.py.

00008                      :
00009         '''Do default configureation of MixInputSvc. '''
00010         from Gaudi.Configuration import ApplicationMgr
00011         app = ApplicationMgr()
00012          
00013         from MixInputSvc.MixInputSvcConf import MixInputSvc
00014         mis = MixInputSvc("RootIOCnvSvc")
00015         app.ExtSvc.append(mis)
00016         from GaudiSvc.GaudiSvcConf import EvtPersistencySvc
00017         per = EvtPersistencySvc()
00018         per.CnvServices = [ mis ];
00019         mis.DefaultOutput= "/publicfs/dyb/user/yczhang/FastMCProduction/MixInputSvc/mixdata/mixedfile.root"
00020 
00021         from DybIO.DybIOConf import DybStorageSvc
00022         app.ExtSvc += [ DybStorageSvc() ]
00023 
00024         from MixInputSvc.MixInputSvcConf import MixInputAlgorithm
00025         mixalg = MixInputAlgorithm()
00026         app.TopAlg.append(mixalg)
00027         self.MixAlg = mixalg
00028         from RootIOTest.RootIOTestConf import DybStoreAlg
00029         dsa = DybStoreAlg()
00030         app.TopAlg.append(dsa)
00031 
00032         begintime = 0.0
00033         print 'Begin time = ', begintime
00034 
00035         input_samples={
00036              "Gamma1":["05MEVGAMMA_D100.root"],
00037              "Gamma2":["08MEVGAMMA_D100.root"],
00038              "IBD":["FullIBD.root"]
00039          }
00040    
00041         if input_samples:
00042            print 'input_samples=', str(input_samples)
00043 
00044         sample_tau={"Gamma1":86400./1000, "Gamma2":86400./930, "IBD":86400./980}
00045 
00046         if sample_tau:
00047            print "sample_deltaT=", str(sample_tau)
00048 
00049         sample_filenum={"IBD":100, "Muon":100, "RAD":100}
00050 
00051         if sample_filenum:
00052            print "sample_filenum=", str(sample_filenum)
00053   
00054         mis.SampleInputs  = input_samples
00055         mis.SampleTaus    = sample_tau
00056         mis.SampleFileNum = sample_filenum
00057         mis.BeginTime     = begintime
00058         self.MixSvc=mis
00059 
00060         return


Member Data Documentation

Definition at line 7 of file __init__.py.

Definition at line 7 of file __init__.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:14:51 for MixInputSvc by doxygen 1.7.4