From 07c43acbcd8286dd0e243381af96e2fa801174cb Mon Sep 17 00:00:00 2001 From: marian Date: Thu, 2 Jul 2009 16:14:30 +0000 Subject: [PATCH] Adding switches 1. Use TPC transformation array 2. Use ExB correction --- TPC/AliTPCRecoParam.cxx | 2 ++ TPC/AliTPCRecoParam.h | 13 ++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/TPC/AliTPCRecoParam.cxx b/TPC/AliTPCRecoParam.cxx index 4dd5e807293..fa78566d8ed 100644 --- a/TPC/AliTPCRecoParam.cxx +++ b/TPC/AliTPCRecoParam.cxx @@ -81,6 +81,7 @@ AliTPCRecoParam::AliTPCRecoParam(): fBSpecialSeeding(kFALSE), fBKinkFinder(kTRUE), fLastSeedRowSec(120), + fUseTransformation(0), fUseFieldCorrection(0), // use field correction fUseRPHICorrection(0), // use rphi correction fUseRadialCorrection(0), // use radial correction @@ -89,6 +90,7 @@ AliTPCRecoParam::AliTPCRecoParam(): fUseDriftCorrectionTime(0), // use drift correction time fUseDriftCorrectionGY(0), // use drif correction global y fUseGainCorrectionTime(0), // use gain correction time + fUseExBCorrection(1), // use ExB correction fUseTOFCorrection(kTRUE) { // diff --git a/TPC/AliTPCRecoParam.h b/TPC/AliTPCRecoParam.h index 0a5376c91af..4adb324a9ac 100644 --- a/TPC/AliTPCRecoParam.h +++ b/TPC/AliTPCRecoParam.h @@ -56,6 +56,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam // // Correction setup // + void SetUseTransformation(Int_t flag){fUseTransformation=flag;} void SetUseFieldCorrection(Int_t flag){fUseFieldCorrection=flag;} void SetUseRPHICorrection(Int_t flag){fUseRPHICorrection=flag;} void SetUseRadialCorrection(Int_t flag){fUseRadialCorrection=flag;} @@ -64,7 +65,10 @@ class AliTPCRecoParam : public AliDetectorRecoParam void SetUseDriftCorrectionTime(Int_t flag){fUseDriftCorrectionTime=flag;} void SetUseDriftCorrectionGY(Int_t flag){fUseDriftCorrectionGY=flag;} void SetUseGainCorrectionTime(Int_t flag){fUseGainCorrectionTime=flag;} + void SetUseExBCorrection(Int_t flag){fUseExBCorrection=flag;} + void SetUseTOFCorrection(Bool_t flag) {fUseTOFCorrection = flag;} // + Int_t GetUseTransformation() const {return fUseTransformation;} Int_t GetUseFieldCorrection() const {return fUseFieldCorrection;} Int_t GetUseRPHICorrection() const {return fUseRPHICorrection;} Int_t GetUseRadialCorrection() const {return fUseRadialCorrection;} @@ -73,8 +77,9 @@ class AliTPCRecoParam : public AliDetectorRecoParam Int_t GetUseDriftCorrectionTime() const {return fUseDriftCorrectionTime;} Int_t GetUseDriftCorrectionGY() const {return fUseDriftCorrectionGY;} Int_t GetUseGainCorrectionTime() const {return fUseGainCorrectionTime;} + Int_t GetUseExBCorrection() const {return fUseExBCorrection;} 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;} @@ -115,7 +120,8 @@ class AliTPCRecoParam : public AliDetectorRecoParam // // Correction switches // - Int_t fUseFieldCorrection; // use rphi correction + Int_t fUseTransformation; // use transformation + Int_t fUseFieldCorrection; // use field correction Int_t fUseRPHICorrection; // use rphi correction Int_t fUseRadialCorrection; // use radial correction Int_t fUseQuadrantAlignment; // use quadrant alignment @@ -123,6 +129,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam Int_t fUseDriftCorrectionTime; // use drift correction time Int_t fUseDriftCorrectionGY; // use drif correction global y Int_t fUseGainCorrectionTime; // use gain correction time + Int_t fUseExBCorrection; // use ExB correction // Bool_t fUseTOFCorrection; // switch - kTRUE use TOF correction kFALSE - do not use @@ -130,7 +137,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam // misscalibration // Double_t fSystematicErrors[5]; //systematic errors in the track parameters - to be added to TPC covariance matrix - ClassDef(AliTPCRecoParam, 5) + ClassDef(AliTPCRecoParam, 6) }; -- 2.43.0