]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDV0MI.h
Adding new code for kink and V0 reconstruction (AliESDkink and AliESDV0MI classes...
[u/mrichter/AliRoot.git] / STEER / AliESDV0MI.h
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
15 #include <AliESDv0.h>
16 #include "AliExternalTrackParam.h"
17 #include <TPDGCode.h>
18
19 class AliESDtrack;
20
21 class AliESDV0MI :  public AliESDv0 {
22 public:
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;}
32   Int_t GetID(){ return fID;}
33   AliExternalTrackParam fParamP;
34   AliExternalTrackParam fParamM;
35   Float_t        fRP[5];         // combined pid positive
36   Float_t        fRM[5];         // combined pid positive
37   Int_t          fID;
38   Int_t          fLab[2];     //MC label of the partecle
39   Int_t          fIndex[2];   //reconstructed labels of the tracks
40   //
41   //  
42   Double_t       fDist1;    //info about closest distance according closest MC - linear DCA
43   Double_t       fDist2;    //info about closest distance parabolic DCA
44   //
45   Double_t       fPP[3];    //momentum  positive   - according approx at DCA
46   Double_t       fPM[3];    //momentum negative
47   //
48   Double_t       fXr[3];      //rec. position according helix
49   Double_t       fAngle[3];   //three angles
50   Double_t       fRr;         //rec position of the vertex 
51   Int_t          fStatus;       //status 
52   Int_t          fRow0;         // critical layer
53   Int_t          fOrder[3]; //order of the vertex 
54   //  quality information
55   Double_t       fDistNorm; //normalized  DCA
56   Double_t       fDistSigma; //sigma of distance
57   Float_t        fChi2Before;   //chi2 of the tracks before V0
58   Float_t        fNBefore;      // number of possible points before V0
59   Float_t        fChi2After;   // chi2 of the tracks after V0
60   Float_t        fNAfter;      // number of possible points after V0
61   Float_t        fPointAngleFi; //point angle fi
62   Float_t        fPointAngleTh; //point angle theta
63   Float_t        fPointAngle;   //point angle full
64
65
66
67   ClassDef(AliESDV0MI,1)      // ESD V0 vertex
68 };
69
70
71
72
73 #endif
74
75 /*
76
77 class AliITSRecV0Info: public AliV0vertex {
78   friend class AliITStrackerMI;
79 protected:
80   AliITSRecV0Info();
81   AliITSRecV0Info(const AliITStrackV2 &neg, const AliITStrackV2 &pos);
82   void Update(Float_t vertex[3], Float_t mass1, Float_t mass2);
83   Double_t       fDist1;    //info about closest distance according closest MC - linear DCA
84   Double_t       fDist2;    //info about closest distance parabolic DCA
85   Double_t       fDistNorm; //normalized  DCA
86   Double_t       fDistSigma; //sigma of distance
87   Double_t       fInvMass;  //reconstructed invariant mass -
88   //
89   Double_t       fPdr[3];    //momentum at vertex daughter  - according approx at DCA
90   Double_t       fXr[3];     //rec. position according helix
91   //
92   Double_t       fPm[3];    //momentum at the vertex mother
93   Double_t       fAngle[3]; //three angles
94   Double_t       fRr;       // rec position of the vertex 
95   Int_t          fLab[2];   //MC label of the particle
96   Int_t          fIndex[2]; //indexes of the tracks
97   Int_t          fOrder[3]; //order of the vertex 
98   Float_t        fChi2Before;   //chi2 of the tracks before V0
99   Float_t        fNBefore;      // number of possible points before V0
100   //
101   Float_t        fChi2After;   // chi2 of the tracks after V0
102   Float_t        fNAfter;      // number of possible points after V0
103  
104   //
105   Float_t        fPointAngleFi; //point angle fi
106   Float_t        fPointAngleTh; //point angle theta
107   Float_t        fPointAngle;   //point angle full
108   ClassDef(AliITSRecV0Info,1)  // container for  
109 };
110
111 */