]> git.uio.no Git - u/mrichter/AliRoot.git/blob - T0/AliT0Preprocessor.h
fixed coverity warnings
[u/mrichter/AliRoot.git] / T0 / AliT0Preprocessor.h
1 #ifndef ALI_T0_PREPROCESSOR_H
2 #define ALI_T0_PREPRECESSOR_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$ */
8
9
10 // T0 preprocessor. 
11 // Takes data from DCS and passes it to the class AliT0DataDCS 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 AliT0Preprocessor: public AliPreprocessor 
19 {
20   public:
21         AliT0Preprocessor(): AliPreprocessor("T00",0),  
22           fData(0)
23  { }
24         AliT0Preprocessor(AliShuttleInterface* shuttle);
25         virtual ~AliT0Preprocessor();
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         AliT0Preprocessor(const AliT0Preprocessor & proc); // copy constructor  
34         AliT0Preprocessor& operator=(const AliT0Preprocessor&); //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(AliT0Preprocessor, 2)
41 };
42
43 typedef AliT0Preprocessor AliSTARTPreprocessor; // for backward compatibility
44
45 #endif