]>
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 | // | |
81e97e0d | 25 | const AliExternalTrackParam *GetParamP() const {return &fParamP;} |
26 | const AliExternalTrackParam *GetParamM() const {return &fParamM;} | |
51ad6848 | 27 | void SetP(const AliExternalTrackParam & paramp); |
28 | void SetM(const AliExternalTrackParam & paramd); | |
81e97e0d | 29 | void SetRp(const Double_t *rp); |
30 | void SetRm(const Double_t *rm); | |
51ad6848 | 31 | void UpdatePID(Double_t pidp[5], Double_t pidm[5]); |
81e97e0d | 32 | void SetStatus(Int_t status){fStatus=status;} |
33 | Int_t GetStatus() const {return fStatus;} | |
51ad6848 | 34 | Float_t GetEffMass(UInt_t p1, UInt_t p2); |
35 | Float_t GetProb(UInt_t p1, UInt_t p2); | |
36 | void Update(Float_t vertex[3]); //update | |
37 | void SetID(Int_t id){fID =id;} | |
0703142d | 38 | Int_t GetID() const { return fID;} |
39 | Int_t GetIndex(Int_t i) const {return fIndex[i];} | |
40 | void SetIndex(Int_t i, Int_t ind) {fIndex[i]=ind;} | |
41 | void SetDist1(Double_t d1) {fDist1=d1;} | |
42 | void SetDist2(Double_t d2) {fDist2=d2;} | |
43 | Double_t GetDist1() const {return fDist1;} | |
44 | Double_t GetDist2() const {return fDist2;} | |
45 | Double_t *GetAnglep() {return fAngle;} | |
46 | Double_t GetRr() const {return fRr;} | |
47 | void SetRr(Double_t rr) {fRr=rr;} | |
48 | Double_t *GetPMp() {return fPM;} | |
49 | Double_t *GetPPp() {return fPP;} | |
50 | Double_t *GetXrp() {return fXr;} | |
51 | Double_t GetXr(Int_t i) const {return fXr[i];} | |
52 | Double_t GetDistSigma() const {return fDistSigma;} | |
53 | void SetDistSigma(Double_t ds) {fDistSigma=ds;} | |
54 | Double_t GetDistNorm() const {return fDistNorm;} | |
55 | void SetDistNorm(Double_t ds) {fDistNorm=ds;} | |
56 | Float_t GetChi2Before() const {return fChi2Before;} | |
57 | void SetChi2Before(Float_t cb) {fChi2Before=cb;} | |
58 | Float_t GetChi2After() const {return fChi2After;} | |
59 | void SetChi2After(Float_t ca) {fChi2After=ca;} | |
60 | Float_t GetPointAngle() const {return fPointAngle;} | |
61 | void SetOrder(Int_t i, Int_t ord) {fOrder[i]=ord;} | |
62 | Float_t GetNAfter() const {return fNAfter;} | |
63 | void SetNAfter(Float_t na) {fNAfter=na;} | |
64 | Float_t GetNBefore() const {return fNBefore;} | |
65 | void SetNBefore(Float_t nb) {fNBefore=nb;} | |
66 | void SetLab(Int_t i, Int_t lab) {fLab[i]=lab;} | |
81e97e0d | 67 | void SetCausality(Float_t pb0, Float_t pb1, Float_t pa0, Float_t pa1); |
68 | const Float_t * GetCausalityP() const {return fCausality;} | |
6605de26 | 69 | void SetClusters(Int_t *clp, Int_t *clm); |
70 | const Int_t * GetClusters(Int_t i) const {return fClusters[i];} | |
0703142d | 71 | private: |
51ad6848 | 72 | AliExternalTrackParam fParamP; |
73 | AliExternalTrackParam fParamM; | |
74 | Float_t fRP[5]; // combined pid positive | |
75 | Float_t fRM[5]; // combined pid positive | |
76 | Int_t fID; | |
6605de26 | 77 | Int_t fLab[2]; // MC label of the particle |
78 | Int_t fIndex[2]; // reconstructed labels of the tracks | |
79 | Int_t fClusters[2][6]; //! its clusters | |
51ad6848 | 80 | // |
81 | // | |
82 | Double_t fDist1; //info about closest distance according closest MC - linear DCA | |
83 | Double_t fDist2; //info about closest distance parabolic DCA | |
84 | // | |
85 | Double_t fPP[3]; //momentum positive - according approx at DCA | |
86 | Double_t fPM[3]; //momentum negative | |
87 | // | |
88 | Double_t fXr[3]; //rec. position according helix | |
89 | Double_t fAngle[3]; //three angles | |
90 | Double_t fRr; //rec position of the vertex | |
81e97e0d | 91 | Int_t fStatus; //status - 1 - TPC V0 2- ITS V0 4- accepted - 0 -rejected |
51ad6848 | 92 | Int_t fRow0; // critical layer |
93 | Int_t fOrder[3]; //order of the vertex | |
94 | // quality information | |
95 | Double_t fDistNorm; //normalized DCA | |
96 | Double_t fDistSigma; //sigma of distance | |
81e97e0d | 97 | Float_t fCausality[4]; // causality information - see comments in SetCausality |
51ad6848 | 98 | Float_t fChi2Before; //chi2 of the tracks before V0 |
99 | Float_t fNBefore; // number of possible points before V0 | |
100 | Float_t fChi2After; // chi2 of the tracks after V0 | |
101 | Float_t fNAfter; // number of possible points after V0 | |
102 | Float_t fPointAngleFi; //point angle fi | |
103 | Float_t fPointAngleTh; //point angle theta | |
104 | Float_t fPointAngle; //point angle full | |
105 | ||
6605de26 | 106 | ClassDef(AliESDV0MI,3) // ESD V0 vertex |
51ad6848 | 107 | }; |
108 | ||
109 | ||
51ad6848 | 110 | #endif |