ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/Vertex.h
(Generate patch)

Comparing UserCode/MitAna/DataTree/interface/Vertex.h (file contents):
Revision 1.6 by bendavid, Wed Nov 12 18:18:27 2008 UTC vs.
Revision 1.7 by loizides, Tue Dec 9 17:47:00 2008 UTC

# Line 22 | Line 22 | namespace mithep
22        Vertex() :
23          fChi2(0.0), fNdof(0), fNTracks(0) {}
24        Vertex(Double_t x, Double_t y, Double_t z) :
25 <        BaseVertex(x,y,z), fChi2(0.0), fNdof(0), fNTracks(0) {}
26 <
25 >        BaseVertex(x,y,z), fChi2(0), fNdof(0), fNTracks(0) {}
26        Vertex(Double_t x, Double_t y, Double_t z, Double_t xErr, Double_t yErr, Double_t zErr) :
27          BaseVertex(x,y,z,xErr,yErr,zErr), fChi2(0.0), fNdof(0), fNTracks(0) {}
28        Vertex(const ThreeVector &pos) :
29 <        BaseVertex(pos), fChi2(0.0), fNdof(0), fNTracks(0) {}
29 >        BaseVertex(pos), fChi2(0), fNdof(0), fNTracks(0) {}
30        ~Vertex() {}
31        
32 <      Double_t            Chi2()      const { return fChi2; }
33 <      UInt_t              Ndof()      const { return fNdof; }
34 <      UInt_t              NTracks()   const { return fNTracks; }
32 >      Double_t            Chi2()      const { return fChi2;                    }
33 >      UInt_t              Ndof()      const { return fNdof;                    }
34 >      UInt_t              NTracks()   const { return fNTracks;                 }
35 >      EObjType            ObjType()   const { return kVertex;                  }      
36        Double_t            Prob()      const { return TMath::Prob(fChi2,fNdof); }
37 <      void                SetChi2(Double_t chi2)              { fChi2 = chi2; }
38 <      void                SetNdof(UInt_t nDof)                { fNdof = nDof; }
39 <      void                SetNTracks(UInt_t ntrks)            { fNTracks = ntrks; }
37 >      void                SetChi2(Double_t chi2)     { fChi2 = chi2;     }
38 >      void                SetNdof(UInt_t nDof)       { fNdof = nDof;     }
39 >      void                SetNTracks(UInt_t ntrks)   { fNTracks = ntrks; }
40              
41      protected:
42        Double32_t          fChi2;     //chi squared of conversion vertex fit

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines