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.2 by peiffer, Wed May 23 09:10:59 2012 UTC vs.
Revision 1.3 by peiffer, Wed May 30 13:20:09 2012 UTC

# Line 17 | Line 17 | class GenParticle : public Particle{
17    ~GenParticle(){
18    };
19  
20
20    int pdgId() const{return m_pdgId;}
21    int status() const{return m_status;}
22    int index() const{return m_index;}
23 <
23 >  int mother1() const{return m_mother1;}
24 >  int mother2() const{return m_mother2;}
25 >  int daughter1() const{return m_daughter1;}
26 >  int daughter2() const{return m_daughter2;}
27  
28    //return mother 1 or 2 (ind<=1 or ind>=2)
29    GenParticle* mother(std::vector<GenParticle> *gplist, int ind=1){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines