59 UParticle(Int_t index, Int_t pdg, Int_t status,
60 Int_t parent, Int_t parentDecay,
61 Int_t mate, Int_t decay, Int_t child[2],
62 Double_t px, Double_t py, Double_t pz, Double_t e,
63 Double_t x, Double_t y, Double_t z, Double_t t,
79 UParticle(Int_t index, Int_t pdg, Int_t status,
80 Int_t parent, Int_t parentDecay,
81 Int_t mate, Int_t decay, Int_t child[2],
82 TLorentzVector mom, TLorentzVector pos,
117 void Print(Option_t* option =
"");
127 inline Int_t
GetPdg()
const {
return fPdg;}
167 inline Double_t
Px()
const {
return fPx;}
172 inline Double_t
Py()
const {
return fPy;}
177 inline Double_t
Pz()
const {
return fPz;}
182 inline Double_t
E()
const {
return fE;}
187 inline TLorentzVector
GetMomentum()
const {
return TLorentzVector(fPx,fPy,fPz,fE);}
192 inline void Momentum(TLorentzVector& mom)
const {mom.SetPxPyPzE(fPx,fPy,fPz,fE);}
197 inline Double_t
X()
const {
return fX;}
202 inline Double_t
Y()
const {
return fY;}
207 inline Double_t
Z()
const {
return fZ;}
212 inline Double_t
T()
const {
return fT;}
217 inline TLorentzVector
GetPosition()
const {
return TLorentzVector(fX,fY,fZ,fT);}
222 inline void Position(TLorentzVector& pos)
const {pos.SetXYZT(fX,fY,fZ,fT);}
232 inline void SetIndex (Int_t index) {fIndex = index;}
237 inline void SetPdg (Int_t pdg) {fPdg = pdg;}
242 inline void SetStatus (Int_t status) {fStatus = status;}
247 inline void SetParent (Int_t parent) {fParent = parent;}
257 inline void SetMate (Int_t mate) {fMate = mate;}
262 inline void SetDecay (Int_t decay) {fDecay = decay;}
267 inline void SetChild (Int_t child[2]) {fChild[0]=child[0]; fChild[1]=child[1];}
282 inline void SetPx (Double_t px) {fPx = px;}
287 inline void SetPy (Double_t py) {fPy = py;}
292 inline void SetPz (Double_t pz) {fPz = pz;}
297 inline void SetE (Double_t e) {fE = e;}
305 inline void SetMomentum(Double_t px, Double_t py, Double_t pz, Double_t e)
306 {fPx = px; fPy = py; fPz = pz; fE = e;}
311 inline void SetMomentum(TLorentzVector mom) {fPx=mom.Px(); fPy=mom.Py(); fPz=mom.Pz(); fE=mom.E();}
316 inline void SetX (Double_t x) {fX = x;}
321 inline void SetY (Double_t y) {fY = y;}
326 inline void SetZ (Double_t z) {fZ = z;}
331 inline void SetT (Double_t t) {fT = t;}
339 inline void SetPosition(Double_t x, Double_t y, Double_t z, Double_t t)
340 {fX = x; fY = y; fZ = z; fT = t;}
345 inline void SetPosition(TLorentzVector pos) {fX=pos.X(); fY=pos.Y(); fZ=pos.Z(); fT=pos.T();}
350 inline void SetWeight (Double_t weight) {fWeight = weight;}
void SetIndex(Int_t index)
void SetChild(Int_t child[2])
void SetMomentum(Double_t px, Double_t py, Double_t pz, Double_t e)
void Position(TLorentzVector &pos) const
void SetParent(Int_t parent)
TLorentzVector GetMomentum() const
void SetMomentum(TLorentzVector mom)
const UParticle & operator=(const UParticle &right)
Double_t GetWeight() const
void SetDecay(Int_t decay)
void SetParentDecay(Int_t parentDecay)
TLorentzVector GetPosition() const
const Bool_t operator==(const UParticle &right) const
void SetPosition(Double_t x, Double_t y, Double_t z, Double_t t)
void Momentum(TLorentzVector &mom) const
Int_t GetFirstChild() const
void SetLastChild(Int_t child)
void SetFirstChild(Int_t child)
void SetPosition(TLorentzVector pos)
void SetWeight(Double_t weight)
Int_t GetLastChild() const
void Print(Option_t *option="")
Int_t GetParentDecay() const
void SetStatus(Int_t status)