Coverity + warning
[u/mrichter/AliRoot.git] / ZDC / AliZDCPreprocessor.h
1 #ifndef ALI_ZDC_PREPROCESSOR_H
2 #define ALI_ZDC_PREPROCESSOR_H
3
4 #include "AliPreprocessor.h"
5
6 ///////////////////////////////////////////////////////////////////////////////
7 //                                                                           //
8 //                      Zero Degree Calorimeter                              //
9 // ZDC Preprocessor -> DCS data are passed to AliZDCDataDCS class to be      //
10 //      processed, DAQ output files are processed according to Run Type      //
11 //      1 alignment object with DCS data is written to OCDB                  //
12 //      1 calibration object with DAQ data is written to OCDB                //
13 //                                                                           //
14 ///////////////////////////////////////////////////////////////////////////////
15
16 class AliZDCDataDCS;
17
18 class AliZDCPreprocessor : public AliPreprocessor
19 {
20   public:
21     AliZDCPreprocessor(AliShuttleInterface* shuttle);
22     virtual ~AliZDCPreprocessor();
23
24   protected:
25     virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
26     virtual UInt_t Process(TMap* dcsAliasMap);
27     virtual Bool_t ProcessDCS();
28     AliZDCPreprocessor(const AliZDCPreprocessor&);
29     AliZDCPreprocessor& operator=(const AliZDCPreprocessor&);
30
31   private:
32     UInt_t ProcessDCSData(TMap* dcsAliasMap);
33     UInt_t ProcessChMap();
34     UInt_t ProcessppData();
35     UInt_t ProcessCalibData(Float_t beamEnergy);
36     UInt_t ProcessPedestalData();
37     UInt_t ProcessLaserData();
38     UInt_t ProcessMBCalibData();
39
40     AliZDCDataDCS *fData;    // OCDB class that stores DCS data
41
42     ClassDef(AliZDCPreprocessor, 0);
43 };
44
45     
46
47 #endif