7 |
|
#include "Rtypes.h" |
8 |
|
#include "TLorentzVector.h" |
9 |
|
#include "TVector3.h" |
10 |
+ |
#include "TRef.h" |
11 |
|
|
12 |
|
using namespace std; |
13 |
|
|
14 |
|
class TRootParticle : public TLorentzVector |
15 |
|
{ |
16 |
< |
|
16 |
> |
|
17 |
|
public: |
18 |
|
|
19 |
|
TRootParticle() : TLorentzVector(), vertex_(), type_(0), charge_(0.) {;} |
31 |
|
Int_t type() const { return type_; } |
32 |
|
Float_t charge() const { return charge_; } |
33 |
|
|
34 |
< |
// FIXME setVx, setVy and setVz must modify the TLorentzVector |
34 |
> |
// FIXME setVx, setVy and setVz must modify the TLorentzVector ? |
35 |
|
void setVx(Double_t vx) { vertex_.SetX(vx); } |
36 |
|
void setVy(Double_t vy) { vertex_.SetY(vy); } |
37 |
|
void setVz(Double_t vz) { vertex_.SetZ(vz); } |