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(){ |
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){ |