ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/VertexFitInterface/interface/MvfInterface.h
(Generate patch)

Comparing UserCode/MitEdm/VertexFitInterface/interface/MvfInterface.h (file contents):
Revision 1.2 by bendavid, Thu Jul 31 19:20:11 2008 UTC vs.
Revision 1.3 by paus, Thu Aug 28 22:09:20 2008 UTC

# Line 14 | Line 14
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
# Line 43 | Line 24 | namespace mitedm
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines