]>
Commit | Line | Data |
---|---|---|
51ad6848 | 1 | #ifndef ALIESDV0MI_H |
2 | #define ALIESDV0MI_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | //------------------------------------------------------------------------- | |
10 | // ESD V0 Vertex Class | |
11 | // This class is part of the Event Summary Data set of classes | |
12 | // Origin: Marian Ivanov marian.ivanov@cern.ch | |
13 | //------------------------------------------------------------------------- | |
14 | ||
0703142d | 15 | #include "AliESDv0.h" |
51ad6848 | 16 | #include "AliExternalTrackParam.h" |
51ad6848 | 17 | |
18 | class AliESDtrack; | |
19 | ||
20 | class AliESDV0MI : public AliESDv0 { | |
21 | public: | |
7c97ee80 | 22 | // friend class AliITStrackerMI; |
51ad6848 | 23 | AliESDV0MI(); //constructor |
24 | // | |
25 | void SetP(const AliExternalTrackParam & paramp); | |
26 | void SetM(const AliExternalTrackParam & paramd); | |
27 | void UpdatePID(Double_t pidp[5], Double_t pidm[5]); | |
28 | Float_t GetEffMass(UInt_t p1, UInt_t p2); | |
29 | Float_t GetProb(UInt_t p1, UInt_t p2); | |
30 | void Update(Float_t vertex[3]); //update | |
31 | void SetID(Int_t id){fID =id;} | |
0703142d | 32 | Int_t GetID() const { return fID;} |
33 | Int_t GetIndex(Int_t i) const {return fIndex[i];} | |
34 | void SetIndex(Int_t i, Int_t ind) {fIndex[i]=ind;} | |
35 | void SetDist1(Double_t d1) {fDist1=d1;} | |
36 | void SetDist2(Double_t d2) {fDist2=d2;} | |
37 | Double_t GetDist1() const {return fDist1;} | |
38 | Double_t GetDist2() const {return fDist2;} | |
39 | Double_t *GetAnglep() {return fAngle;} | |
40 | Double_t GetRr() const {return fRr;} | |
41 | void SetRr(Double_t rr) {fRr=rr;} | |
42 | Double_t *GetPMp() {return fPM;} | |
43 | Double_t *GetPPp() {return fPP;} | |
44 | Double_t *GetXrp() {return fXr;} | |
45 | Double_t GetXr(Int_t i) const {return fXr[i];} | |
46 | Double_t GetDistSigma() const {return fDistSigma;} | |
47 | void SetDistSigma(Double_t ds) {fDistSigma=ds;} | |
48 | Double_t GetDistNorm() const {return fDistNorm;} | |
49 | void SetDistNorm(Double_t ds) {fDistNorm=ds;} | |
50 | Float_t GetChi2Before() const {return fChi2Before;} | |
51 | void SetChi2Before(Float_t cb) {fChi2Before=cb;} | |
52 | Float_t GetChi2After() const {return fChi2After;} | |
53 | void SetChi2After(Float_t ca) {fChi2After=ca;} | |
54 | Float_t GetPointAngle() const {return fPointAngle;} | |
55 | void SetOrder(Int_t i, Int_t ord) {fOrder[i]=ord;} | |
56 | Float_t GetNAfter() const {return fNAfter;} | |
57 | void SetNAfter(Float_t na) {fNAfter=na;} | |
58 | Float_t GetNBefore() const {return fNBefore;} | |
59 | void SetNBefore(Float_t nb) {fNBefore=nb;} | |
60 | void SetLab(Int_t i, Int_t lab) {fLab[i]=lab;} | |
61 | ||
62 | private: | |
51ad6848 | 63 | AliExternalTrackParam fParamP; |
64 | AliExternalTrackParam fParamM; | |
65 | Float_t fRP[5]; // combined pid positive | |
66 | Float_t fRM[5]; // combined pid positive | |
67 | Int_t fID; | |
68 | Int_t fLab[2]; //MC label of the partecle | |
69 | Int_t fIndex[2]; //reconstructed labels of the tracks | |
70 | // | |
71 | // | |
72 | Double_t fDist1; //info about closest distance according closest MC - linear DCA | |
73 | Double_t fDist2; //info about closest distance parabolic DCA | |
74 | // | |
75 | Double_t fPP[3]; //momentum positive - according approx at DCA | |
76 | Double_t fPM[3]; //momentum negative | |
77 | // | |
78 | Double_t fXr[3]; //rec. position according helix | |
79 | Double_t fAngle[3]; //three angles | |
80 | Double_t fRr; //rec position of the vertex | |
81 | Int_t fStatus; //status | |
82 | Int_t fRow0; // critical layer | |
83 | Int_t fOrder[3]; //order of the vertex | |
84 | // quality information | |
85 | Double_t fDistNorm; //normalized DCA | |
86 | Double_t fDistSigma; //sigma of distance | |
87 | Float_t fChi2Before; //chi2 of the tracks before V0 | |
88 | Float_t fNBefore; // number of possible points before V0 | |
89 | Float_t fChi2After; // chi2 of the tracks after V0 | |
90 | Float_t fNAfter; // number of possible points after V0 | |
91 | Float_t fPointAngleFi; //point angle fi | |
92 | Float_t fPointAngleTh; //point angle theta | |
93 | Float_t fPointAngle; //point angle full | |
94 | ||
95 | ||
96 | ||
97 | ClassDef(AliESDV0MI,1) // ESD V0 vertex | |
98 | }; | |
99 | ||
100 | ||
51ad6848 | 101 | #endif |