]>
Commit | Line | Data |
---|---|---|
6fc428f0 | 1 | #ifndef ALIESDRECINFO_H |
2 | #define ALIESDRECINFO_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 "AliESDkink.h" | |
18 | class AliESDEvent; | |
19 | class AliESDtrack; | |
20 | class AliV0; | |
21 | class AliESDkink; | |
22 | class AliESDfriendTrack; | |
23 | class AliITStrackMI; | |
4a50b4f7 | 24 | class AliTRDtrackV1; |
08b29244 | 25 | class AliTPCParam; |
6fc428f0 | 26 | class AliTPCseed; |
27 | ||
28 | ///////////////////////////////////////////////////////////////////////// | |
29 | class AliESDRecInfo: public TObject { | |
30 | friend class AliRecInfoMaker; | |
31 | friend class AliESDRecV0Info; | |
32 | friend class AliESDRecKinkInfo; | |
33 | ||
34 | public: | |
35 | AliESDRecInfo(); | |
cd875161 | 36 | AliESDRecInfo(const AliESDRecInfo& recinfo); |
37 | AliESDRecInfo& operator=(const AliESDRecInfo& info); | |
6fc428f0 | 38 | ~AliESDRecInfo(); |
6fc428f0 | 39 | void Update(AliMCInfo* info,AliTPCParam * par, Bool_t reconstructed); |
5b662585 | 40 | void UpdateStatus(AliMCInfo* info, Bool_t reconstructed); |
41 | void UpdatePoints(AliESDtrack* track); | |
42 | void UpdateTPC(AliMCInfo* info); | |
43 | void UpdateITS(AliMCInfo* info); | |
44 | void UpdateTOF(AliMCInfo* info); | |
45 | // | |
6fc428f0 | 46 | void Reset(); |
47 | // | |
18e1354a | 48 | void AddESDtrack(const AliESDtrack *track, AliMCInfo* info); |
6fc428f0 | 49 | void SetESDtrack(const AliESDtrack *track); |
50 | AliESDtrack *GetESDtrack() const { return fESDtrack;} | |
51 | AliESDfriendTrack *GetTrackF() const { return fTrackF;} | |
52 | AliTPCseed *GetTPCtrack() const { return fTPCtrack;} | |
53 | AliITStrackMI *GetITStrack() const { return fITStrack;} | |
4a50b4f7 | 54 | AliTRDtrackV1 *GetTRDtrack() const { return fTRDtrack;} |
6fc428f0 | 55 | Int_t GetStatus(Int_t i) { return fStatus[i];} |
56 | protected: | |
57 | // | |
58 | Float_t fTPCPoints[10]; //start , biggest end points,max density .. density at the last 30 pad-rows | |
59 | Double_t fTPCinR0[5]; //generated position of the track at inner tpc - radius [3] and fi [4] | |
60 | Double_t fTPCinR1[5]; //reconstructed postion of the track - radius [3] and fi [ | |
61 | Double_t fTPCinP0[5]; //generated position of the track at inner tpc | |
62 | Double_t fTPCinP1[5]; //reconstructed postion of the track | |
63 | Double_t fTPCAngle0[2]; // generated angle | |
64 | Double_t fTPCAngle1[2]; //refconstructed angle | |
65 | Double_t fTPCDelta[5]; // deltas | |
66 | Double_t fTPCPools[5]; // pools | |
67 | Double_t fITSinR0[5]; //generated position of the track at inner tpc | |
68 | Double_t fITSinR1[5]; //reconstructed postion of the track | |
69 | Double_t fITSinP0[5]; //generated position of the track at inner tpc | |
70 | Double_t fITSinP1[5]; //reconstructed postion of the track | |
71 | Double_t fITSAngle0[2]; // generated angle | |
72 | Double_t fITSAngle1[2]; //refconstructed angle | |
73 | Double_t fITSDelta[5]; // deltas | |
74 | Double_t fITSPools[5]; // pools | |
75 | Float_t fTRLocalCoord[3]; //local coordinates of the track ref. | |
76 | Int_t fStatus[4]; // status -0 not found - 1 -only in - 2 -in-out -3 -in -out-refit | |
77 | Int_t fLabels[2]; // labels | |
78 | ||
79 | Bool_t fITSOn; // ITS refitted inward | |
80 | Bool_t fTRDOn; // ITS refitted inward | |
81 | Float_t fDeltaP; //delta of momenta | |
82 | Double_t fSign; // sign | |
83 | Int_t fReconstructed; //flag if track was reconstructed | |
84 | Int_t fFake; // fake track | |
85 | Int_t fMultiple; // number of reconstructions | |
86 | Bool_t fTPCOn; // TPC refitted inward | |
87 | Float_t fBestTOFmatch; //best matching between times | |
88 | ||
89 | private: | |
90 | AliESDtrack *fESDtrack; // esd track | |
91 | AliESDfriendTrack *fTrackF; // friend track | |
92 | AliTPCseed *fTPCtrack; // tpc track | |
93 | AliITStrackMI *fITStrack; // its track | |
4a50b4f7 | 94 | AliTRDtrackV1 *fTRDtrack; // trd track |
18e1354a | 95 | TClonesArray *fTracks; // esd tracks array |
6fc428f0 | 96 | ClassDef(AliESDRecInfo,2) // container for |
97 | }; | |
98 | ||
99 | ||
100 | #endif |