]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFRecoParam.h
New histograms in case of multi isolation cut analysis - Catherin
[u/mrichter/AliRoot.git] / TOF / AliTOFRecoParam.h
index 55ce14550df746abacc05bcd80d5c8fd593232cb..71c5258ff2b75e1bbcf82d4e3437f83d346b9a59 100644 (file)
@@ -12,6 +12,8 @@
 
 #include "AliDetectorRecoParam.h"
 
+#include "AliTOFGeometry.h"
+
 class AliTOFRecoParam : public AliDetectorRecoParam
 {
  public: 
@@ -36,9 +38,11 @@ class AliTOFRecoParam : public AliDetectorRecoParam
   Float_t  GetSensRadius()         const  { return fSensRadius;}
   Float_t  GetStepSize()           const  { return fStepSize;}
   Double_t  GetMaxChi2()           const  { return fMaxChi2;}
-  Double_t  GetMaxChi2TRD()           const  { return fMaxChi2TRD;}
+  Double_t  GetMaxChi2TRD()        const  { return fMaxChi2TRD;}
   Double_t  GetTimeResolution()    const  { return fTimeResolution;}
   Double_t  GetTimeNSigma()        const  { return fTimeNSigma;}
+  Int_t     GetMaxDeltaTime()      const  { return fMaxDeltaTime;}
+  Int_t     GetStartTimeType()     const  { return fStartTimeType;}
 
   //Setters
 
@@ -58,10 +62,12 @@ class AliTOFRecoParam : public AliDetectorRecoParam
   void  SetMaxChi2TRD(Double_t in)  {fMaxChi2TRD=in;}
   void  SetTimeResolution(Double_t in)  {fTimeResolution=in;}
   void  SetTimeNSigma(Double_t in)  {fTimeNSigma=in;}
+  void  SetMaxDeltaTime(Int_t a)   {fMaxDeltaTime = a;}; // to set deltaTime [bin number]
+  void  SetMaxDeltaTime(Float_t a) {fMaxDeltaTime = (Int_t)(a/AliTOFGeometry::TdcBinWidth());}; // to set deltaTime [ps]
+  void  SetStartTimeType(Int_t a) {fStartTimeType = a;};
 
   static   AliTOFRecoParam *GetPbPbparam();       // reco param for PbPb.
   static   AliTOFRecoParam *GetPPparam();         // reco param for PP
-  static   AliTOFRecoParam *GetCosmicMuonParam(); // reco param for cosmic muons
  private:
 
   Bool_t fTimeZero; //use Time Zero info in Pid
@@ -80,8 +86,12 @@ class AliTOFRecoParam : public AliDetectorRecoParam
   Double_t fMaxChi2TRD;  // maximum X2 track-tof clusters (TRD)
   Double_t fTimeResolution;  // Time resolution for resp. function in PID (ps)
   Double_t fTimeNSigma;  // N-Sigma Range used for resp. function in PID 
+  Int_t    fMaxDeltaTime; // max time difference in between two tof
+                          // measurements for two neighbouring pads
+                          // [number of bins]
+  Int_t fStartTimeType; // flag to set start_time to be used for TOF PID
 
-  ClassDef(AliTOFRecoParam, 3)
+  ClassDef(AliTOFRecoParam, 5)
 };
 
 #endif