ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/VertexFitInterface/interface/MvfInterface.h
Revision: 1.9
Committed: Thu Nov 13 16:36:48 2008 UTC (16 years, 5 months ago) by paus
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_012i, Mit_012h, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a, Mit_011, Mit_010a, Mit_010, Mit_009c, Mit_009b, Mit_009a, Mit_009, Mit_008, Mit_008pre2, Mit_008pre1, Mit_006b, Mit_006a, Mit_006
Changes since 1.8: +16 -4 lines
Log Message:
Interface to allow for the three optimized versions.

File Contents

# User Rev Content
1 loizides 1.4 //--------------------------------------------------------------------------------------------------
2 paus 1.9 // $Id: MvfInterface.h,v 1.8 2008/09/27 05:48:26 loizides Exp $
3 loizides 1.4 //
4 paus 1.1 // MvfInterface class header file
5     //
6 loizides 1.4 // Provide a CMS specific interface for the generic MultiVertexFitter.
7     //
8     // Author: C.Paus
9     //--------------------------------------------------------------------------------------------------
10    
11 loizides 1.6 #ifndef MITEDM_VERTEXFITINTERFACE_MVFINTERFACE_H
12     #define MITEDM_VERTEXFITINTERFACE_MVFINTERFACE_H
13 paus 1.1
14     #include "DataFormats/TrackReco/interface/Track.h"
15 loizides 1.7 #include "MitCommon/VertexFit/interface/MultiVertexFitter.h"
16 paus 1.9 #include "MitCommon/VertexFit/interface/MultiVertexFitterC.h"
17     #include "MitCommon/VertexFit/interface/MultiVertexFitterD.h"
18 paus 1.1
19     namespace mitedm
20     {
21 paus 1.3 class MvfInterface
22     {
23 loizides 1.5 public:
24 paus 1.9 MvfInterface(mithep::MultiVertexFitter *fitter);
25     MvfInterface(mithep::MultiVertexFitterC *fitter);
26     MvfInterface(mithep::MultiVertexFitterD *fitter);
27 loizides 1.5 ~MvfInterface() {}
28 loizides 1.4
29 loizides 1.8 bool addTrack(const reco::Track *trk, const int id, const float mass,
30     mithep::MultiVertexFitter::vertexNumber jv);
31 paus 1.9 bool addTrack(const reco::Track *trk, const int id, const float mass,
32     mithep::MultiVertexFitterC::vertexNumber jv);
33     bool addTrack(const reco::Track *trk, const int id, const float mass,
34     mithep::MultiVertexFitterD::vertexNumber jv);
35 loizides 1.4
36 paus 1.9 mithep::MultiVertexFitter *fitter () { return mvf_;}
37     mithep::MultiVertexFitterC *fitterC() { return mvfC_;}
38     mithep::MultiVertexFitterD *fitterD() { return mvfD_;}
39 paus 1.1
40 loizides 1.5 private:
41 paus 1.9 mithep::MultiVertexFitter *mvf_; //the multi vertex fitter
42     mithep::MultiVertexFitterC *mvfC_; //the multi vertex fitter
43     mithep::MultiVertexFitterD *mvfD_; //the multi vertex fitter
44 paus 1.1 };
45     }
46     #endif