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

Comparing UserCode/UHHAnalysis/NtupleWriter/Objects/GenParticle.h (file contents):
Revision 1.4 by peiffer, Wed Jun 13 09:38:28 2012 UTC vs.
Revision 1.5 by peiffer, Wed May 8 12:28:35 2013 UTC

# Line 18 | Line 18 | class GenParticle : public Particle{
18      m_mother2=0;
19      m_daughter1=0;
20      m_daughter2=0;
21 +    m_spin=0;
22    };
23    ~GenParticle(){
24    };
# Line 29 | Line 30 | class GenParticle : public Particle{
30    int mother2() const{return m_mother2;}
31    int daughter1() const{return m_daughter1;}
32    int daughter2() const{return m_daughter2;}
33 +  int spin() const{return m_spin;}
34  
35    //return mother 1 or 2 (ind<=1 or ind>=2)
36    GenParticle* mother(std::vector<GenParticle> *gplist, int ind=1){
# Line 72 | Line 74 | class GenParticle : public Particle{
74    void set_mother2(int x){  m_mother2=x;}
75    void set_daughter1(int x){  m_daughter1=x;}
76    void set_daughter2(int x){  m_daughter2=x;}
77 +  void set_spin(int x){  m_spin=x;}
78  
79   private:
80    int m_pdgId;
# Line 82 | Line 85 | class GenParticle : public Particle{
85    int m_mother2;
86    int m_daughter1;
87    int m_daughter2;
88 +  int m_spin;
89  
90  
91   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines