GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
Files | |
TXXXProc.cxx | |
TXXXProc.h | |
XXXLinkDef.h | |
This package demonstrate usage of DABC functionality in go4 analysis
Rebuild the package by
Description of the package
The analysis code is in the event processor TXXXProc. Members are histogram, condition, and parameter pointers used in the event method Event. In the constructor of TXXXProc the histograms, parameters and conditions are created. Method BuildEvent() called for every new input event, which is is retrieved from the framework with GetInputEvent() call. Output event in this example is dummy TGo4EventElement object. In the first part of BuildEvent() method data from the raw MBS event are copied to the arrays. Two subevents (crate 1,2) are processed. Then the histograms are filled, the 2d one with polygon conditions.
Analysis can be started from the Go4 GUI or by command line:
The events can be read from standard GSI lmd files or MBS or event servers. For each event the user event processor TXXXProc is called. It fills some histograms, taking data from input MBS event. The histograms can be stored in autosave file.
First of all, it is good idea to rename all classes. For this, go4 rename.sh script can be used:
Most probably you will change TXXXParam to keep useful parameters. Definitely you will change TXXXProc to create your histograms, conditions, pictures, and finally write your analysis function BuildEvent. If you need to fill data in output event, please consider Go4Example1Step example.
Provide the definition and implementation files (.h and .cxx) Add class in XXXLinkDef.h Then make all
.