]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCRecoParam.h
fix compilation of results macro
[u/mrichter/AliRoot.git] / TPC / AliTPCRecoParam.h
index 4ace0d2e408db2804f100a090857a5b73391665e..10ecb09a7d9556d27e1eb9d510e140e69a40e4c5 100644 (file)
@@ -17,8 +17,12 @@ class AliTPCRecoParam : public AliDetectorRecoParam
  public: 
   AliTPCRecoParam();
   virtual ~AliTPCRecoParam();
+  virtual void Print(const Option_t* option="") const;
   static   Bool_t  GetUseTimeCalibration();
   static   void    SetUseTimeCalibration(Bool_t useTimeCalibration);
+
+  void     SetUseHLTClusters(Int_t useHLTClusters){fUseHLTClusters=useHLTClusters;}
+  Int_t    GetUseHLTClusters() const {return fUseHLTClusters;}
   void     SetClusterSharing(Bool_t sharing){fBClusterSharing=sharing;}
   Bool_t   GetClusterSharing() const {return fBClusterSharing;}
   Double_t GetCtgRange() const     { return fCtgRange;}
@@ -42,7 +46,8 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Float_t  GetDumpAmplitudeMin()   const  { return fDumpAmplitudeMin;}
   Float_t  GetMaxNoise()           const  { return fMaxNoise;}  
   //
-  Int_t   GetUseOnePadCluster()   const   { return fUseOnePadCluster;}
+  Int_t    GetUseOnePadCluster()   const  { return fUseOnePadCluster;}
+  Bool_t   GetUseHLTOnePadCluster()const  { return fUseHLTOnePadCluster;}
   Float_t  GetMinMaxCutAbs()       const  { return fMinMaxCutAbs; }
   Float_t  GetMinLeftRightCutAbs() const  { return fMinLeftRightCutAbs;}  // minimal amplitude left right - PRF
   Float_t  GetMinUpDownCutAbs()    const  { return fMinUpDownCutAbs;}  // minimal amplitude up-down - TRF 
@@ -51,6 +56,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Float_t  GetMinUpDownCutSigma()    const  { return fMinUpDownCutSigma;}  // minimal amplitude up-down - TRF 
   //
   void SetUseOnePadCluster(Int_t use)      {   fUseOnePadCluster = use;}
+  void SetUseHLTOnePadCluster(Bool_t use)  {   fUseHLTOnePadCluster = use;}
   void SetMinMaxCutAbs(Float_t th)         {   fMinMaxCutAbs=th; }
   void SetMinLeftRightCutAbs(Float_t th)   {   fMinLeftRightCutAbs=th;}  // minimal amplitude left right - PRF
   void SetMinUpDownCutAbs(Float_t th)      {   fMinUpDownCutAbs=th;}  // minimal amplitude up-down - TRF 
@@ -61,7 +67,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   void  SetCtgRange(Double_t ctgRange) {fCtgRange = ctgRange;}
   void  SetUseMultiplicityCorrectionDedx(Bool_t flag) {fUseMultiplicityCorrectionDedx = flag;}
   void  SetUseAlignmentTime(Bool_t flag) {fUseAlignmentTime = flag;}
-
+  void  SetNeighborRowsDedx(Int_t nRows) {fNeighborRowsDedx = nRows;}
   //
   Int_t    GetLastSeedRowSec()       const  { return fLastSeedRowSec;} 
   Int_t    GetSeedGapPrim()        const  { return fSeedGapPrim;} 
@@ -108,12 +114,15 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   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;}
 
   static   AliTPCRecoParam *GetLowFluxParam();        // make reco parameters for low  flux env.
   static   AliTPCRecoParam *GetHighFluxParam();       // make reco parameters for high flux env. 
@@ -122,6 +131,7 @@ 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
   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
@@ -141,7 +151,8 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Bool_t   fBDoUnfold;       // do unfolding of clusters
   Float_t  fDumpAmplitudeMin; // minimal amplitude of signal to be dumped 
   Float_t  fMaxNoise;        // maximal noise sigma on pad to be used in cluster finder
-  Int_t   fUseOnePadCluster; // flag - use one pad cluster -0 not use >0 use
+  Int_t    fUseOnePadCluster; // flag - use one pad cluster -0 not use >0 use
+  Bool_t   fUseHLTOnePadCluster; // flag - use one HLT pad cluster for tracking
   Float_t  fMinMaxCutAbs;    // minimal amplitude at cluster maxima
   Float_t  fMinLeftRightCutAbs;  // minimal amplitude left right - PRF
   Float_t  fMinUpDownCutAbs;  // minimal amplitude up-down - TRF 
@@ -179,18 +190,20 @@ class AliTPCRecoParam : public AliDetectorRecoParam
   Bool_t   fUseTotCharge;          // switch use total or max charge
   Float_t fMinFraction;           // truncated mean - lower threshold
   Float_t fMaxFaction;            // truncated mean - upper threshold
+  Int_t   fNeighborRowsDedx;      // number of neighboring rows to identify cluster below thres in dEdx calculation 0 -> switch off
 
   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 
+  Bool_t fUseSystematicCorrelation;         // switch to use the correlation for the sys
 public:   
   static Bool_t fgUseTimeCalibration; // flag usage the time dependent calibration
                                       // to be switched off for pass 0 reconstruction
                                       // Use static function, other option will be to use 
                                       // additional specific storage ?
-  ClassDef(AliTPCRecoParam, 12)
+  ClassDef(AliTPCRecoParam, 16)
 };