Raw Event - PNapi90/DESPEC-Analysis-Framework GitHub Wiki

Raw Event

The Raw Event class takes care of all the data transportation between the different Detector Systems and the Go4 Loop program. The data transport is initialized by the function void Detector_System::get_Event_data(Raw_Event*). In each Detector System, a respective data setter function (e.g. set_DATA_FATIMA(...)) is called to transport the processed data to the Raw Event class object (normally called RAW).

To gain access to this data, a variety of getter functions are defined. For example:

double Raw_Event::get_FATIMA_E(int i){
    return E[i];
}

These can be called directly in the Go4 Loop program (e.g. to create histograms).

REMARK

The object RAW only holds onto its data over the course of one subevent. If you want to compare different events, a rudimentary eventbuilder is needed!