- Example 1. Make a list of pions and a list of kaons in the KWFIT track list. With the pion list do the following
- Check to see that each pion is consistent with coming from the beam spot. Make a list of these tracks.
- With this updated list, make a primary vertex without updating the original tracks
- Take each pion contributing to the primary vertex and find the chisquare for it to pass through the new vertex.