ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/UHHAnalysis/NtupleWriter/Objects/PrimaryVertex.h
(Generate patch)

Comparing UserCode/UHHAnalysis/NtupleWriter/Objects/PrimaryVertex.h (file contents):
Revision 1.2 by peiffer, Wed May 23 09:10:59 2012 UTC vs.
Revision 1.3 by peiffer, Wed May 30 13:20:08 2012 UTC

# Line 25 | Line 25 | class PrimaryVertex{
25    float chi2() const{return m_chi2;}
26    float ndof() const{return m_ndof;}
27  
28 +  float rho() const{return sqrt(m_x*m_x+m_y*m_y);}
29 +
30    void set_x(float x){m_x=x;}
31    void set_y(float x){m_y=x;}
32    void set_z(float x){m_z=x;}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines