StEvent - A real example: StAnalysisMaker::Make()
// Ok we survived the filter. Now it is time
// to do something with the event.
// In the following we simply fill the Ntuple.
tuple[k++] = event->id(); // the event number
tuple[k++] = event->primaryVertex()->position().x();
tuple[k++] = event->primaryVertex()->position().y();
tuple[k++] = event->primaryVertex()->position().z();