Classes | |
class | TupleEx |
Simple algorithm which books&fills three histograms. More... | |
Functions | |
def | configure |
job configuration | |
Variables | |
string | __author__ = 'Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr' |
Rndm = GaudiPython.gbl.Rndm | |
SUCCESS = GaudiPython.SUCCESS | |
tuple | gaudi = GaudiPython.AppMgr() |
The actual job excution. |
def TupleEx::configure | ( | gaudi = None |
) |
job configuration
Configuration of the job
Definition at line 71 of file TupleEx.py.
00071 : 00072 """ Configuration of the job """ 00073 00074 if not gaudi : gaudi = GaudiPython.AppMgr() 00075 00076 gaudi.JobOptionsType = 'NONE' 00077 gaudi.EvtSel = 'NONE' 00078 gaudi.HistogramPersistency = 'ROOT' 00079 00080 gaudi.ExtSvc += ["NTupleSvc" ] 00081 00082 ntSvc = gaudi.service('NTupleSvc') 00083 ntSvc.Output = [ "MYLUN DATAFILE='TupleEx.root' OPT='NEW' TYP='ROOT'" ] 00084 00085 gaudi.config() 00086 00087 gaudi.DLLs = [ 'GaudiAlg', 'RootHistCnv', ] 00088 00089 alg = TupleEx() 00090 gaudi.setAlgorithms( [alg] ) 00091 00092 ## configure the property 00093 alg.NTupleLUN = 'MYLUN' 00094 00095 return SUCCESS 00096 00097 00098 # ============================================================================= ## The actual job excution
string TupleEx::__author__ = 'Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr' [static] |
Definition at line 24 of file TupleEx.py.
TupleEx::Rndm = GaudiPython.gbl.Rndm [static] |
Definition at line 29 of file TupleEx.py.
TupleEx::SUCCESS = GaudiPython.SUCCESS [static] |
Definition at line 30 of file TupleEx.py.
tuple TupleEx::gaudi = GaudiPython.AppMgr() [static] |
The actual job excution.
Definition at line 104 of file TupleEx.py.