1 #ifndef ALI_TOF_PREPROCESSOR_H
2 #define ALI_TOF_PREPROCESSOR_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 #include "AliPreprocessor.h"
11 // TOF preprocessor. It takes care of both
13 // and DAQ histograms to compute online calibration constants
17 class AliTOFCalOnline;
18 class AliTOFGeometryV5;
22 class AliTOFPreprocessor : public AliPreprocessor
25 AliTOFPreprocessor(AliShuttleInterface* shuttle);
26 virtual ~AliTOFPreprocessor();
29 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
30 virtual UInt_t Process(TMap* dcsAliasMap);
33 AliTOFPreprocessor(const AliTOFPreprocessor & proc); // copy constructor
34 AliTOFPreprocessor& operator=(const AliTOFPreprocessor & proc);
36 static const Int_t fgkBinRangeAve; // number of bins where to
38 static const Int_t fgkThrPar; // parameter used to trigger the
39 //calculation of the delay
40 AliTOFDataDCS *fData; // CDB class that stores the data
41 TH2S *fh2; // TH2S from DAQ for histograms for delays
42 AliTOFCalOnline *fCal; // TOF Calibration object
43 AliTOFGeometry *fTOFGeometry; // TOF Geometry version
45 ClassDef(AliTOFPreprocessor, 0);