The Gaudi Framework  v36r9p1 (5c15b2bb)
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 122 of file TupleEx2.py.

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

Variable Documentation

◆ __author__

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

Definition at line 32 of file TupleEx2.py.

◆ gaudi

TupleEx2.gaudi = GaudiPython.AppMgr()

Definition at line 162 of file TupleEx2.py.

◆ Math

TupleEx2.Math = GaudiPython.gbl.ROOT.Math

Definition at line 40 of file TupleEx2.py.

◆ Rndm

TupleEx2.Rndm = GaudiPython.gbl.Rndm

Definition at line 39 of file TupleEx2.py.

◆ SUCCESS

TupleEx2.SUCCESS = GaudiPython.SUCCESS

Definition at line 41 of file TupleEx2.py.

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