14 |
|
namespace mitedm |
15 |
|
{ |
16 |
|
// Declare the class |
17 |
< |
class MvfInterface { |
18 |
< |
// --------------------------------------------------------------------------------------------- |
19 |
< |
// CMS parameter ordering for the vector/matrix, which is assumed here: |
20 |
< |
// |
21 |
< |
// qoverp, lambda = pi/2 - theta, phi0, dxy, dsz; |
22 |
< |
// mapping to CDF is therefore { 1, 0*, 4, 3, 2 }, where * indicates that a transformation is |
23 |
< |
// needed |
24 |
< |
// |
25 |
< |
// Note that the radius of curvature (in cm) is then: |
26 |
< |
// |
27 |
< |
// Rc = cos(theta) / [ 0.0029979.... * (q/p) * B ], |
28 |
< |
// |
29 |
< |
// where B is the magnetic field in Tesla and tht is the angle between the field and the |
30 |
< |
// direction. With p * cos(theta) = pT it follows: |
31 |
< |
// |
32 |
< |
// Rc = pT / [ 0.0029979.... * q * B ], |
33 |
< |
// fullCurvature = 1 / Rc = 0.0029979 * q * B / pT = - 0.0029979 * B / pT. |
34 |
< |
// |
35 |
< |
// see the conventions for the MultiVertexFitter in its own header file. |
36 |
< |
// --------------------------------------------------------------------------------------------- |
37 |
< |
|
17 |
> |
class MvfInterface |
18 |
> |
{ |
19 |
|
public: |
20 |
|
// --------------------------------------------------------------------------------------------- |
21 |
|
// *structors |
24 |
|
~MvfInterface() {} |
25 |
|
|
26 |
|
// --------------------------------------------------------------------------------------------- |
27 |
< |
// Fundamental funtions |
27 |
> |
// Fundamental functions |
28 |
|
// --------------------------------------------------------------------------------------------- |
29 |
< |
bool addTrack(const reco::Track* trk, const int id, const float mass, |
30 |
< |
MultiVertexFitter::vertexNumber jv); |
29 |
> |
bool addTrack(const reco::Track *trk, const int id, const float mass, |
30 |
> |
MultiVertexFitter::vertexNumber jv); |
31 |
|
|
32 |
|
// --------------------------------------------------------------------------------------------- |
33 |
|
// Accessors |
34 |
|
// --------------------------------------------------------------------------------------------- |
35 |
< |
MultiVertexFitter *fitter() { return _mvf; } |
35 |
> |
MultiVertexFitter *fitter() { return mvf_;} |
36 |
|
|
37 |
|
private: |
38 |
|
// --------------------------------------------------------------------------------------------- |
39 |
|
// Data members of class |
40 |
|
// --------------------------------------------------------------------------------------------- |
41 |
< |
MultiVertexFitter *_mvf; |
61 |
< |
double _fCurv0; |
62 |
< |
double _fCurv; |
41 |
> |
MultiVertexFitter *mvf_; |
42 |
|
}; |
43 |
|
} |
44 |
|
#endif |