18 |
|
m_mother2=0; |
19 |
|
m_daughter1=0; |
20 |
|
m_daughter2=0; |
21 |
+ |
m_spin=0; |
22 |
|
}; |
23 |
|
~GenParticle(){ |
24 |
|
}; |
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){ |
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; |
85 |
|
int m_mother2; |
86 |
|
int m_daughter1; |
87 |
|
int m_daughter2; |
88 |
+ |
int m_spin; |
89 |
|
|
90 |
|
|
91 |
|
}; |