#ifndef ALI_TOF_PREPROCESSOR_H #define ALI_TOF_PREPROCESSOR_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ #include "AliPreprocessor.h" // TOF preprocessor. It takes care of both // DCS Data Points // and DAQ histograms to compute online calibration constants class AliTOFDataDCS; class TObjArray; class AliTOFCalOnline; class AliTOFGeometryV5; class AliTOFGeometry; class AliTOFPreprocessor : public AliPreprocessor { public: AliTOFPreprocessor(const char* detector, AliShuttleInterface* shuttle); virtual ~AliTOFPreprocessor(); protected: virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); virtual UInt_t Process(TMap* dcsAliasMap); private: AliTOFPreprocessor(const AliTOFPreprocessor & proc); // copy constructor AliTOFPreprocessor& operator=(const AliTOFPreprocessor & proc); static const Int_t fgkBinRangeAve; // number of bins where to // calculate the mean AliTOFDataDCS *fData; // CDB class that stores the data TObjArray *fArray; // Array of DAQ histograms for delays AliTOFCalOnline *fCal; // TOF Calibration object AliTOFGeometry *fTOFGeometry; // TOF Geometry version ClassDef(AliTOFPreprocessor, 0); }; #endif