Add StudyMode feature to analyze hits
TrajCluster does a virtual merge of hits when creating trajectory points (TP). The decision on which hits to use in a TP depends on the trajectory local angle, the charge of previously added TPs and the expected width of the used hits. The algorithm for making this selection, FindUseHits, was developed in an earlier version of the hit finder which produced hits of wildly varying widths and charge. The current version treats long wire signals differently, producing a series of narrow equally spaced hits.
The proposal is to create a StudyMode feature that creates true trajectories, using the utility function PutMCPHitsInVector. TPs in the true trajectories would be analyzed to improve the model for the expected TP hit width vs trajectory angle. This model would then be incorporated in FindUseHits. This study would also provide the user with recommended settings for fcl parameters such as MultHitSep, AngleRanges and MaxAngleCode.