4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //-------------------------------------------------------------------------
10 // Origin: Iouri Belikov, IReS, Strasbourg, Jouri.Belikov@cern.ch
11 //-------------------------------------------------------------------------
18 class AliV0vertex : public TObject {
21 AliV0vertex(const AliITStrackV2 &neg, const AliITStrackV2 &pos);
23 void ChangeMassHypothesis(Int_t code=kLambda0);
25 Int_t GetPdgCode() const {return fPdgCode;}
26 Double_t GetEffMass() const {return fEffMass;}
27 Double_t GetChi2() const {return fChi2;}
28 void GetPxPyPz(Double_t &px, Double_t &py, Double_t &pz) const;
29 void GetXYZ(Double_t &x, Double_t &y, Double_t &z) const;
30 Double_t GetD(Double_t x0=0.,Double_t y0=0.,Double_t z0=0.) const;
31 Int_t GetNlabel() const {return fNlab;}
32 Int_t GetPlabel() const {return fPlab;}
35 Int_t fPdgCode; // reconstructed V0's type (PDG code)
36 Double_t fEffMass; // reconstructed V0's effective mass
37 Double_t fChi2; // V0's chi2 value
38 Double_t fPos[3]; // V0's position (global)
39 Double_t fPosCov[6]; // covariance matrix of the vertex position
41 Int_t fNlab; // label of the negative daughter
42 Double_t fNmom[3]; // momentum of the negative daughter (global)
43 Double_t fNmomCov[6]; // covariance matrix of the negative daughter mom.
45 Int_t fPlab; // label of the positive daughter
46 Double_t fPmom[3]; // momentum of the positive daughter (global)
47 Double_t fPmomCov[6]; // covariance matrix of the positive daughter mom.
49 ClassDef(AliV0vertex,1) // reconstructed V0 vertex