StEvent - A real example: StAnalysisMaker::Make()
// Store the current tuple. See you next event.
}
bool StAnalysisMaker::accept(StTrack* track)
{
//
// This is a kind of very simple track filter.
// We only check for positive flags.
// Note that this method works for global and
// primary tracks since we deal with the base
// class only (StTrack).
//
return track && track->flag() >= 0;
}