]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFT0maker.h
task update
[u/mrichter/AliRoot.git] / TOF / AliTOFT0maker.h
index 6086fe6f37a3aa6fc116f85d9d85a9bc91bf6fdd..1530ba0ec9ecd72df388b675c95a7d134fd8fe54 100644 (file)
@@ -39,7 +39,7 @@ public:
   Double_t  GetTimeResolution() const {return fTimeResolution;} // Get TOF Time Resolution
   void SetT0FillWidth(Float_t width){if(width > 50) fT0width = width; else fT0width=150;}; // in ps
   
-  void LoadChannelMap(char *filename="$ALICE_ROOT/TOF/enableMap.104892.root"); //load the enable channel map
+  void LoadChannelMap(const char *filename="$ALICE_ROOT/TOF/enableMap.104892.root"); //load the enable channel map
   void ApplyMask(AliESDEvent * const esd); // Apply the channel mask
   
   void SetNoTOFT0(Bool_t status=kTRUE){fNoTOFT0=status;}; // disable the TOF T0 info
@@ -54,6 +54,9 @@ public:
   
   void WriteInESD(AliESDEvent *esd);
 
+  void SetTOFT0algorithm(Int_t flag=1){fTOFT0algorithm=flag;};
+  Int_t GetTOFT0algorithm() const {return fTOFT0algorithm;};
+
  private:
   
   AliTOFT0maker(const AliTOFT0maker &);
@@ -85,8 +88,9 @@ public:
 
   Float_t fT0spreadExt;
   Float_t fT0fillExt; // t0spread if set 
+  Int_t  fTOFT0algorithm; // select algorithm (1 default, 2 speed up)
 
-  ClassDef(AliTOFT0maker,2);  // Calculate the time zero using TOF detector */
+  ClassDef(AliTOFT0maker,3);  // Calculate the time zero using TOF detector */
   
 };