17 |
|
~GenParticle(){ |
18 |
|
}; |
19 |
|
|
20 |
< |
|
21 |
< |
int pdgId(){return m_pdgId;} |
22 |
< |
int status(){return m_status;} |
23 |
< |
int index(){return m_index;} |
24 |
< |
|
20 |
> |
int pdgId() const{return m_pdgId;} |
21 |
> |
int status() const{return m_status;} |
22 |
> |
int index() const{return m_index;} |
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){ |