]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliV0vertex.h
19-mar-2002 NvE AliVertex::Draw() introduced to enable 3D event display.
[u/mrichter/AliRoot.git] / ITS / AliV0vertex.h
CommitLineData
7f6ddf58 1#ifndef ALIV0VERTEX_H
2#define ALIV0VERTEX_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//-------------------------------------------------------------------------
8// V0 Vertex Class
9//
10// Origin: Iouri Belikov, IReS, Strasbourg, Jouri.Belikov@cern.ch
11//-------------------------------------------------------------------------
12
13#include <TObject.h>
14#include "AliPDG.h"
15
16class AliITStrackV2;
17
18class AliV0vertex : public TObject {
19public:
20 AliV0vertex();
21 AliV0vertex(const AliITStrackV2 &neg, const AliITStrackV2 &pos);
22
23 void ChangeMassHypothesis(Int_t code=kLambda0);
24
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;}
33
34private:
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
40
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.
44
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.
48
49 ClassDef(AliV0vertex,1) // reconstructed V0 vertex
50};
51
52#endif
53
54