From fa90aa2bad83b75e3460cfb9d7cb89af23a64fcc Mon Sep 17 00:00:00 2001 From: jthaeder Date: Sat, 10 Nov 2012 17:05:21 +0000 Subject: [PATCH] Added switch in recoparam for HLTPreSeeding - also in TrackerMi - default = OFF Added switch for IonTain removal - default = OFF --- TPC/AliTPCRecoParam.cxx | 2 ++ TPC/AliTPCRecoParam.h | 11 +++++++++-- TPC/AliTPCtrackerMI.cxx | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/TPC/AliTPCRecoParam.cxx b/TPC/AliTPCRecoParam.cxx index 5f6d86fa830..2c40825d5d9 100644 --- a/TPC/AliTPCRecoParam.cxx +++ b/TPC/AliTPCRecoParam.cxx @@ -58,6 +58,7 @@ Bool_t AliTPCRecoParam::fgUseTimeCalibration=kTRUE; // flag usage the time depen AliTPCRecoParam::AliTPCRecoParam(): AliDetectorRecoParam(), fUseHLTClusters(4), // use HLTorRAW data + fUseHLTPreSeeding(0), // no pre-seeding for now fBClusterSharing(kTRUE), fCtgRange(1.05), fMaxSnpTracker(0.95), @@ -98,6 +99,7 @@ AliTPCRecoParam::AliTPCRecoParam(): fUseExBCorrection(1), // use ExB correction fUseMultiplicityCorrectionDedx(kTRUE), // use Dedx multiplicity correction fUseAlignmentTime(kTRUE), // use time dependent alignment correction + fUseIonTailCorrection(0), // no ion tail correction for now // fUseTotCharge(kTRUE), // switch use total or max charge fMinFraction(0.01), // truncated mean - lower threshold diff --git a/TPC/AliTPCRecoParam.h b/TPC/AliTPCRecoParam.h index 10ecb09a7d9..bf99d7e141b 100644 --- a/TPC/AliTPCRecoParam.h +++ b/TPC/AliTPCRecoParam.h @@ -23,6 +23,8 @@ class AliTPCRecoParam : public AliDetectorRecoParam void SetUseHLTClusters(Int_t useHLTClusters){fUseHLTClusters=useHLTClusters;} Int_t GetUseHLTClusters() const {return fUseHLTClusters;} + void SetUseHLTPreSeeding(Int_t useHLTPreSeeding){fUseHLTPreSeeding=useHLTPreSeeding;} + Int_t GetUseHLTPreSeeding() const {return fUseHLTPreSeeding;} void SetClusterSharing(Bool_t sharing){fBClusterSharing=sharing;} Bool_t GetClusterSharing() const {return fBClusterSharing;} Double_t GetCtgRange() const { return fCtgRange;} @@ -97,6 +99,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam void SetUseGainCorrectionTime(Int_t flag){fUseGainCorrectionTime=flag;} void SetUseExBCorrection(Int_t flag){fUseExBCorrection=flag;} void SetUseTOFCorrection(Bool_t flag) {fUseTOFCorrection = flag;} + void SetUseIonTailCorrection(Int_t flag) {fUseIonTailCorrection = flag;} // Int_t GetUseFieldCorrection() const {return fUseFieldCorrection;} Int_t GetUseComposedCorrection() const {return fUseComposedCorrection;} @@ -108,6 +111,9 @@ class AliTPCRecoParam : public AliDetectorRecoParam Int_t GetUseDriftCorrectionGY() const {return fUseDriftCorrectionGY;} Int_t GetUseGainCorrectionTime() const {return fUseGainCorrectionTime;} Int_t GetUseExBCorrection() const {return fUseExBCorrection;} + Bool_t GetUseTOFCorrection() {return fUseTOFCorrection;} + Int_t GetUseIonTailCorrection() const {return fUseIonTailCorrection;} + Bool_t GetUseMultiplicityCorrectionDedx() const {return fUseMultiplicityCorrectionDedx;} Bool_t GetUseAlignmentTime() const {return fUseAlignmentTime;} // @@ -116,8 +122,6 @@ class AliTPCRecoParam : public AliDetectorRecoParam Float_t GetMaxFraction() const {return fMaxFaction;} // truncated mean - upper threshold Int_t GetNeighborRowsDedx() const {return fNeighborRowsDedx;} - 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;} @@ -131,7 +135,9 @@ class AliTPCRecoParam : public AliDetectorRecoParam static AliTPCRecoParam *GetCosmicTestParam(Bool_t bPedestal); // special setting for cosmic // protected: + Int_t fUseHLTClusters; // allows usage of HLT clusters instead of RAW data + Int_t fUseHLTPreSeeding; // Usage of HLT pre-seeding Bool_t fBClusterSharing; // allows or disable cluster sharing during tracking 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 @@ -184,6 +190,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam Int_t fUseExBCorrection; // use ExB correction Bool_t fUseMultiplicityCorrectionDedx; // use Dedx multiplicity correction Bool_t fUseAlignmentTime; // use time dependent alignment correction + Int_t fUseIonTailCorrection; // use ion tail correction // // dEdx switches // diff --git a/TPC/AliTPCtrackerMI.cxx b/TPC/AliTPCtrackerMI.cxx index a92e3fdd7b4..2560cd8f6a0 100644 --- a/TPC/AliTPCtrackerMI.cxx +++ b/TPC/AliTPCtrackerMI.cxx @@ -6966,7 +6966,7 @@ TObjArray * AliTPCtrackerMI::Tracking() Float_t fdensity = 3.0; // make HLT seeds - { + if (AliTPCReconstructor::GetRecoParam()->GetUseHLTPreSeeding()) { arr = MakeSeedsHLT( fEventHLT ); if( arr ){ SumTracks(seeds,arr); -- 2.43.0