The Gaudi Framework  v36r9p1 (5c15b2bb)
TupleEx.TupleEx Class Reference
Inheritance diagram for TupleEx.TupleEx:
Collaboration diagram for TupleEx.TupleEx:

Public Member Functions

def __init__ (self, name="TupleEx", **args)
 
def execute (self)
 

Detailed Description

Simple algorithm which implicitely book&fill N-Tuples

Definition at line 50 of file TupleEx.py.

Constructor & Destructor Documentation

◆ __init__()

def TupleEx.TupleEx.__init__ (   self,
  name = "TupleEx",
**  args 
)
Constructor

Definition at line 57 of file TupleEx.py.

57  def __init__(self, name="TupleEx", **args):
58  """Constructor"""
59  TupleAlgo.__init__(self, name, **args)
60 

Member Function Documentation

◆ execute()

def TupleEx.TupleEx.execute (   self)
The major method 'execute', it is invoked for each event

Definition at line 62 of file TupleEx.py.

62  def execute(self):
63  """
64  The major method 'execute', it is invoked for each event
65  """
66 
67  gauss = Rndm.Numbers(self.randSvc(), Rndm.Gauss(0.0, 1.0))
68 
69  tup = self.nTuple("My trivial N-tuple")
70  for i in range(0, 100):
71  tup.column("a", math.sin(i))
72  tup.column("b", math.cos(i))
73  tup.column("c", math.tan(i))
74  tup.column("g", gauss())
75  tup.write()
76 
77  return SUCCESS
78 
79 
80 # =============================================================================
81 # job configuration
82 # @author Vanya BELYAEV ibelyaev@physics.syr.edu
83 # @date 2006-11-26

The documentation for this class was generated from the following file:
Rndm::Gauss
Parameters for the Gauss random number generation.
Definition: RndmGenerators.h:32
Rndm::Numbers
Random number accessor This small class encapsulates the use of the random number generator.
Definition: RndmGenerators.h:359
GaudiPython.Pythonizations.execute
execute
Definition: Pythonizations.py:588
HistoUtilsEx.gauss
gauss
Definition: HistoUtilsEx.py:66
Gaudi::Functional::details::zip::range
decltype(auto) range(Args &&... args)
Zips multiple containers together to form a single range.
Definition: FunctionalDetails.h:102