]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCcalibLaser.h
Bug fix (Marian)
[u/mrichter/AliRoot.git] / TPC / AliTPCcalibLaser.h
CommitLineData
c6914c83 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
c18f4385 17
c6914c83 18class AliExternalTrackParam;
19class AliESDtrack;
e9f38a4b 20class AliESDEvent;
21class AliESDfriend;
c6914c83 22class TGraphErrors;
1fd56785 23class TTree;
c18f4385 24
c6914c83 25class AliTPCcalibLaser:public AliTPCcalibBase {
26public:
27 AliTPCcalibLaser();
28 AliTPCcalibLaser(const Text_t *name, const Text_t *title);
29 virtual ~AliTPCcalibLaser();
e9f38a4b 30 virtual void Process(AliESDEvent *event);
c6914c83 31 virtual void Analyze();
c03e3250 32 virtual Long64_t Merge(TCollection *li);
1fd56785 33 virtual void DumpMeanInfo(Float_t bfield, Int_t minEntries=100);
34 static void DumpScanInfo(TTree * tree);
e9f38a4b 35 //
36 //
37 virtual void DumpLaser(Int_t id);
38 virtual void RefitLaser(Int_t id);
61ae0623 39 virtual void RefitLaserJW(Int_t id);
c18f4385 40 void FitDriftV();
41 void MakeDistHisto();
61ae0623 42 void AddCut(Double_t xcut, Double_t ycut, Double_t ncl){fEdgeXcuts[fNcuts]=xcut; fEdgeYcuts[fNcuts]=ycut; fNClCuts[fNcuts]=ncl; fNcuts++;}
43
e9f38a4b 44 Int_t FindMirror(AliESDtrack *track, AliTPCseed *seed);
c18f4385 45 Bool_t AcceptLaser(Int_t id);
e9f38a4b 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
c18f4385 55 //
2b35e8e6 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
95a0e09b 60 //
61 // Residual histograms
62 //
63 TObjArray fDeltaYres; //-> array of histograms of delta y residuals for each track
64 TObjArray fDeltaZres; //-> array of histograms of delta z residuals for each track
ecb7e705 65 // Fit Parameter histograms
66 TObjArray fPol2Par2InY; //-> array of histograms. 2nd derivative of pol2 fits per track (Inner chamber)
67 TObjArray fDiffPar1InY; //-> array of histograms. difference of 1st derivative of pol1 and pol2 fits per track (Inner chamber)
68 TObjArray fPol2Par2OutY; //-> array of histograms. 2nd derivative of pol2 fits per track (Outer chamber)
69 TObjArray fDiffPar1OutY; //-> array of histograms. difference of 1st derivative of pol1 and pol2 fits per track (Outer chamber)
70 TObjArray fPol2Par2InZ; //-> array of histograms. 2nd derivative of pol2 fits per track (Inner chamber)
71 TObjArray fDiffPar1InZ; //-> array of histograms. difference of 1st derivative of pol1 and pol2 fits per track (Inner chamber)
72 TObjArray fPol2Par2OutZ; //-> array of histograms. 2nd derivative of pol2 fits per track (Outer chamber)
73 TObjArray fDiffPar1OutZ; //-> array of histograms. difference of 1st derivative of pol1 and pol2 fits per track (Outer chamber)
95a0e09b 74 //
c18f4385 75 TVectorD* fFitAside; //! drift fit - A side
76 TVectorD* fFitCside; //! drift fit - C- side
77 //
61ae0623 78 TVectorD fEdgeXcuts; //! cuts in local x direction; used in the refit of the laser tracks
79 TVectorD fEdgeYcuts; //! cuts in local y direction; used in the refit of the laser tracks
80 TVectorD fNClCuts; //! cuts on the number of clusters per tracklet; used in the refit of the laser tracks
81 Int_t fNcuts; //! number of cuts
82 //
e9f38a4b 83 Int_t fRun; // current run number
61ae0623 84 Int_t fEvent; // cuttent event - internal counter
c18f4385 85private:
c6914c83 86 ClassDef(AliTPCcalibLaser,1)
87};
88
89
90
91
92
93#endif