1 #ifndef ALI_ZDC_PREPROCESSOR_H
2 #define ALI_ZDC_PREPROCESSOR_H
4 #include "AliPreprocessor.h"
6 ///////////////////////////////////////////////////////////////////////////////
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 //
14 ///////////////////////////////////////////////////////////////////////////////
18 class AliZDCPreprocessor : public AliPreprocessor
21 AliZDCPreprocessor(AliShuttleInterface* shuttle);
22 virtual ~AliZDCPreprocessor();
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&);
32 UInt_t ProcessDCSData(TMap* dcsAliasMap);
33 UInt_t ProcessChMap();
34 UInt_t ProcessppData();
35 UInt_t ProcessCalibData();
36 UInt_t ProcessPedestalData();
37 UInt_t ProcessLaserData();
39 AliZDCDataDCS *fData; // OCDB class that stores DCS data
41 ClassDef(AliZDCPreprocessor, 0);