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

Comparing UserCode/UHHAnalysis/NtupleWriter/Objects/Particle.h (file contents):
Revision 1.1 by peiffer, Tue May 22 09:32:32 2012 UTC vs.
Revision 1.2 by peiffer, Wed May 23 09:10:59 2012 UTC

# Line 35 | Line 35 | class Particle{
35      return v4;
36    };
37  
38 <  float charge(){return m_charge;}
39 <  float pt(){return m_pt;}
40 <  float eta(){return m_eta;}
41 <  float phi(){return m_phi;}
42 <  float energy(){return m_energy;}
38 >  float charge() const{return m_charge;}
39 >  float pt() const {return m_pt;}
40 >  float eta() const{return m_eta;}
41 >  float phi() const{return m_phi;}
42 >  float energy() const{return m_energy;}
43  
44    void set_charge(float charge){m_charge=charge;}
45    void set_pt(float pt){m_pt=pt;}  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines