1 #ifndef ALICASCADEVERTEX_H
2 #define ALICASCADEVERTEX_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //-------------------------------------------------------------------------
8 // Cascade Vertex Class
10 // Origin: Christian Kuhn, IReS, Strasbourg, christian.kuhn@ires.in2p3.fr
11 //-------------------------------------------------------------------------
20 #define kXiPlusBar -3312
21 #define kOmegaMinus 3334
22 #define kOmegaPlusBar -3334
24 class AliCascadeVertex : public TObject {
27 AliCascadeVertex(const AliV0vertex &vtx, const AliITStrackV2 &trk);
29 void ChangeMassHypothesis(Int_t code=kXiMinus);
31 Int_t GetPdgCode() const {return fPdgCode;}
32 Double_t GetEffMass() const {return fEffMass;}
33 Double_t GetChi2() const {return fChi2;}
34 void GetPxPyPz(Double_t &px, Double_t &py, Double_t &pz) const;
35 void GetXYZ(Double_t &x, Double_t &y, Double_t &z) const;
36 Double_t GetD(Double_t x0=0.,Double_t y0=0.,Double_t z0=0.) const;
37 void GetV0labels(Int_t &n, Int_t &p) const {n=fV0lab[0]; p=fV0lab[1];}
38 Int_t GetBachelorLabel() const {return fBachLab;}
41 Int_t fPdgCode; // reconstructed cascade type (PDG code)
42 Double_t fEffMass; // reconstructed cascade effective mass
43 Double_t fChi2; // chi2 value
44 Double_t fPos[3]; // cascade vertex position (global)
45 Double_t fPosCov[6]; // covariance matrix of the vertex position
47 Int_t fV0lab[2]; // labels of the V0 daughter tracks
48 Double_t fV0mom[3]; // V0 momentum (global)
49 Double_t fV0momCov[6]; // covariance matrix of the V0 momentum.
51 Int_t fBachLab; // label of the bachelor track
52 Double_t fBachMom[3]; // bachelor momentum (global)
53 Double_t fBachMomCov[6]; // covariance matrix of the bachelor momentum.
55 ClassDef(AliCascadeVertex,1) // reconstructed cascade vertex