JeffersonLab / hps-java

HPS reconstruction and analysis framework in Java
2 stars 10 forks source link

Add setter for input names for KalmanKinkFitDriver #965

Open sarahgaiser opened 1 year ago

sarahgaiser commented 1 year ago

It would be nice to be able to set the input collection names for the KalmanKinkFitDriver from the steering file that uses the driver. At the moment, the collection names are hard-coded. https://github.com/JeffersonLab/hps-java/blob/7e9a7eac08b6229d4f8b8bf02e29cbcc432215b4/tracking/src/main/java/org/hps/recon/tracking/kalman/KalmanKinkFitDriver.java#L76-L80 This is relevant because you can set the output collection name in KalmanPatRecDriver which provides the input collection for KalmanKinkFitDriver. For the sake of consistency, we should either add a setter here or remove the one in KalmanPatRecDriver.