Using a TChain instead of a TTree
[u/mrichter/AliRoot.git] / TPC / AliTPCRecoParam.h
CommitLineData
669ce3c3 1#ifndef ALITPCRECOPARAM_H
2#define ALITPCRECOPARAM_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6///////////////////////////////////////////////////////////////////////////////
7// //
8// Class with TPC reconstruction parameters //
9// //
10///////////////////////////////////////////////////////////////////////////////
11
12
13#include "TObject.h"
14
15class AliTPCRecoParam : public TObject
16{
17 public:
18 AliTPCRecoParam();
19 virtual ~AliTPCRecoParam();
018e4f8a 20 void SetClusterSharing(Bool_t sharing){fBClusterSharing=sharing;}
21 Bool_t GetClusterSharing() const {return fBClusterSharing;}
669ce3c3 22 Double_t GetCtgRange() const { return fCtgRange;}
23 Double_t GetMaxSnpTracker() const{ return fMaxSnpTracker;}
24 Double_t GetMaxSnpTrack() const { return fMaxSnpTrack;}
25 //
b127a65f 26 Bool_t DumpSignal() const { return fDumpSignal;}
669ce3c3 27 Int_t GetFirstBin() const { return fFirstBin;}
28 Int_t GetLastBin() const { return fLastBin;}
29 void SetTimeBinRange(Int_t first, Int_t last){ fFirstBin = first; fLastBin = last;}
940ed1f0 30 Bool_t GetCalcPedestal() const { return fBCalcPedestal;}
31 Bool_t GetDoUnfold() const { return fBDoUnfold;}
32 Float_t GetDumpAmplitudeMin() const { return fDumpAmplitudeMin;}
33 Float_t GetMaxNoise() const { return fMaxNoise;}
34 Float_t GetMinMaxCutAbs() const { return fMinMaxCutAbs; }
35 Float_t GetMinLeftRightCutAbs() const { return fMinLeftRightCutAbs;} // minimal amplitude left right - PRF
36 Float_t GetMinUpDownCutAbs() const { return fMinUpDownCutAbs;} // minimal amplitude up-down - TRF
37 Float_t GetMinMaxCutSigma() const { return fMinMaxCutSigma; }
38 Float_t GetMinLeftRightCutSigma() const { return fMinLeftRightCutSigma;} // minimal amplitude left right - PRF
39 Float_t GetMinUpDownCutSigma() const { return fMinUpDownCutSigma;} // minimal amplitude up-down - TRF
7d27c1df 40 Int_t GetLastSeedRowSec() const { return fLastSeedRowSec;}
669ce3c3 41 //
812e76e7 42 void SetDoKinks(Bool_t on) { fBKinkFinder=on; }
669ce3c3 43 Bool_t GetDoKinks() const { return fBKinkFinder;}
b9cc16e4 44 Float_t GetMaxC() const { return fMaxC;}
45 Bool_t GetSpecialSeeding() const { return fBSpecialSeeding;}
657452bc 46 Bool_t GetBYMirror() const { return fBYMirror;}
669ce3c3 47 static AliTPCRecoParam *GetLowFluxParam(); // make reco parameters for low flux env.
48 static AliTPCRecoParam *GetHighFluxParam(); // make reco parameters for high flux env.
49 static AliTPCRecoParam *GetLaserTestParam(Bool_t bPedestal); // special setting for laser
50 static AliTPCRecoParam *GetCosmicTestParam(Bool_t bPedestal); // special setting for cosmic
51 //
52 protected:
018e4f8a 53 Bool_t fBClusterSharing; // allows or disable cluster sharing during tracking
669ce3c3 54 Double_t fCtgRange; // +-fCtgRange is the ctg(Theta) window used for clusterization and tracking (MI)
55 Double_t fMaxSnpTracker; // max sin of local angle - for TPC tracker
56 Double_t fMaxSnpTrack; // max sin of local angle - for track
657452bc 57 Bool_t fBYMirror; // mirror of the y - pad coordinate
669ce3c3 58 //
59 // clusterer parameters
60 //
b127a65f 61 Bool_t fDumpSignal; // Dump Signal information flag
669ce3c3 62 Int_t fFirstBin; // first time bin used by cluster finder
63 Int_t fLastBin; // last time bin used by cluster finder
64 Bool_t fBCalcPedestal; // calculate Pedestal
65 Bool_t fBDoUnfold; // do unfolding of clusters
66 Float_t fDumpAmplitudeMin; // minimal amplitude of signal to be dumped
67 Float_t fMaxNoise; // maximal noise sigma on pad to be used in cluster finder
940ed1f0 68 Float_t fMinMaxCutAbs; // minimal amplitude at cluster maxima
69 Float_t fMinLeftRightCutAbs; // minimal amplitude left right - PRF
70 Float_t fMinUpDownCutAbs; // minimal amplitude up-down - TRF
71 Float_t fMinMaxCutSigma; // minimal amplitude at cluster maxima
72 Float_t fMinLeftRightCutSigma; // minimal amplitude left right - PRF
73 Float_t fMinUpDownCutSigma; // minimal amplitude up-down - TRF
669ce3c3 74 //
75 //
b9cc16e4 76 Float_t fMaxC; // maximal curvature for tracking
77 Bool_t fBSpecialSeeding; // special seeding with big inclination angles allowed (for Cosmic and laser)
669ce3c3 78 Bool_t fBKinkFinder; // do kink finder reconstruction
7d27c1df 79 Int_t fLastSeedRowSec; // Most Inner Row to make seeding for secondaries
b127a65f 80 ClassDef(AliTPCRecoParam, 2)
669ce3c3 81};
82
83
84#endif