The Gaudi Framework  v36r1 (3e2fb5a8)
TupleEx Namespace Reference

Classes

class  TupleEx
 

Functions

def configure (gaudi=None)
 

Variables

 TopAlg
 
 NTupleLUN
 
 OutputLevel
 
 EvtMax
 
 EvtSel
 
 HistogramPersistency
 
 Output
 
 GlobalCompression
 
string __author__ = 'Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr'
 
 Rndm = cpp.Rndm
 
 gaudi = AppMgr()
 

Function Documentation

◆ configure()

def TupleEx.configure (   gaudi = None)
Configuration of the job 

Definition at line 83 of file TupleEx.py.

83 def configure(gaudi=None):
84  """ Configuration of the job """
85 
86  if not gaudi:
87  from GaudiPython.Bindings import AppMgr
88  gaudi = AppMgr()
89 
90  gaudi.JobOptionsType = 'NONE'
91  gaudi.EvtSel = 'NONE'
92  gaudi.HistogramPersistency = 'ROOT'
93 
94  gaudi.ExtSvc += ["NTupleSvc"]
95 
96  ntSvc = gaudi.service('NTupleSvc')
97  ntSvc.Output = ["MYLUN DATAFILE='TupleEx.root' OPT='NEW' TYP='ROOT'"]
98 
99  gaudi.config()
100 
101  gaudi.DLLs = [
102  'GaudiAlg',
103  'RootHistCnv',
104  ]
105 
106  alg = TupleEx(
107  # configure the property
108  NTupleLUN='MYLUN')
109 
110  gaudi.setAlgorithms([alg])
111 
112  return SUCCESS
113 
114 
115 # =============================================================================
116 # The actual job excution
117 # @author Vanya BELYAEV ibelyaev@physics.syr.edu
118 # @date 2006-11-26

Variable Documentation

◆ __author__

string TupleEx.__author__ = 'Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr'
private

Definition at line 31 of file TupleEx.py.

◆ EvtMax

TupleEx.EvtMax

Definition at line 27 of file TupleEx.py.

◆ EvtSel

TupleEx.EvtSel

Definition at line 28 of file TupleEx.py.

◆ gaudi

TupleEx.gaudi = AppMgr()

Definition at line 122 of file TupleEx.py.

◆ GlobalCompression

TupleEx.GlobalCompression

Definition at line 36 of file TupleEx.py.

◆ HistogramPersistency

TupleEx.HistogramPersistency

Definition at line 31 of file TupleEx.py.

◆ NTupleLUN

TupleEx.NTupleLUN

Definition at line 18 of file TupleEx.py.

◆ Output

TupleEx.Output

Definition at line 32 of file TupleEx.py.

◆ OutputLevel

TupleEx.OutputLevel

Definition at line 24 of file TupleEx.py.

◆ Rndm

TupleEx.Rndm = cpp.Rndm

Definition at line 38 of file TupleEx.py.

◆ TopAlg

TupleEx.TopAlg

Definition at line 17 of file TupleEx.py.

GaudiPython.Bindings
Definition: Bindings.py:1
TupleEx.configure
def configure(gaudi=None)
Definition: TupleEx.py:83
TupleEx
Definition: TupleEx.py:1