]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0PreprocessorOffline.h
Iontail object for OCDB
[u/mrichter/AliRoot.git] / T0 / AliT0PreprocessorOffline.h
index 2fa3f82883c35931a94870bdd3c6980f203529c7..f3285327a93a718c59775b89302cb024e47aec0d 100644 (file)
@@ -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)
 };