-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZVertexFilter: Added option for pids and validator #242
ZVertexFilter: Added option for pids and validator #242
Conversation
Thanks Chris for fixing the example files and fortran bindings, I had missed those in the original commit |
@c-dilks I've added the changes you recommended |
That's strange, maybe something to do with how the vertex is calculated fro electrons in the FT? The plots for the other particle types seem sensible. |
Makes sense, there is no z-vertex position from the FT (no tracker). FT electrons should not have a z-vertex cut applied. |
Ok thanks for pointing that out! |
Simple fix to add pids of particles for which to filter based on zvertex. Added default to only electrons in Config.yaml.
Also added validator to plot before and after zvertex cuts. This is plotted for electrons, on which we cut in the validator, but also other particles which shouldn't (and aren't) cut on.
Example plots for electrons and pions outputted by validator:

