]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCCorrectionFit.h
-fiorellas update
[u/mrichter/AliRoot.git] / TPC / AliTPCCorrectionFit.h
CommitLineData
93096a07 1#ifndef ALITPCCORRECTIONFIT_H
2#define ALITPCCORRECTIONFIT_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#include "TNamed.h"
10class TObjArray;
11class THnBase;
12class THnSparse;
13class TTreeSRedirector;
14class TTree;
15
16class AliTPCCorrectionFit:public TNamed {
17public:
18 AliTPCCorrectionFit();
19 virtual ~AliTPCCorrectionFit();
20 //
21 //
22 //
23 static Double_t EvalAt(Double_t phi, Double_t refX, Double_t theta, Int_t corr, Int_t ptype);
24 static Double_t EvalAtPar(Double_t phi, Double_t snp, Double_t refX, Double_t theta, Int_t corr, Int_t ptype, Int_t nstep);
25 //
26 // Make distortion maps
27 //
28 static void CreateAlignMaps(Double_t bz, Int_t run);
29 static void MakeClusterDistortionMap(THnBase * hisInput, TTreeSRedirector *pcstream, Int_t ptype, Int_t dtype=0);
30 static void MakeDistortionMap(THnSparse * his0, TTreeSRedirector *pcstream, const char* hname, Int_t run, Float_t refX, Int_t type, Int_t integ, Double_t bz);
31 static void MakeDistortionMapCosmic(THnSparse * his0, TTreeSRedirector *pcstream, const char* hname, Int_t run, Float_t refX, Int_t type);
32 static void MakeDistortionMapSector(THnSparse * his0, TTreeSRedirector *pcstream, const char* hname, Int_t run, Int_t type, Double_t bz);
33 //
34 // Create a distortion trees with the numerical derivatives
35 //
36 //static void MakeLaserDistortionTree(TTree* tree, TObjArray *corrArray, Int_t itype);
37 static void MakeTrackDistortionTree(TTree *tinput, Int_t dtype, Int_t ptype, const TObjArray * corrArray, Int_t step=1, Int_t offset=0, Bool_t debug=0);
38 static void MakeSectorDistortionTree(TTree *tinput, Int_t dtype, Int_t ptype, const TObjArray * corrArray, Int_t step=1, Int_t offset=0, Bool_t debug=0);
39
40private:
41
42private:
43 AliTPCCorrectionFit& operator=(const AliTPCCorrectionFit&); // not implemented
44 AliTPCCorrectionFit(const AliTPCCorrectionFit&); // not implemented
45 ClassDef(AliTPCCorrectionFit,1)
46};
47
48#endif