]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCcalibLaser.h
Class for HMPID track inherited from AliKalmanTrack
[u/mrichter/AliRoot.git] / TPC / AliTPCcalibLaser.h
1 #ifndef ALITPCCALIBLASER_H
2 #define ALITPCCALIBLASER_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 ////
8 ////
9 ////
10
11 #include "TObject.h"
12 #include "TObjArray.h"
13 #include "TLinearFitter.h"
14 #include "AliTPCcalibBase.h"
15 #include "TH1.h"
16
17
18 class AliExternalTrackParam;
19 class AliESDtrack;
20 class AliESDEvent;
21 class AliESDfriend;
22 class TGraphErrors;
23 class TTree;
24
25 class AliTPCcalibLaser:public AliTPCcalibBase {
26 public:
27   AliTPCcalibLaser();
28   AliTPCcalibLaser(const Text_t *name, const Text_t *title);
29   virtual ~AliTPCcalibLaser();
30   virtual void     Process(AliESDEvent *event);
31   virtual void Analyze();
32   virtual Long64_t Merge(TCollection *li);
33   virtual void DumpMeanInfo(Float_t bfield, Int_t minEntries=100);
34   static  void DumpScanInfo(TTree * tree);
35   //
36   //
37   virtual void DumpLaser(Int_t id);
38   virtual void RefitLaser(Int_t id);
39   virtual void RefitLaserJW(Int_t id);
40   void         FitDriftV();
41   void         MakeDistHisto();
42   void         AddCut(Double_t xcut, Double_t ycut, Double_t ncl){fEdgeXcuts[fNcuts]=xcut; fEdgeYcuts[fNcuts]=ycut; fNClCuts[fNcuts]=ncl; fNcuts++;}
43
44   Int_t  FindMirror(AliESDtrack *track, AliTPCseed *seed);
45   Bool_t AcceptLaser(Int_t id);
46   
47   AliESDEvent  * fESD;             //! ESD event  - not OWNER
48   AliESDfriend * fESDfriend;       //! ESD event  - not OWNER
49   TObjArray      fTracksMirror;    //! tracks with mirror information
50   TObjArray      fTracksEsd;       //! tracks with reconstructed information - 
51   //                               not owner ESD
52   TObjArray      fTracksEsdParam;  //! tracks with reconstructed information - 
53   //                               is owner ESD at mirror
54   TObjArray      fTracksTPC;       //! tracks with reconstructed information - TPC
55   //
56   TObjArray      fDeltaZ;          //-> array of histograms of delta z for each track
57   TObjArray      fDeltaPhi;        //-> array of histograms of delta z for each track
58   TObjArray      fDeltaPhiP;       //-> array of histograms of delta z for each track
59   TObjArray      fSignals;         //->Array of dedx signals
60   TVectorD*      fFitAside;        //! drift fit - A side
61   TVectorD*      fFitCside;        //! drift fit - C- side
62   //
63   TVectorD       fEdgeXcuts;       //! cuts in local x direction; used in the refit of the laser tracks
64   TVectorD       fEdgeYcuts;       //! cuts in local y direction; used in the refit of the laser tracks
65   TVectorD       fNClCuts;         //! cuts on the number of clusters per tracklet; used in the refit of the laser tracks
66   Int_t          fNcuts;           //! number of cuts
67   //
68   Int_t          fRun;             // current run number
69   Int_t          fEvent;           // cuttent event - internal counter
70 private:
71   ClassDef(AliTPCcalibLaser,1)
72 };
73
74
75
76
77
78 #endif