The Gaudi Framework  v36r16 (ea80daf8)
TupleEx2 Namespace Reference

Classes

class  TupleEx2
 

Functions

def configure (gaudi=None)
 

Variables

 __author__
 
 Rndm
 
 Math
 
 SUCCESS
 
 gaudi
 

Function Documentation

◆ configure()

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

Definition at line 116 of file TupleEx2.py.

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

Variable Documentation

◆ __author__

TupleEx2.__author__
private

Definition at line 30 of file TupleEx2.py.

◆ gaudi

TupleEx2.gaudi

Definition at line 156 of file TupleEx2.py.

◆ Math

TupleEx2.Math

Definition at line 36 of file TupleEx2.py.

◆ Rndm

TupleEx2.Rndm

Definition at line 35 of file TupleEx2.py.

◆ SUCCESS

TupleEx2.SUCCESS

Definition at line 37 of file TupleEx2.py.

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