1 |
paus |
1.1 |
//==================================================================================================
|
2 |
|
|
// MvfInterface class header file
|
3 |
|
|
//
|
4 |
|
|
// Author: Christoph Paus, MIT
|
5 |
|
|
// Description: Provide a CMS specific interface for the generic MultiVertexFitter.
|
6 |
|
|
// Date: Jul 18, 2008
|
7 |
|
|
//==================================================================================================
|
8 |
|
|
#ifndef MVFINTERFACE_H
|
9 |
|
|
#define MVFINTERFACE_H
|
10 |
|
|
|
11 |
|
|
#include "DataFormats/TrackReco/interface/Track.h"
|
12 |
|
|
#include "MitVertex/Fit/interface/MultiVertexFitter.h"
|
13 |
|
|
|
14 |
|
|
namespace mitedm
|
15 |
|
|
{
|
16 |
|
|
// Declare the class
|
17 |
paus |
1.3 |
class MvfInterface
|
18 |
|
|
{
|
19 |
paus |
1.1 |
public:
|
20 |
|
|
// ---------------------------------------------------------------------------------------------
|
21 |
|
|
// *structors
|
22 |
|
|
// ---------------------------------------------------------------------------------------------
|
23 |
|
|
MvfInterface(MultiVertexFitter *fitter);
|
24 |
|
|
~MvfInterface() {}
|
25 |
|
|
|
26 |
|
|
// ---------------------------------------------------------------------------------------------
|
27 |
paus |
1.3 |
// Fundamental functions
|
28 |
paus |
1.1 |
// ---------------------------------------------------------------------------------------------
|
29 |
paus |
1.3 |
bool addTrack(const reco::Track *trk, const int id, const float mass,
|
30 |
|
|
MultiVertexFitter::vertexNumber jv);
|
31 |
paus |
1.1 |
|
32 |
|
|
// ---------------------------------------------------------------------------------------------
|
33 |
|
|
// Accessors
|
34 |
|
|
// ---------------------------------------------------------------------------------------------
|
35 |
paus |
1.3 |
MultiVertexFitter *fitter() { return mvf_;}
|
36 |
paus |
1.1 |
|
37 |
|
|
private:
|
38 |
|
|
// ---------------------------------------------------------------------------------------------
|
39 |
|
|
// Data members of class
|
40 |
|
|
// ---------------------------------------------------------------------------------------------
|
41 |
paus |
1.3 |
MultiVertexFitter *mvf_;
|
42 |
paus |
1.1 |
};
|
43 |
|
|
}
|
44 |
|
|
#endif
|