Skip to content
Snippets Groups Projects
Commit 11952497 authored by Scott Snyder's avatar Scott Snyder Committed by Walter Lampl
Browse files

TrkVKalVrtFitter: Working to make IVertexFitter const.

In order to clean up ToolHandle constness problems, we should make
the methods of IVertexFitter const.

One of the implementations of IVertexFitter is TrkVKalVertexFitter.
This is currently problematic becase it keeps state in member variables.

We'll attack this by moving this information into a separate State class,
which clients should then pass to the methods of TrkVKalVertexFitter.
(This is actually not so much an issue for the interfaces in
IVertexFitter as for the many other interfaces implemented
by TrkVKalVertexFitter.)

This will also require some changes to clients.

We'll do this in several steps, in order to avoid having to review
one huge change.  In this first step, interfaces of TrkVKalVertexFitter
are extended to take a state argument, which for the moment is optional.
parent 23f31e6c
No related branches found
No related tags found
No related merge requests found
Showing
with 306 additions and 109 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment