Enable dumping of detailed seed/track-candidate/measurement information for all tracking passes
These changes follow changes made in MR !63126 (merged) and enables storing track measurements, seeds and candidates for any additional tracking pass (instead of only for the main pass).
By default, flags.Tracking.doStoreTrackSeeds
, flags.Tracking.doStoreSiSPSeededTracks
preserve their default behavior (of storing the main pass only). Additional flags for specific passes can enable dumping the information for those passes as well, e.g. flags.Tracking.LowPtRoIPass.storeSiSPSeededTracks=True
will also store track candidates for the LowPtRoiPass
. Similar syntax allows for instance to store this information for large-radius tracks, or for disappearing tracks, and any future pass that can/will be implemented.
This MR also correctly sets up the special seed validation ntuple writer to behave correctly with multiple passes, when requested as above.
Finally, we also now enable the possibility to store links to measurements for all passes, again if requested as above.
Note that by default all these flags are set to false. I've tested common non-default configurations to ensure backwards compatibility as well.
Tagging @adimitri , @arastogi , @cgrefe and @gfacini for knowledge