ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/VertexFitInterface/src/MvfInterface.cc
Revision: 1.6
Committed: Thu Sep 4 13:55:29 2008 UTC (16 years, 8 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.5: +5 -0 lines
Log Message:
Introduce mithep namespace whereever apropriate.

File Contents

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