WTI/Experiment Electronics/Data Processing: Go4

Previous tutorial 9  |    Go4   control.C 

Tutorial 10

The table below shows the layout from the previous tutorial.

StepInputProcessorOutput
GetRawMBSdefaultnone
Unpack1Input of GetRawMakeUnp1EventUnp1
Cal1EventUnp1MakeCal1EventCal1
RestCal1EventCal1defaultnone
Unpack2Input of GetRawMakeUnp2EventUnp2
Cal2EventUnp2MakeCal2EventCal2
RestCal2EventCal2defaultnone
PhysicsInput of RestCal1 and RestCal2MakePhysEventPhys

We now want to exercise to store data and retrieve it in different phases.
The file names are specified in setup.C and can be changed in the configuration menu.
For convenience we provide another macro to configure the following settings.
Download control.C and execute it in TSt8Analysis behind setup.C.

  1. Store unpacked data
    StepSourceProcessStore
    GetRaw onon off
    Unpack1 offon on
    Cal1 offoffoff
    RestCal1 offoffoff
    Unpack2 offon on
    Cal2 offoffoff
    RestCal2 offoffoff
    Physics offoffoff
    The unpack sources are off.
    They get their input from MBS input which must be enabled.
    Store their output events into files. All others are not used yet.

  2. Read unpacked data, store calibrated data
    StepSourceProcessStore
    GetRaw offoff off
    Unpack1 offoff off
    Cal1 ononon
    RestCal1 offoffoff
    Unpack2 offoff off
    Cal2 ononon
    RestCal2 offoffoff
    Physics offoffoff
    Now the MBS and the unpack steps are no longer needed.
    The calibration steps get their inputs from the files written before
    and store their events in other files.

  3. Read calibrated data, store physics data
    StepSourceProcessStore
    GetRaw offoff off
    Unpack1 offoff off
    Cal1 offoffoff
    RestCal1 ononoff
    Unpack2 offoff off
    Cal2 offoffoff
    RestCal2 ononoff
    Physics offonon
    Now we need the two RestCal steps to read the data
    written by the calibration steps before from files.
    Physics has source off because it gets its input from the two RestCal steps.
    The results are stored in final file.

We recommend to configure these phases and store them as described at the end of Tutorial 7.


WTI Experiment Electronic Data Processing Group
Hans Essel , GSI Helmholtzzentrum für Schwerionenforschung mbH, GSI
Total 25957, last 2022 Jul 06 17:23
Last update: 2009 Nov 25 19:16