Hi, The endpoints of secondary particles are not correct in simulation. The reason may be in [Simulation/DetSimAna/src/Edm4hepWriterAnaElemTool.cpp#L496](https://github.com/cepc/CEPCSW/blob/master/Simulation/DetSimAna/src/Edm4hepWriterAnaElemTool.cpp#L496)