JeffersonLab / iguana

Preservation of common physics data analysis algorithms. Currently focused on HIPO data.
https://jeffersonlab.github.io/iguana/
GNU Lesser General Public License v3.0
2 stars 7 forks source link

ZVertex Filter should operate on specified PIDs only #236

Closed rtysonCLAS12 closed 2 months ago

rtysonCLAS12 commented 2 months ago

At present ZVertex filter will be applied to any particle type. However the algorithm comes from the RG-A analysis note which recommends applying the cut only to electrons. There should therefore be a check on PID before filtering.

Solution is simple, config file should have additional PIDs entry. When running the algorithm, only filter on particles that have same PID as that in list taken from config file. Default behaviour should be electrons only.