Add method to set initial momentum direction per event
In TrackingGenfit
, I would like to push a method called void SetInitDir(TVector3)
that I have added to my local repository. This makes it possible to pass an initial direction (computed using e.g. the 3D fit from this framework) to genfit that is called in TrackingGenfit.cc
(around line 491) for each event. I have already tested it and it seems to work without issues. The input vector would be computed within the p348reco framework, so the only change to tracking-tools would be the addition of this method.
Edited by Mirald Tuzi