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

List of all members.

Public Member Functions

def __init__

Public Attributes

 PreSvc
 PreElecAlg
 MixSvc

Detailed Description

Definition at line 5 of file __init__.py.


Constructor & Destructor Documentation

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

Definition at line 7 of file __init__.py.

00008                      :
00009         '''Do default configureation of PreElecSimSvc. '''
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 PreElecSimSvc.PreElecSimSvcConf import PreElecSimSvc
00025         pre = PreElecSimSvc()
00026         app.ExtSvc.append(pre)
00027         self.PreSvc = pre
00028         
00029         from PreElecSimSvc.PreElecSimSvcConf import PreElecAlgorithm
00030         preelecalg = PreElecAlgorithm()
00031         app.TopAlg.append(preelecalg)
00032         self.PreElecAlg = preelecalg
00033         
00034         from RootIOTest.RootIOTestConf import DybStoreAlg
00035         dsa = DybStoreAlg()
00036         app.TopAlg.append(dsa)
00037 
00038         begintime = 0.0
00039         print 'Begin time = ', begintime
00040 
00041         input_samples={
00042              "Gamma1":["05MEVGAMMA_D100.root"],
00043              "Gamma2":["08MEVGAMMA_D100.root"],
00044              "IBD":["FullIBD.root"]
00045          }
00046    
00047         if input_samples:
00048            print 'input_samples=', str(input_samples)
00049 
00050         sample_tau={"Gamma1":86400./1000, "Gamma2":86400./930, "IBD":86400./980}
00051 
00052         if sample_tau:
00053            print "sample_deltaT=", str(sample_tau)
00054 
00055         sample_filenum={"IBD":100, "Muon":100, "RAD":100}
00056 
00057         if sample_filenum:
00058            print "sample_filenum=", str(sample_filenum)
00059   
00060         mis.SampleInputs  = input_samples
00061         mis.SampleTaus    = sample_tau
00062         mis.SampleFileNum = sample_filenum
00063         mis.BeginTime     = begintime
00064         self.MixSvc=mis
00065 
00066         return


Member Data Documentation

Definition at line 7 of file __init__.py.

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:15:00 for PreElecSimSvc by doxygen 1.7.4