Creating and filling a tuple in memory and projecting into a cloud.

Description

A tuple is booked, filled and it is projected to a cloud. The tuple contains itself a sub-tuple

C++ program

Click to retrieve the C++ source code of the example and the corresponding textual output.

You can build the application typing :
scram b bin exa7

You can run the application typing (using bash shell):
eval `scram runtime -sh'
exa7

Program flow

  1. A tuple is created passing a description string containing name of variables and their types. The last variable, representing a particle 4-momentum, is a sub-tuple. Notice the syntax used to describe the tuple (and the sub-tuple).
  2. The tuple is filled with random data
  3. An evaluator expression and a filter (cut expression) are created to analyze the tuple
  4. The tuple is projected to a cloud using the evaluator and filter