]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCRecoParam.h
Patch for the tracker
[u/mrichter/AliRoot.git] / TPC / AliTPCRecoParam.h
index efa21cf7eaa274a214cd9742d6295e69d5834a35..8a39ead0ad41a83d0c7ce6c52316f2612df962cc 100644 (file)
@@ -17,9 +17,8 @@ class AliTPCRecoParam : public AliDetectorRecoParam
  public: 
   AliTPCRecoParam();
   virtual ~AliTPCRecoParam();
-  static   Bool_t  GetUseTimeCalibration(){ return fgUseTimeCalibration;}
-  static   void    SetUseTimeCalibration(Bool_t useTimeCalibration) {fgUseTimeCalibration = useTimeCalibration;}
-
+  static   Bool_t  GetUseTimeCalibration();
+  static   void    SetUseTimeCalibration(Bool_t useTimeCalibration);
   void     SetClusterSharing(Bool_t sharing){fBClusterSharing=sharing;}
   Bool_t   GetClusterSharing() const {return fBClusterSharing;}
   Double_t GetCtgRange() const     { return fCtgRange;}
@@ -43,6 +42,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Float_t  GetDumpAmplitudeMin()   const  { return fDumpAmplitudeMin;}
   Float_t  GetMaxNoise()           const  { return fMaxNoise;}  
   //
+  Int_t   GetUseOnePadCluster()   const   { return fUseOnePadCluster;}
   Float_t  GetMinMaxCutAbs()       const  { return fMinMaxCutAbs; }
   Float_t  GetMinLeftRightCutAbs() const  { return fMinLeftRightCutAbs;}  // minimal amplitude left right - PRF
   Float_t  GetMinUpDownCutAbs()    const  { return fMinUpDownCutAbs;}  // minimal amplitude up-down - TRF 
@@ -50,18 +50,28 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Float_t  GetMinLeftRightCutSigma() const  { return fMinLeftRightCutSigma;}  // minimal amplitude left right - PRF
   Float_t  GetMinUpDownCutSigma()    const  { return fMinUpDownCutSigma;}  // minimal amplitude up-down - TRF 
   //
+  void SetUseOnePadCluster(Int_t use)      {   fUseOnePadCluster = use;}
   void SetMinMaxCutAbs(Float_t th)         {   fMinMaxCutAbs=th; }
   void SetMinLeftRightCutAbs(Float_t th)   {   fMinLeftRightCutAbs=th;}  // minimal amplitude left right - PRF
   void SetMinUpDownCutAbs(Float_t th)      {   fMinUpDownCutAbs=th;}  // minimal amplitude up-down - TRF 
   void SetMinMaxCutSigma(Float_t th)       {   fMinMaxCutSigma=th; }
   void SetMinLeftRightCutSigma(Float_t th) {   fMinLeftRightCutSigma=th;}  // minimal amplitude left right - PRF
   void SetMinUpDownCutSigma(Float_t th)    {   fMinUpDownCutSigma=th;}  // minimal amplitude up-down - TRF 
+  void  SetUseTotCharge(Bool_t flag) {fUseTotCharge = flag;}
+  void  SetCtgRange(Double_t ctgRange) {fCtgRange = ctgRange;}
+  void  SetUseMultiplicityCorrectionDedx(Bool_t flag) {fUseMultiplicityCorrectionDedx = flag;}
+  void  SetUseAlignmentTime(Bool_t flag) {fUseAlignmentTime = flag;}
+  void  SetNeighborRowsDedx(Int_t nRows) {fNeighborRowsDedx = nRows;}
   //
   Int_t    GetLastSeedRowSec()       const  { return fLastSeedRowSec;} 
+  Int_t    GetSeedGapPrim()        const  { return fSeedGapPrim;} 
+  Int_t    GetSeedGapSec()         const  { return fSeedGapSec;} 
   void     SetDoKinks(Bool_t on)   { fBKinkFinder=on; }
   Bool_t   GetDoKinks() const      { return fBKinkFinder;}
   Double_t GetKinkAngleCutChi2(Int_t index) const {return fKinkAngleCutChi2[index];}
   void     SetKinkAngleCutChi2(Int_t index,Double_t value) {fKinkAngleCutChi2[index]=value;}
+  void     SetSeedGapPrim(Int_t seedGapPrim)         { fSeedGapPrim = seedGapPrim;} 
+  void     SetSeedGapSec(Int_t seedGapSec)          { fSeedGapSec  = seedGapSec;} 
   Float_t  GetMaxC()    const      { return fMaxC;}
   Bool_t   GetSpecialSeeding() const { return fBSpecialSeeding;}
   //
@@ -71,6 +81,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   // Correction setup
   //
   void  SetUseFieldCorrection(Int_t flag){fUseFieldCorrection=flag;}
