]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDrecoParam.h
New tracker by Markus and Alexandru
[u/mrichter/AliRoot.git] / TRD / AliTRDrecoParam.h
index 96b6beeb1af5efe8ee5bdcb71387f5e31529297d..323b50bdad74b08d39d33bcb44e958102203d294 100644 (file)
 
 class AliTRDrecoParam : public AliDetectorRecoParam
 {
-
   public:
-
+       enum{
+         kNNslices = 8,
+         kLQslices = 3
+       };
+       
        AliTRDrecoParam();
        ~AliTRDrecoParam() { }
 
        Double_t GetChi2Y() const                 { return fkChi2Y;    }
        Double_t GetChi2Z() const                 { return fkChi2Z;    }
+       Bool_t   GetClusterSharing() const        { return fkClusterSharing;}
        Double_t GetFindableClusters() const      { return fkFindable; }
        Double_t GetMaxTheta() const              { return fkMaxTheta; }
        Double_t GetMaxPhi() const                { return fkMaxPhi;   }
-
+       Int_t    GetNdEdxSlices() const           { return fkPIDMethod ? kNNslices : kLQslices;}
+       Int_t    GetPIDMethod() const             { return fkPIDMethod;}
        Double_t GetRoad0y() const                { return fkRoad0y;   }
        Double_t GetRoad0z() const                { return fkRoad0z;   }
 
@@ -44,9 +49,13 @@ class AliTRDrecoParam : public AliDetectorRecoParam
        
        static   AliTRDrecoParam *GetLowFluxParam();
         static   AliTRDrecoParam *GetHighFluxParam();
-
+       void     SetClusterSharing(Bool_t share = kTRUE) {fkClusterSharing = share;}
+       void     SetPIDMethod(Int_t pid=1)        { fkPIDMethod = pid ? 1 : 0;}
+       
  private:
 
+       Bool_t   fkClusterSharing;        // Toggle cluster sharing
+       Int_t    fkPIDMethod;             // PID method selector 0(LQ) 1(NN)
        Double_t fkMaxTheta;              // Maximum theta
        Double_t fkMaxPhi;                // Maximum phi
 
@@ -58,7 +67,7 @@ class AliTRDrecoParam : public AliDetectorRecoParam
 
        Double_t fkRoad2y;                // Road in y for extrapolated cluster
        Double_t fkRoad2z;                // Road in z for extrapolated cluster
-
+       
        Double_t fkPlaneQualityThreshold; // Quality threshold
        Double_t fkFindable;              // Ratio of clusters from a track in one chamber which are at minimum supposed to be found.
        Double_t fkChi2Z;                 // Max chi2 on the z direction for seeding clusters fit