22 |
|
,type_(0) |
23 |
|
,charge_(0.) |
24 |
|
,genParticleIndex_(-1) |
25 |
< |
,genParticle_() |
25 |
> |
,genParticle_(0) |
26 |
|
{;} |
27 |
|
|
28 |
|
TRootParticle(const TRootParticle& particle) : |
40 |
|
,type_(0) |
41 |
|
,charge_(0.) |
42 |
|
,genParticleIndex_(-1) |
43 |
< |
,genParticle_() |
43 |
> |
,genParticle_(0) |
44 |
|
{;} |
45 |
|
|
46 |
|
TRootParticle(Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vtx_x, Double_t vtx_y, Double_t vtx_z) : |
49 |
|
,type_(0) |
50 |
|
,charge_(0.) |
51 |
|
,genParticleIndex_(-1) |
52 |
< |
,genParticle_() |
52 |
> |
,genParticle_(0) |
53 |
|
{;} |
54 |
|
|
55 |
|
TRootParticle(Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vtx_x, Double_t vtx_y, Double_t vtx_z,Int_t type, Float_t charge) : |
58 |
|
,type_(type) |
59 |
|
,charge_(charge) |
60 |
|
,genParticleIndex_(-1) |
61 |
< |
,genParticle_() |
61 |
> |
,genParticle_(0) |
62 |
|
{;} |
63 |
|
|
64 |
|
|
68 |
|
,type_(0) |
69 |
|
,charge_(0.) |
70 |
|
,genParticleIndex_(-1) |
71 |
< |
,genParticle_() |
71 |
> |
,genParticle_(0) |
72 |
|
{;} |
73 |
|
|
74 |
|
TRootParticle(const TLorentzVector &momentum, const TVector3 &vertex) : |
77 |
|
,type_(0) |
78 |
|
,charge_(0.) |
79 |
|
,genParticleIndex_(-1) |
80 |
< |
,genParticle_() |
80 |
> |
,genParticle_(0) |
81 |
|
{;} |
82 |
|
|
83 |
|
TRootParticle(const TLorentzVector &momentum, const TVector3 &vertex, Int_t type, Float_t charge) : |
86 |
|
,type_(type) |
87 |
|
,charge_(charge) |
88 |
|
,genParticleIndex_(-1) |
89 |
< |
,genParticle_() |
89 |
> |
,genParticle_(0) |
90 |
|
{;} |
91 |
|
|
92 |
|
~TRootParticle() {;} |
98 |
|
Int_t type() const { return type_; } |
99 |
|
Float_t charge() const { return charge_; } |
100 |
|
Int_t genParticleIndex() const { return genParticleIndex_; } |
101 |
< |
TObject* genParticle() const { return genParticle_.GetObject() ;} |
101 |
> |
TRootParticle* genParticle() const { return (TRootParticle*) genParticle_.GetObject() ;} |
102 |
|
virtual TString typeName() const { return "TRootParticle"; } |
103 |
|
|
104 |
|
|