+  void  SetUseComposedCorrection(Bool_t flag){fUseComposedCorrection=flag;}
   void  SetUseRPHICorrection(Int_t flag){fUseRPHICorrection=flag;}
   void  SetUseRadialCorrection(Int_t flag){fUseRadialCorrection=flag;}
   void  SetUseQuadrantAlignment(Int_t flag){fUseQuadrantAlignment=flag;}
@@ -82,6 +93,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   void  SetUseTOFCorrection(Bool_t flag) {fUseTOFCorrection = flag;}
   //
   Int_t GetUseFieldCorrection() const {return fUseFieldCorrection;}
+  Int_t GetUseComposedCorrection() const {return fUseComposedCorrection;}
   Int_t GetUseRPHICorrection() const {return fUseRPHICorrection;}
   Int_t GetUseRadialCorrection() const {return fUseRadialCorrection;}
   Int_t GetUseQuadrantAlignment() const {return fUseQuadrantAlignment;}
@@ -90,10 +102,13 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Int_t GetUseDriftCorrectionGY() const {return fUseDriftCorrectionGY;}
   Int_t GetUseGainCorrectionTime() const {return fUseGainCorrectionTime;}
   Int_t GetUseExBCorrection() const {return fUseExBCorrection;}
+  Bool_t GetUseMultiplicityCorrectionDedx() const {return fUseMultiplicityCorrectionDedx;}
+  Bool_t GetUseAlignmentTime() const {return fUseAlignmentTime;}
   //
   Bool_t   GetUseTotCharge() const {return fUseTotCharge;}          // switch use total or max charge
   Float_t  GetMinFraction() const {return fMinFraction;}           // truncated mean - lower threshold
   Float_t  GetMaxFraction() const {return fMaxFaction;}            // truncated mean - upper threshold
+  Int_t    GetNeighborRowsDedx() const {return fNeighborRowsDedx;} 
 
   Bool_t   GetUseTOFCorrection() {return fUseTOFCorrection;}
 
@@ -127,6 +142,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Bool_t   fBDoUnfold;       // do unfolding of clusters
   Float_t  fDumpAmplitudeMin; // minimal amplitude of signal to be dumped 
   Float_t  fMaxNoise;        // maximal noise sigma on pad to be used in cluster finder
+  Int_t   fUseOnePadCluster; // flag - use one pad cluster -0 not use >0 use
   Float_t  fMinMaxCutAbs;    // minimal amplitude at cluster maxima
   Float_t  fMinLeftRightCutAbs;  // minimal amplitude left right - PRF
   Float_t  fMinUpDownCutAbs;  // minimal amplitude up-down - TRF 
@@ -140,10 +156,14 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Bool_t   fBKinkFinder;       // do kink finder reconstruction
   Double_t fKinkAngleCutChi2[2];   // angular cut for kinks
   Int_t    fLastSeedRowSec;     // Most Inner Row to make seeding for secondaries
+  Int_t    fSeedGapPrim;   // seeding gap for primary tracks
+  Int_t    fSeedGapSec;   // seeding gap for secondary tracks
+
   //
   // Correction switches
   //
   Int_t fUseFieldCorrection;     // use field correction
+  Bool_t fUseComposedCorrection; // flag to use composed correction
   Int_t fUseRPHICorrection;      // use rphi correction
   Int_t fUseRadialCorrection;    // use radial correction
   Int_t fUseQuadrantAlignment;   // use quadrant alignment
@@ -152,23 +172,27 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Int_t fUseDriftCorrectionGY;   // use drif correction global y
   Int_t fUseGainCorrectionTime;  // use gain correction time
   Int_t fUseExBCorrection;       // use ExB correction
+  Bool_t fUseMultiplicityCorrectionDedx; // use Dedx multiplicity correction
+  Bool_t fUseAlignmentTime;              // use time dependent alignment correction
   //
   // dEdx switches
   //
   Bool_t   fUseTotCharge;          // switch use total or max charge
   Float_t fMinFraction;           // truncated mean - lower threshold
   Float_t fMaxFaction;            // truncated mean - upper threshold
+  Int_t   fNeighborRowsDedx;      // number of neighboring rows to identify cluster below thres in dEdx calculation 0 -> switch off
 
   Bool_t fUseTOFCorrection;  // switch - kTRUE use TOF correction kFALSE - do not use
   //
   //  misscalibration 
   //
-  Double_t fSystematicErrors[5];  //systematic errors in the track parameters - to be added to TPC covariance matrix    
+  Double_t fSystematicErrors[5];  //systematic errors in the track parameters - to be added to TPC covariance matrix 
+public:   
   static Bool_t fgUseTimeCalibration; // flag usage the time dependent calibration
                                       // to be switched off for pass 0 reconstruction
                                       // Use static function, other option will be to use 
                                       // additional specific storage ?
-  ClassDef(AliTPCRecoParam, 9)
+  ClassDef(AliTPCRecoParam, 13)
 };