# | 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;} |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |