ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/VertexFitInterface/src/MvfInterface.cc
Revision: 1.7
Committed: Sat Sep 27 05:48:26 2008 UTC (16 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_005, Mit_004
Changes since 1.6: +5 -2 lines
Log Message:
Cleanup

File Contents

# User Rev Content
1 loizides 1.7 // $Id: MvfInterface.cc,v 1.6 2008/09/04 13:55:29 loizides Exp $
2 loizides 1.6
3 loizides 1.7 #include "MitEdm/VertexFitInterface/interface/MvfInterface.h"
4 paus 1.5 #include "MitEdm/VertexFitInterface/interface/TrackParameters.h"
5 paus 1.1
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 loizides 1.7 // Constructor.
15 paus 1.1 }
16    
17 loizides 1.6 //--------------------------------------------------------------------------------------------------
18 paus 1.5 bool MvfInterface::addTrack(const Track *trk, const int id, const float mass,
19 paus 1.1 MultiVertexFitter::vertexNumber jv)
20     {
21 loizides 1.7 // Add a track to the track pool
22    
23 paus 1.5 TrackParameters cmsTrk(trk);
24     TrackParameters mvfTrk = cmsTrk.mvfTrack();
25     return (mvf_->addTrack(*mvfTrk.pars(),*mvfTrk.cMat(),id,mass,jv));
26 paus 1.1 }