|
gdata
|
Event-level construction and inspection of per-detector hit data. More...
| int | main (int argc, char *argv[]) |
| Entry point for the event example. | |
This example emulates a simplified event loop where each event produces hit data for one or more sensitive detectors and stores them into a GEventDataCollection.
The GEventDataCollection owns per-hit objects. For each hit, two complementary views may be produced and stored:
For each event, data are organized as:
| int main | ( | int | argc, |
| char * | argv[] ) |
The program:
The event count is intentionally small so the output remains easy to inspect manually.
EXIT_SUCCESS on normal completion. Definition at line 343 of file event_example.cc.