Skip to content
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

Add setter for input names for KalmanKinkFitDriver #965

Open
sarahgaiser opened this issue Mar 30, 2023 · 0 comments
Open

Add setter for input names for KalmanKinkFitDriver #965

sarahgaiser opened this issue Mar 30, 2023 · 0 comments
Labels

Comments

@sarahgaiser
Copy link
Collaborator

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.

String stripDataRelationsInputCollectionName = "KFGBLStripClusterDataRelations";
if (!event.hasCollection(LCRelation.class, stripDataRelationsInputCollectionName)) {
System.out.format("\nKalmanKinkFitDriver: the data collection %s is missing.\n",stripDataRelationsInputCollectionName);
}
String trackCollectionName = "KalmanFullTracks";

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant