+ //
+ //
+
+ //
+ // 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;}
+ 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;}
+ void SetUseExBCorrection(Int_t flag){fUseExBCorrection=flag;}
+ 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;}
+ Int_t GetUseSectorAlignment() const {return fUseSectorAlignment;}
+ 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 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;}
+
+ //
+ void SetSystematicError(Double_t *systematic){ for (Int_t i=0; i<5;i++) fSystematicErrors[i]=systematic[i];}
+ const Double_t * GetSystematicError() const { return fSystematicErrors;}
+ void SetUseSystematicCorrelation(Bool_t useCorrelation) {fUseSystematicCorrelation=useCorrelation;}
+ Bool_t GetUseSystematicCorrelation() const { return fUseSystematicCorrelation;}
+