]> git.uio.no Git - u/mrichter/AliRoot.git/blob - T0/AliT0PreprocessorOffline.h
Possiblilty update or not update OCDB Time Delay entry for runs taken with new DA...
[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   private:
23   AliT0PreprocessorOffline(const AliT0PreprocessorOffline & proc); // copy constructor  
24   AliT0PreprocessorOffline& operator=(const AliT0PreprocessorOffline&); //operator
25   Int_t startRun;                         // start Run - used to make fast selection in THnSparse
26   Int_t endRun;                           // end   Run - used to make fast selection in THnSparse
27   Int_t startTime;                        // startTime - used to make fast selection in THnSparse
28   Int_t endTime;                          // endTime   - used to make fast selection in THnSparse
29   TString  ocdbStorage;                   // path to the OCDB storage
30   Int_t fNewDArun;                         // run number with new DA
31  
32   ClassDef(AliT0PreprocessorOffline, 1)
33 };
34
35
36 #endif