The Gaudi Framework  v36r1 (3e2fb5a8)
TupleEx2 Namespace Reference

Classes

class  TupleEx2
 

Functions

def configure (gaudi=None)
 

Variables

string __author__ = 'Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr'
 
 Rndm = GaudiPython.gbl.Rndm
 
 Math = GaudiPython.gbl.ROOT.Math
 
 SUCCESS = GaudiPython.SUCCESS
 
 gaudi = GaudiPython.AppMgr()
 

Function Documentation

◆ configure()

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

Definition at line 120 of file TupleEx2.py.

120 def configure(gaudi=None):
121  """
122  Configuration of the job
123  """
124 
125  if not gaudi:
126  gaudi = GaudiPython.AppMgr()
127 
128  gaudi.JobOptionsType = 'NONE'
129  gaudi.EvtSel = 'NONE'
130  gaudi.HistogramPersistency = 'ROOT'
131 
132  gaudi.ExtSvc += ["NTupleSvc"]
133 
134  ntSvc = gaudi.service('NTupleSvc')
135  ntSvc.Output = ["MYLUN DATAFILE='TupleEx2.root' OPT='NEW' TYP='ROOT'"]
136 
137  gaudi.config()
138 
139  gaudi.DLLs = [
140  'GaudiAlg',
141  'RootHistCnv',
142  ]
143 
144  alg = TupleEx2()
145  gaudi.setAlgorithms([alg])
146 
147  # configure the properties
148  alg.NTupleLUN = 'MYLUN'
149 
150  return SUCCESS
151 
152 
153 # =============================================================================
154 # The actual job execution
155 #
156 # @author Vanya BELYAEV ibelyaev@physics.syr.edu
157 # @date 2006-11-26

Variable Documentation

◆ __author__

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

Definition at line 31 of file TupleEx2.py.

◆ gaudi

TupleEx2.gaudi = GaudiPython.AppMgr()

Definition at line 160 of file TupleEx2.py.

◆ Math

TupleEx2.Math = GaudiPython.gbl.ROOT.Math

Definition at line 38 of file TupleEx2.py.

◆ Rndm

TupleEx2.Rndm = GaudiPython.gbl.Rndm

Definition at line 37 of file TupleEx2.py.

◆ SUCCESS

TupleEx2.SUCCESS = GaudiPython.SUCCESS

Definition at line 39 of file TupleEx2.py.

GaudiPython.Bindings.AppMgr
Definition: Bindings.py:842
TupleEx2
Definition: TupleEx2.py:1
TupleEx2.configure
def configure(gaudi=None)
Definition: TupleEx2.py:120