]> git.uio.no Git - u/mrichter/AliRoot.git/blob - T0/AliT0PreprocessorCosmic.h
add docs on settable ocdbStorage + modify T0 script to allow setting of local ocdb
[u/mrichter/AliRoot.git] / T0 / AliT0PreprocessorCosmic.h
1 #ifndef ALI_T0_PREPROCESSOR_COSMIC_H
2 #define ALI_T0_PREPROCESSOR_COSMIC_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: AliT0PreprocessorCosmic.h 24021 2008-02-19 18:53:25Z alla $ */
8
9
10 // T0 preprocessor. 
11 // Takes data from DCS and passes it to the class AliTOFDataDCS for processing and writes the result to the Reference DB.
12 // Takes data form DAQ (both from Laser Calibration and Physics runs), processes it, and stores either to OCDB or to Reference DB.
13
14 #include "AliPreprocessor.h"
15
16 class AliT0DataDCS;
17
18 class AliT0PreprocessorCosmic: public AliPreprocessor 
19 {
20   public:
21         AliT0PreprocessorCosmic(): AliPreprocessor("T00",0),  
22           fData(0)
23  { }
24         AliT0PreprocessorCosmic(AliShuttleInterface* shuttle);
25         virtual ~AliT0PreprocessorCosmic();
26   
27   protected:
28         virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
29         virtual UInt_t Process(TMap* dcsAliasMap);
30         virtual Bool_t ProcessDCS();
31
32   private:
33         AliT0PreprocessorCosmic(const AliT0PreprocessorCosmic & proc); // copy constructor      
34         AliT0PreprocessorCosmic& operator=(const AliT0PreprocessorCosmic&); //operator
35         UInt_t ProcessDCSDataPoints(TMap* dcsAliasMap);
36         UInt_t ProcessLaser();
37         UInt_t ProcessPhysics();
38         AliT0DataDCS *fData;                    // Data member to process DCS data      
39  
40         ClassDef(AliT0PreprocessorCosmic, 1)
41 };
42
43 #endif