]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG1/AliESDRecInfo.h
Remove verbosity
[u/mrichter/AliRoot.git] / PWG1 / AliESDRecInfo.h
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;
24 class AliTRDtrack;
25 class AliTPCParam;
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();
36   AliESDRecInfo(const AliESDRecInfo& recinfo);
37   ~AliESDRecInfo();
38   void UpdatePoints(AliESDtrack* track);
39   void Update(AliMCInfo* info,AliTPCParam * par, Bool_t reconstructed);
40   void Reset();
41   //
42   void SetESDtrack(const AliESDtrack *track);
43   AliESDtrack *GetESDtrack() const { return fESDtrack;}
44   AliESDfriendTrack *GetTrackF() const  { return fTrackF;}
45   AliTPCseed *GetTPCtrack() const { return fTPCtrack;}
46   AliITStrackMI *GetITStrack() const { return fITStrack;}
47   AliTRDtrack   *GetTRDtrack() const { return fTRDtrack;}
48   Int_t      GetStatus(Int_t i) { return fStatus[i];}
49 protected:
50   //
51   Float_t  fTPCPoints[10]; //start , biggest end points,max density .. density at the last 30 pad-rows
52   Double_t fTPCinR0[5];   //generated position of the track at inner tpc - radius [3] and fi [4]
53   Double_t fTPCinR1[5];   //reconstructed postion of the track           - radius [3] and fi [
54   Double_t fTPCinP0[5];   //generated position of the track at inner tpc
55   Double_t fTPCinP1[5];   //reconstructed postion of the track
56   Double_t fTPCAngle0[2]; // generated angle 
57   Double_t fTPCAngle1[2]; //refconstructed angle 
58   Double_t fTPCDelta[5];  // deltas
59   Double_t fTPCPools[5];  // pools
60   Double_t fITSinR0[5];   //generated position of the track at inner tpc
61   Double_t fITSinR1[5];   //reconstructed postion of the track
62   Double_t fITSinP0[5];   //generated position of the track at inner tpc
63   Double_t fITSinP1[5];   //reconstructed postion of the track
64   Double_t fITSAngle0[2]; // generated angle 
65   Double_t fITSAngle1[2]; //refconstructed angle
66   Double_t fITSDelta[5];  // deltas
67   Double_t fITSPools[5];  // pools
68   Float_t  fTRLocalCoord[3];       //local coordinates of the track ref.
69   Int_t    fStatus[4];        // status -0 not found - 1 -only in - 2 -in-out -3 -in -out-refit
70   Int_t    fLabels[2];         // labels
71
72   Bool_t   fITSOn;           // ITS refitted inward
73   Bool_t   fTRDOn;           // ITS refitted inward
74   Float_t  fDeltaP;          //delta of momenta
75   Double_t fSign;           // sign
76   Int_t    fReconstructed;         //flag if track was reconstructed
77   Int_t    fFake;             // fake track
78   Int_t    fMultiple;         // number of reconstructions
79   Bool_t   fTPCOn;           // TPC refitted inward
80   Float_t  fBestTOFmatch;        //best matching between times
81
82 private:
83   AliESDtrack   *fESDtrack;        // esd track
84   AliESDfriendTrack *fTrackF;      // friend track
85   AliTPCseed *fTPCtrack;        // tpc track
86   AliITStrackMI *fITStrack;        // its track
87   AliTRDtrack   *fTRDtrack;        // trd track
88   
89   ClassDef(AliESDRecInfo,2)  // container for 
90 };
91
92
93 #endif