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