]> git.uio.no Git - u/mrichter/AliRoot.git/blob - T0/AliT0PreprocessorOffline.h
Upadte from Taku
[u/mrichter/AliRoot.git] / T0 / AliT0PreprocessorOffline.h
1 #ifndef ALI_T0_PREPROCESSOROFFLINE_H
2 #define ALI_T0_PREPRECESSOROFFLINE_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6  
7 /* $Id: AliT0Preprocessor.h 39249 2010-02-28 19:09:52Z alla $ */
8
9
10 // T0 preprocessor. 
11 #include "TNamed.h"
12
13 class AliT0PreprocessorOffline: public TNamed 
14 {
15   public:
16   AliT0PreprocessorOffline();  
17   virtual ~AliT0PreprocessorOffline();
18   void  CalibOffsetChannels(TString FileName, Int_t ustartRun, Int_t uendRun, TString ocdbStorage);
19   void  CalibT0sPosition(TString FileName, Int_t ustartRun, Int_t uendRun, TString ocdbStorage);
20   void  Process(TString FileName, Int_t ustartRun, Int_t uendRun, TString ocdbStorage);
21   void setDArun(Int_t runnumber) {fNewDArun = runnumber; };
22   Int_t GetStatus() const;
23   private:
24   AliT0PreprocessorOffline(const AliT0PreprocessorOffline & proc); // copy constructor  
25   AliT0PreprocessorOffline& operator=(const AliT0PreprocessorOffline&); //operator
26   Int_t startRun;                         // start Run - used to make fast selection in THnSparse
27   Int_t endRun;                           // end   Run - used to make fast selection in THnSparse
28   Int_t startTime;                        // startTime - used to make fast selection in THnSparse
29   Int_t endTime;                          // endTime   - used to make fast selection in THnSparse
30   TString  ocdbStorage;                   // path to the OCDB storage
31   Int_t fNewDArun;                         // run number with new DA
32   Int_t fStatusDelay;                     //status time delay calibration  
33   Int_t fStatusAdjust;                   // status time adjust calibration
34  
35   ClassDef(AliT0PreprocessorOffline, 3)
36 };
37
38
39 #endif