1 |
paus |
1.5 |
#include "MitEdm/VertexFitInterface/interface/TrackParameters.h"
|
2 |
paus |
1.1 |
#include "MitEdm/VertexFitInterface/interface/MvfInterface.h"
|
3 |
|
|
|
4 |
|
|
using namespace reco;
|
5 |
|
|
using namespace mitedm;
|
6 |
|
|
|
7 |
|
|
MvfInterface::MvfInterface(MultiVertexFitter *fitter) :
|
8 |
paus |
1.5 |
mvf_(fitter)
|
9 |
paus |
1.1 |
{
|
10 |
|
|
}
|
11 |
|
|
|
12 |
paus |
1.5 |
bool MvfInterface::addTrack(const Track *trk, const int id, const float mass,
|
13 |
paus |
1.1 |
MultiVertexFitter::vertexNumber jv)
|
14 |
|
|
{
|
15 |
paus |
1.5 |
TrackParameters cmsTrk(trk);
|
16 |
|
|
TrackParameters mvfTrk = cmsTrk.mvfTrack();
|
17 |
|
|
return (mvf_->addTrack(*mvfTrk.pars(),*mvfTrk.cMat(),id,mass,jv));
|
18 |
paus |
1.1 |
}
|