]>
Commit | Line | Data |
---|---|---|
06d06fbb | 1 | #ifndef ALIRECINFO_H |
2 | #define ALIRECINFO_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | ||
8 | ////////////////////////////////////////////////////////////////////////////// | |
9 | // Class AliRecInfo // | |
10 | // collect together MC info and Rec info for comparison purposes | |
11 | // - effieciency studies and so on// // | |
12 | // marian.ivanov@cern.ch // | |
13 | ////////////////////////////////////////////////////////////////////////////// | |
14 | ||
15 | ||
16 | #include "TObject.h" | |
17 | #include "AliESD.h" | |
18 | ||
19 | #include "AliESDtrack.h" | |
20 | #include "AliV0.h" | |
21 | #include "AliESDfriendTrack.h" | |
22 | #include "AliITStrackMI.h" | |
23 | #include "AliTRDtrack.h" | |
24 | class AliTPCseed; | |
25 | ||
26 | ///////////////////////////////////////////////////////////////////////// | |
27 | class AliESDRecInfo: public TObject { | |
28 | ||
29 | public: | |
30 | AliESDRecInfo(); | |
31 | AliESDRecInfo(const AliESDRecInfo& recinfo); | |
32 | ~AliESDRecInfo(); | |
33 | void UpdatePoints(AliESDtrack* track); | |
34 | void Update(AliMCInfo* info,AliTPCParam * par, Bool_t reconstructed, AliESD *event); | |
35 | void Reset(); | |
36 | // | |
37 | void SetESDtrack(const AliESDtrack *track); | |
38 | AliESDtrack *GetESDtrack() const { return fESDtrack;} | |
39 | AliESDfriendTrack *GetTrackF() const { return fTrackF;} | |
40 | AliTPCseed *GetTPCtrack() const { return fTPCtrack;} | |
41 | AliITStrackMI *GetITStrack() const { return fITStrack;} | |
42 | AliTRDtrack *GetTRDtrack() const { return fTRDtrack;} | |
43 | // | |
44 | Float_t fTPCPoints[10]; //start , biggest end points,max density .. density at the last 30 pad-rows | |
45 | Double_t fTPCinR0[5]; //generated position of the track at inner tpc - radius [3] and fi [4] | |
46 | Double_t fTPCinR1[5]; //reconstructed postion of the track - radius [3] and fi [ | |
47 | Double_t fTPCinP0[5]; //generated position of the track at inner tpc | |
48 | Double_t fTPCinP1[5]; //reconstructed postion of the track | |
49 | Double_t fTPCAngle0[2]; // generated angle | |
50 | Double_t fTPCAngle1[2]; //refconstructed angle | |
51 | Double_t fTPCDelta[5]; // deltas | |
52 | Double_t fTPCPools[5]; // pools | |
53 | Double_t fITSinR0[5]; //generated position of the track at inner tpc | |
54 | Double_t fITSinR1[5]; //reconstructed postion of the track | |
55 | Double_t fITSinP0[5]; //generated position of the track at inner tpc | |
56 | Double_t fITSinP1[5]; //reconstructed postion of the track | |
57 | Double_t fITSAngle0[2]; // generated angle | |
58 | Double_t fITSAngle1[2]; //refconstructed angle | |
59 | Double_t fITSDelta[5]; // deltas | |
60 | Double_t fITSPools[5]; // pools | |
61 | Float_t fTRLocalCoord[3]; //local coordinates of the track ref. | |
62 | Int_t fStatus[4]; // status -0 not found - 1 -only in - 2 -in-out -3 -in -out-refit | |
63 | Int_t fLabels[2]; // labels | |
64 | ||
65 | Bool_t fITSOn; // ITS refitted inward | |
66 | Bool_t fTRDOn; // ITS refitted inward | |
67 | Float_t fDeltaP; //delta of momenta | |
68 | Double_t fSign; // sign | |
69 | Int_t fReconstructed; //flag if track was reconstructed | |
70 | Int_t fFake; // fake track | |
71 | Int_t fMultiple; // number of reconstructions | |
72 | Bool_t fTPCOn; // TPC refitted inward | |
73 | Float_t fBestTOFmatch; //best matching between times | |
74 | ||
75 | private: | |
76 | AliESDtrack *fESDtrack; // esd track | |
77 | AliESDfriendTrack *fTrackF; // friend track | |
78 | AliTPCseed *fTPCtrack; // tpc track | |
79 | AliITStrackMI *fITStrack; // its track | |
80 | AliTRDtrack *fTRDtrack; // trd track | |
81 | ||
82 | ClassDef(AliESDRecInfo,2) // container for | |
83 | }; | |
84 | ||
85 | ||
86 | ||
87 | ///////////////////////////////////////////////////////// | |
88 | ///////////////////////////////////////////////////////// | |
89 | ///////////////////////////////////////////////////////// | |
90 | ||
91 | ||
92 | class AliESDRecV0Info: public TObject { | |
93 | public: | |
94 | void Update(Float_t vertex[3]); | |
95 | AliESDRecInfo fT1; //track1 | |
96 | AliESDRecInfo fT2; //track2 | |
97 | Double_t fDist1; //info about closest distance according closest MC - linear DCA | |
98 | Double_t fDist2; //info about closest distance parabolic DCA | |
99 | Double_t fInvMass; //reconstructed invariant mass - | |
100 | // | |
101 | Double_t fPdr[3]; //momentum at vertex daughter - according approx at DCA | |
102 | Double_t fXr[3]; //rec. position according helix | |
103 | // | |
104 | Double_t fRs[2]; // minimum radius in rphi intersection | |
105 | Double_t fDistMinR; // distance at minimal radius | |
106 | Double_t fPm[3]; //momentum at the vertex mother | |
107 | Double_t fAngle[3]; //three angles | |
108 | Double_t fRr; // rec position of the vertex | |
109 | Int_t fLab[2]; //MC label of the partecle | |
110 | Float_t fPointAngleFi; //point angle fi | |
111 | Float_t fPointAngleTh; //point angle theta | |
112 | Float_t fPointAngle; //point angle full | |
113 | Int_t fV0Status; // status of the kink | |
114 | AliV0* fV0tpc; // Vo information from reconsturction according TPC | |
115 | AliV0* fV0its; // Vo information from reconsturction according ITS | |
116 | AliV0* fV0rec; // V0 information form the reconstruction | |
117 | Int_t fMultiple; | |
118 | Int_t fV0Multiple; | |
119 | Int_t fRecStatus; // status form the reconstuction | |
120 | ClassDef(AliESDRecV0Info,2) // container for | |
121 | }; | |
122 | ||
123 | ||
124 | ||
125 | class AliESDRecKinkInfo: public TObject { | |
126 | public: | |
127 | void Update(); | |
128 | AliESDRecInfo fT1; //track1 | |
129 | AliESDRecInfo fT2; //track2 | |
130 | AliESDkink fKink; //kink | |
131 | Double_t fDist1; //info about closest distance according closest MC - linear DCA | |
132 | Double_t fDist2; //info about closest distance parabolic DCA | |
133 | Double_t fInvMass; //reconstructed invariant mass - | |
134 | // | |
135 | Double_t fPdr[3]; //momentum at vertex daughter - according approx at DCA | |
136 | Double_t fXr[3]; //rec. position according helix | |
137 | // | |
138 | Double_t fPm[3]; //momentum at the vertex mother | |
139 | Double_t fAngle[3]; //three angles | |
140 | Double_t fRr; // rec position of the vertex | |
141 | Double_t fMinR; // minimum radius in rphi intersection | |
142 | Double_t fDistMinR; // distance at minimal radius | |
143 | Int_t fLab[2]; //MC label of the partecle | |
144 | Float_t fPointAngleFi; //point angle fi | |
145 | Float_t fPointAngleTh; //point angle theta | |
146 | Float_t fPointAngle; //point angle full | |
147 | Int_t fStatus; //status -tracks | |
148 | Int_t fRecStatus; //kink -status- 0 - not found 1-good - fake | |
149 | Int_t fMultiple; | |
150 | Int_t fKinkMultiple; | |
151 | ClassDef(AliESDRecKinkInfo,1) // container for | |
152 | }; | |
153 | ||
154 | #endif |