]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding switches to apply a transformation
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 May 2009 14:44:12 +0000 (14:44 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 May 2009 14:44:12 +0000 (14:44 +0000)
(Marian)

TPC/AliTPCRecoParam.cxx
TPC/AliTPCRecoParam.h

index 4c4182915012ac1c15a6f02363eb65716db52efe..4dd5e8072935f93691a1bd33945ac00417a3ec1e 100644 (file)
@@ -81,6 +81,14 @@ AliTPCRecoParam::AliTPCRecoParam():
   fBSpecialSeeding(kFALSE),
   fBKinkFinder(kTRUE),
   fLastSeedRowSec(120),
+  fUseFieldCorrection(0),      // use field correction
+  fUseRPHICorrection(0),      // use rphi correction
+  fUseRadialCorrection(0),    // use radial correction
+  fUseQuadrantAlignment(0),   // use quadrant alignment
+  fUseSectorAlignment(0),     // use sector alignment
+  fUseDriftCorrectionTime(0), // use drift correction time
+  fUseDriftCorrectionGY(0),   // use drif correction global y
+  fUseGainCorrectionTime(0),  // use gain correction time
   fUseTOFCorrection(kTRUE)
 {
   //
index cefa4d919b3286a9a15ef4e1a743d81cf41ad6b6..0a5376c91af05e1e4b9c5d1c93ebf24515d3aa9e 100644 (file)
@@ -56,8 +56,26 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   //
   // 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;}
 
@@ -97,12 +115,22 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   //
   // 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, 4)
+  ClassDef(AliTPCRecoParam, 5)
 };