We need to define (and then implement) a proper treatment of vertices in event reader classes for generator output formats that stores vertex information with the MC particle such as LCIO, HepEvt and stdhep. Potential solutions are:
ignore that information completely and set Vertex outside the reader
causes a problem in cases where a non-standard Vertex position is intended, e.g. in dedicated single particle files or in e+e- pairs files
also the primary event vertex might have been already set by a generator ...
try to identify the vertices in the event based on the position
need to define a parameter epsilon for floating point comparison
need to define correct logic for computing the primary vertex ...
We need to define (and then implement) a proper treatment of vertices in event reader classes for generator output formats that stores vertex information with the MC particle such as LCIO, HepEvt and stdhep. Potential solutions are:
ignore that information completely and set Vertex outside the reader
try to identify the vertices in the event based on the position