]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDrecoParam.h
rename dir
[u/mrichter/AliRoot.git] / TRD / AliTRDrecoParam.h
index 6c89917eec728dc13daf07cd4e18051e95c23cc5..b3cc9e567bd96971c61479a81ea5b63a71eb2615 100644 (file)
@@ -27,9 +27,10 @@ public:
 
   Double_t GetChi2Y() const                 { return fkChi2Y;    }
   Double_t GetChi2Z() const                 { return fkChi2Z;    }
-  Double_t GetChi2YCut() const              { return fkChi2YCut; }
-  Double_t GetChi2ZCut() const              { return fkChi2ZCut; }
-  Double_t GetPhiCut() const                { return fkPhiCut;   }
+  Double_t GetChi2YSlope() const            { return fkChi2YSlope; }
+  Double_t GetChi2ZSlope() const            { return fkChi2ZSlope; }
+       Double_t GetChi2YCut() const              { return fkChi2YCut; }
+  Double_t GetPhiSlope() const              { return fkPhiSlope;   }
   Float_t  GetNClusters() const;
   Double_t GetNMeanClusters() const         { return fkNMeanClusters; }
   Double_t GetNSigmaClusters() const        { return fkNSigmaClusters; }
@@ -59,31 +60,21 @@ public:
   static   AliTRDrecoParam *GetHighFluxParam();
   static   AliTRDrecoParam *GetCosmicTestParam();
 
-  Bool_t   IsClusterSharing() const         { return TestBit(kClusterSharing);}
-  Bool_t   IsLUT() const                    { return TestBit(kLUT);}
-  Bool_t   IsTailCancelation() const        { return TestBit(kTC);}
-  Bool_t   IsVertexConstrained() const      { return TestBit(kVertexConstrained); }
-  Bool_t   HasImproveTracklets() const       { return TestBit(kImproveTracklet); }
-
   void     SetMaxTheta(Double_t maxTheta) {fkMaxTheta = maxTheta;}
   void     SetMaxPhi(Double_t maxPhi) {fkMaxPhi = maxPhi;}
   void     SetFindableClusters(Double_t r) {fkFindable = r;}
   void     SetChi2Y(Double_t chi2) {fkChi2Y = chi2;}
   void     SetChi2Z(Double_t chi2) {fkChi2Z = chi2;}
-  void     SetChi2YCut(Double_t chi2YCut) {fkChi2YCut = chi2YCut;}
-  void     SetChi2ZCut(Double_t chi2ZCut) {fkChi2ZCut = chi2ZCut;}
-  void     SetPhiCut(Double_t phiCut) {fkPhiCut = phiCut;}
+  void     SetChi2YSlope(Double_t chi2YSlope) {fkChi2YSlope = chi2YSlope;}
+  void     SetChi2ZSlope(Double_t chi2ZSlope) {fkChi2ZSlope = chi2ZSlope;}
+       void       SetChi2YCut(Double_t chi2Cut) {fkChi2YCut = chi2Cut; }
+  void     SetPhiSlope(Double_t phiSlope) {fkPhiSlope = phiSlope;}
   void     SetNMeanClusters(Double_t meanNclusters) {fkNMeanClusters = meanNclusters;}
   void     SetNSigmaClusters(Double_t sigmaNclusters) {fkNSigmaClusters = sigmaNclusters;} 
-  void     SetClusterSharing(Bool_t share = kTRUE)            { SetBit(kClusterSharing, share);}
-  void     SetImproveTracklets(Bool_t improve = kTRUE)         { SetBit(kImproveTracklet, improve);}
-  void     SetVertexConstrained(Bool_t vc = kTRUE)            { SetBit(kVertexConstrained, vc); }
-  void     SetLUT(Bool_t lut = kTRUE)                         { SetBit(kLUT, lut);};
   void     SetMinMaxCutSigma(Float_t minMaxCutSigma)          { fMinMaxCutSigma   = minMaxCutSigma; }
   void     SetMinLeftRightCutSigma(Float_t minLeftRightCutSigma) { fMinLeftRightCutSigma   = minLeftRightCutSigma; };
   void     SetClusMaxThresh(Float_t thresh)                   { fClusMaxThresh   = thresh; };
   void     SetClusSigThresh(Float_t thresh)                   { fClusSigThresh   = thresh; };
-  void     SetTailCancelation(Bool_t tc = kTRUE)              { SetBit(kTC, tc);  };
   inline void SetPIDThreshold(Double_t *pid);
   void     SetNexponential(Int_t nexp)                        { fTCnexp          = nexp;   };
   inline void SetSysCovMatrix(Double_t *sys);
@@ -91,13 +82,6 @@ public:
   void     SetNumberOfPostsamples(Int_t n)                    { fNumberOfPostsamples = n;}
 
 private:
-  enum{
-    kTC                = BIT(14) // tail cancelation
-   ,kLUT               = BIT(15) // look up table for cluster position determination 
-   ,kClusterSharing    = BIT(16) // Toggle cluster sharing
-   ,kVertexConstrained = BIT(17) // Perform vertex constrained fit
-   ,kImproveTracklet   = BIT(18) // Improve tracklet in the SA TRD track finder 
-  };
   // Physics reference values for TRD
   Double_t  fkdNchdy;                // dNch/dy
   Double_t  fkMaxTheta;              // Maximum theta
@@ -116,9 +100,10 @@ private:
   Double_t  fkFindable;              // minimum ratio of clusters per tracklet supposed to be attached.
   Double_t  fkChi2Z;                 // Max chi2 on the z direction for seeding clusters fit
   Double_t  fkChi2Y;                 // Max chi2 on the y direction for seeding clusters Rieman fit
-  Double_t  fkChi2YCut;              // Cut on the Chi2 in y-direction in the likelihood filter
-  Double_t  fkChi2ZCut;              // Cut on the Chi2 in z-direction in the likelihood filter
-  Double_t  fkPhiCut;                // Cut on the deviation of the phi angles between tracklet and track fit (lik. filter)
+  Double_t  fkChi2YSlope;            // Slope of the chi2-distribution in y-direction
+  Double_t  fkChi2ZSlope;            // Slope of the chi2-distribution in z-direction
+       Double_t  fkChi2YCut;                                                    // Cut on the Chi2 in y-direction in the likelihood filter
+  Double_t  fkPhiSlope;              // Slope of the distribution of the deviation between track angle and tracklet angle
   Double_t  fkNMeanClusters;         // Mean number of clusters per tracklet
   Double_t  fkNSigmaClusters;        // Sigma of the number of clusters per tracklet
   Double_t  fkNClusterNoise;         // ratio of noisy clusters to the true one
@@ -139,7 +124,7 @@ private:
   Int_t     fNumberOfPresamples;     // number of presamples 
   Int_t     fNumberOfPostsamples;     // number of postsamples 
 
-  ClassDef(AliTRDrecoParam, 5)       // Reconstruction parameters for TRD detector
+  ClassDef(AliTRDrecoParam, 7)       // Reconstruction parameters for TRD detector
 
 };