The Gaudi Framework  v36r1 (3e2fb5a8)
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 49 of file TupleEx.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 56 of file TupleEx.py.

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

Member Function Documentation

◆ execute()

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

Definition at line 61 of file TupleEx.py.

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