]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFT0maker.h
TOF label test
[u/mrichter/AliRoot.git] / TOF / AliTOFT0maker.h
index b94fc394a00b9dafeb11bb8bdef5a19aa4af7e08..1530ba0ec9ecd72df388b675c95a7d134fd8fe54 100644 (file)
 
 
 #include "TObject.h"
-#include "AliTOFT0v1.h"
 
 class TH1F;
 class AliESDEvent;
 
 class AliESDpid;
+class AliTOFT0v1;
 class AliTOFcalib;
 
 class AliTOFT0maker : public TObject {
@@ -54,7 +54,8 @@ public:
   
   void WriteInESD(AliESDEvent *esd);
 
-  Int_t GetPileUpCandidate(){return fT0TOF->GetPileUpCandidate();};
+  void SetTOFT0algorithm(Int_t flag=1){fTOFT0algorithm=flag;};
+  Int_t GetTOFT0algorithm() const {return fTOFT0algorithm;};
 
  private:
   
@@ -87,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 */
   
 };