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.1 by peiffer, Tue May 22 09:32:32 2012 UTC vs.
Revision 1.4 by peiffer, Wed Jun 13 09:38:28 2012 UTC

# Line 3 | Line 3
3  
4   #include "Particle.h"
5  
6 + /**
7 + *  @short generator particle class
8 + *  @author Thomas Peiffer
9 + */
10 +
11   class GenParticle : public Particle{
12   public:
13    GenParticle(){
# Line 17 | Line 22 | class GenParticle : public Particle{
22    ~GenParticle(){
23    };
24  
25 <
26 <  int pdgId(){return m_pdgId;}
27 <  int status(){return m_status;}
28 <  int index(){return m_index;}
29 <
25 >  int pdgId() const{return m_pdgId;}
26 >  int status() const{return m_status;}
27 >  int index() const{return m_index;}
28 >  int mother1() const{return m_mother1;}
29 >  int mother2() const{return m_mother2;}
30 >  int daughter1() const{return m_daughter1;}
31 >  int daughter2() const{return m_daughter2;}
32  
33    //return mother 1 or 2 (ind<=1 or ind>=2)
34    GenParticle* mother(std::vector<GenParticle> *gplist, int ind=1){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines