ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/VertexFitInterface/interface/MvfInterface.h
Revision: 1.10
Committed: Sun Feb 21 23:40:53 2010 UTC (15 years, 2 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, V07-05-00, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, ConvRejection-10-06-09, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013, Mit_013pre1, HEAD
Branch point for: Mit_025c_branch
Changes since 1.9: +8 -1 lines
Log Message:
Add TransientTrack interface for vertex fit

File Contents

# User Rev Content
1 loizides 1.4 //--------------------------------------------------------------------------------------------------
2 bendavid 1.10 // $Id: MvfInterface.h,v 1.9 2008/11/13 16:36:48 paus 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 bendavid 1.10 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
16 loizides 1.7 #include "MitCommon/VertexFit/interface/MultiVertexFitter.h"
17 paus 1.9 #include "MitCommon/VertexFit/interface/MultiVertexFitterC.h"
18     #include "MitCommon/VertexFit/interface/MultiVertexFitterD.h"
19 paus 1.1
20     namespace mitedm
21     {
22 paus 1.3 class MvfInterface
23     {
24 loizides 1.5 public:
25 paus 1.9 MvfInterface(mithep::MultiVertexFitter *fitter);
26     MvfInterface(mithep::MultiVertexFitterC *fitter);
27     MvfInterface(mithep::MultiVertexFitterD *fitter);
28 loizides 1.5 ~MvfInterface() {}
29 loizides 1.4
30 loizides 1.8 bool addTrack(const reco::Track *trk, const int id, const float mass,
31     mithep::MultiVertexFitter::vertexNumber jv);
32 paus 1.9 bool addTrack(const reco::Track *trk, const int id, const float mass,
33     mithep::MultiVertexFitterC::vertexNumber jv);
34     bool addTrack(const reco::Track *trk, const int id, const float mass,
35     mithep::MultiVertexFitterD::vertexNumber jv);
36 bendavid 1.10 bool addTrack(const reco::TransientTrack &trk, const int id, const float mass,
37     mithep::MultiVertexFitter::vertexNumber jv);
38     bool addTrack(const reco::TransientTrack &trk, const int id, const float mass,
39     mithep::MultiVertexFitterC::vertexNumber jv);
40     bool addTrack(const reco::TransientTrack &trk, const int id, const float mass,
41     mithep::MultiVertexFitterD::vertexNumber jv);
42 loizides 1.4
43 paus 1.9 mithep::MultiVertexFitter *fitter () { return mvf_;}
44     mithep::MultiVertexFitterC *fitterC() { return mvfC_;}
45     mithep::MultiVertexFitterD *fitterD() { return mvfD_;}
46 paus 1.1
47 loizides 1.5 private:
48 paus 1.9 mithep::MultiVertexFitter *mvf_; //the multi vertex fitter
49     mithep::MultiVertexFitterC *mvfC_; //the multi vertex fitter
50     mithep::MultiVertexFitterD *mvfD_; //the multi vertex fitter
51 paus 1.1 };
52     }
53     #endif