]>
Commit | Line | Data |
---|---|---|
6eb67451 | 1 | #ifndef ALITPCTRACKERPARAM_H |
2 | #define ALITPCTRACKERPARAM_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. */ | |
4 | /* See cxx source for full Copyright notice */ | |
c68184b6 | 5 | |
6 | /* $Id$ */ | |
7 | ||
8 | ||
6eb67451 | 9 | //----------------------------------------------------------------------------- |
10 | // TPC Tracking Parameterization Class | |
11 | // | |
12 | // Origin: Andrea Dainese, Padova - e-mail: andrea.dainese@pd.infn.it | |
13 | //----------------------------------------------------------------------------- | |
14 | #include "alles.h" | |
15 | #include "AliMagF.h" | |
70521312 | 16 | #include "AliGausCorr.h" |
6eb67451 | 17 | #include "AliTPCtrack.h" |
18 | ||
19 | class AliTPCtrackerParam { | |
20 | public: | |
21 | AliTPCtrackerParam(const Int_t coll=0,const Double_t Bz=0.4); | |
22 | virtual ~AliTPCtrackerParam(); | |
23 | ||
24 | ||
25 | Int_t BuildTPCtracks(const TFile *inp, TFile *out,Int_t n=1); | |
26 | ||
27 | private: | |
28 | Int_t fColl; // collision code (0: PbPb6000) | |
29 | Double_t fBz; // value of the z component of L3 field (Tesla) | |
30 | ||
31 | ||
32 | AliTPCtrack* BuildTrack(Double_t alpha,Double_t x,Double_t y,Double_t z, | |
e130146c | 33 | Double_t px,Double_t py,Double_t pz,Double_t pt, |
34 | Int_t ch,Int_t lab) const ; | |
6eb67451 | 35 | |
e130146c | 36 | Bool_t SelectedTrack(Int_t pdg, Double_t pt, Double_t eta) const; |
6eb67451 | 37 | |
e130146c | 38 | Int_t GetBin(Double_t pt,Double_t eta) const; |
6eb67451 | 39 | |
e130146c | 40 | TMatrixD GetSmearingMatrix(Double_t* cc, Double_t pt,Double_t eta) const; |
6eb67451 | 41 | |
e130146c | 42 | void SmearTrack(Double_t* xx,Double_t* xxsm,TMatrixD cov) const; |
6eb67451 | 43 | |
e130146c | 44 | Double_t LinearInterpolation(Int_t ptBins,Double_t *value,Double_t pt,Double_t eta) const; |
6eb67451 | 45 | |
e130146c | 46 | void CookTracks(TObjArray& tarray,TObjArray& newtarray) const; |
6eb67451 | 47 | |
48 | ||
e130146c | 49 | ClassDef(AliTPCtrackerParam,1) // TPC tracking parameterization class |
6eb67451 | 50 | }; |
51 | ||
52 | #endif | |
53 | ||
54 |