]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCRecoParam.h
adapted macro to QAManager
[u/mrichter/AliRoot.git] / TPC / AliTPCRecoParam.h
index 5a8713f425a314651df0962391dae232bf72a5d5..0a5376c91af05e1e4b9c5d1c93ebf24515d3aa9e 100644 (file)
@@ -53,10 +53,35 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Bool_t   GetDoKinks() const      { return fBKinkFinder;}
   Float_t  GetMaxC()    const      { return fMaxC;}
   Bool_t   GetSpecialSeeding() const { return fBSpecialSeeding;}
-  Bool_t   GetBYMirror() const { return fBYMirror;}
-  void     SetBYMirror(Bool_t mirror)  { fBYMirror = mirror;} //
+  //
+  // Correction setup
+  //
+  void  SetUseFieldCorrection(Int_t flag){fUseFieldCorrection=flag;}
+  void  SetUseRPHICorrection(Int_t flag){fUseRPHICorrection=flag;}
+  void  SetUseRadialCorrection(Int_t flag){fUseRadialCorrection=flag;}
+  void  SetUseQuadrantAlignment(Int_t flag){fUseQuadrantAlignment=flag;}
+  void  SetUseSectorAlignment(Int_t flag){fUseSectorAlignment=flag;}
+  void  SetUseDriftCorrectionTime(Int_t flag){fUseDriftCorrectionTime=flag;}
+  void  SetUseDriftCorrectionGY(Int_t flag){fUseDriftCorrectionGY=flag;}
+  void  SetUseGainCorrectionTime(Int_t flag){fUseGainCorrectionTime=flag;}
+  //
+  Int_t GetUseFieldCorrection() const {return fUseFieldCorrection;}
+  Int_t GetUseRPHICorrection() const {return fUseRPHICorrection;}
+  Int_t GetUseRadialCorrection() const {return fUseRadialCorrection;}
+  Int_t GetUseQuadrantAlignment() const {return fUseQuadrantAlignment;}
+  Int_t GetUseSectorAlignment() const {return fUseSectorAlignment;}
+  Int_t GetUseDriftCorrectionTime() const {return fUseDriftCorrectionTime;}
+  Int_t GetUseDriftCorrectionGY() const {return fUseDriftCorrectionGY;}
+  Int_t GetUseGainCorrectionTime() const {return fUseGainCorrectionTime;}
+  Bool_t   GetUseTOFCorrection() {return fUseTOFCorrection;}
+  //
+  //
+  void     SetSystematicError(Double_t *systematic){ for (Int_t i=0; i<5;i++) fSystematicErrors[i]=systematic[i];}
+  const Double_t * GetSystematicError() const { return fSystematicErrors;}
+
   static   AliTPCRecoParam *GetLowFluxParam();        // make reco parameters for low  flux env.
   static   AliTPCRecoParam *GetHighFluxParam();       // make reco parameters for high flux env. 
+  static   AliTPCRecoParam *GetHLTParam(); // special setting for HLT  
   static   AliTPCRecoParam *GetLaserTestParam(Bool_t bPedestal);  // special setting for laser 
   static   AliTPCRecoParam *GetCosmicTestParam(Bool_t bPedestal); // special setting for cosmic  
   //
@@ -65,7 +90,6 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Double_t fCtgRange;        // +-fCtgRange is the ctg(Theta) window used for clusterization and tracking (MI) 
   Double_t fMaxSnpTracker;   // max sin of local angle  - for TPC tracker
   Double_t fMaxSnpTrack;     // max sin of local angle  - for track 
-  Bool_t   fBYMirror;        // mirror of the y - pad coordinate 
   //
   //   clusterer parameters
   //
@@ -88,7 +112,25 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Bool_t   fBSpecialSeeding; // special seeding with big inclination angles allowed (for Cosmic and laser)
   Bool_t   fBKinkFinder;     // do kink finder reconstruction
   Int_t    fLastSeedRowSec;     // Most Inner Row to make seeding for secondaries
-  ClassDef(AliTPCRecoParam, 2)
+  //
+  // Correction switches
+  //
+  Int_t fUseFieldCorrection;      // use rphi correction
+  Int_t fUseRPHICorrection;      // use rphi correction
+  Int_t fUseRadialCorrection;    // use radial correction
+  Int_t fUseQuadrantAlignment;   // use quadrant alignment
+  Int_t fUseSectorAlignment;     // use sector alignment
+  Int_t fUseDriftCorrectionTime; // use drift correction time
+  Int_t fUseDriftCorrectionGY;   // use drif correction global y
+  Int_t fUseGainCorrectionTime;  // use gain correction time
+  //
+
+  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    
+  ClassDef(AliTPCRecoParam, 5)
 };