]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0PreprocessorOffline.h
Major refactoring of the code - Rebase task from AliAnalysisTaskSE to AliAnalysisTask...
[u/mrichter/AliRoot.git] / T0 / AliT0PreprocessorOffline.h
index 2fa3f82883c35931a94870bdd3c6980f203529c7..7258eac6bdb8b932db754c7b6b2aad8295c2eecb 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef ALI_T0_PREPROCESSOROFFLINE_H
-#define ALI_T0_PREPRECESSOROFFLINE_H
+#define ALI_T0_PREPROCESSOROFFLINE_H
 
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
@@ -9,19 +9,31 @@
 
 // T0 preprocessor. 
 #include "TNamed.h"
+class AliCDBStorage;
 
 class AliT0PreprocessorOffline: public TNamed 
 {
   public:
   AliT0PreprocessorOffline();  
   virtual ~AliT0PreprocessorOffline();
-  void CalibOffsetChannels(TString FileName, Int_t ustartRun, Int_t uendRun, TString ocdbStorage);
+  void CalibOffsetChannels(TString FileName, Int_t ustartRun, Int_t uendRun, AliCDBStorage* ocdbStorage);
+  void CalibT0sPosition(TString FileName, Int_t ustartRun, Int_t uendRun, AliCDBStorage* ocdbStorage);
+  void  Process(TString FileName, Int_t ustartRun, Int_t uendRun, AliCDBStorage* ocdbStorage);
+  void setDArun(Int_t runnumber) {fNewDArun = runnumber; };
+  Int_t GetStatus() const;
   private:
-       AliT0PreprocessorOffline(const AliT0PreprocessorOffline & proc); // copy constructor    
-       AliT0PreprocessorOffline& operator=(const AliT0PreprocessorOffline&); //operator
+  AliT0PreprocessorOffline(const AliT0PreprocessorOffline & proc); // copy constructor 
+  AliT0PreprocessorOffline& operator=(const AliT0PreprocessorOffline&); //operator
+  Int_t startRun;                         // start Run - used to make fast selection in THnSparse
+  Int_t endRun;                           // end   Run - used to make fast selection in THnSparse
+  Int_t startTime;                        // startTime - used to make fast selection in THnSparse
+  Int_t endTime;                          // endTime   - used to make fast selection in THnSparse
+  AliCDBStorage*  ocdbStorage;            // OCDB storage
+  Int_t fNewDArun;                         // run number with new DA
+  Int_t fStatusDelay;                     //status time delay calibration  
+  Int_t fStatusAdjust;                   // status time adjust calibration
  
-       ClassDef(AliT0PreprocessorOffline, 1)
+  ClassDef(AliT0PreprocessorOffline, 3)
 };