Helper function to interpolate points using a spline from Eigen.
The only requirement is that the input trajectory type has a method empty() and size() and that the elements can be accessed with operator[] and have themselves a operator[] to access the coordinates.
- Template Parameters
-
| input_trajectory_type | input trajectory type |
- Parameters
-
| inputsRaw | input vector points |
| nPoints | number of interpolation points |
| keepOriginalHits | keep the original hits in the trajectory |
- Returns
- std::vector<Acts::Vector3> interpolated points