X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=T0%2FAliT0Preprocessor.h;h=2987fa6434fe80f737b92a3bb5b39b0a0a80c9e4;hb=63892dd0ed1e69ceed1c521936c098c24a8df8c4;hp=a74232e62bf52852970d09c988dcadd72939c16a;hpb=5221c8185acb53494d40fb01e141815fe79ddf82;p=u%2Fmrichter%2FAliRoot.git diff --git a/T0/AliT0Preprocessor.h b/T0/AliT0Preprocessor.h index a74232e62bf..2987fa6434f 100644 --- a/T0/AliT0Preprocessor.h +++ b/T0/AliT0Preprocessor.h @@ -1,27 +1,44 @@ #ifndef ALI_T0_PREPROCESSOR_H #define ALI_T0_PREPRECESSOR_H +/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * See cxx source for full Copyright notice */ + +/* $Id$ */ + + +// T0 preprocessor. +// Takes data from DCS and passes it to the class AliTOFDataDCS for processing and writes the result to the Reference DB. +// Takes data form DAQ (both from Laser Calibration and Physics runs), processes it, and stores either to OCDB or to Reference DB. + #include "AliPreprocessor.h" -// -//// Example of a Shuttle Preprocessor -//// -// +class AliT0DataDCS; + class AliT0Preprocessor: public AliPreprocessor { public: - AliT0Preprocessor(): AliPreprocessor("T00",0) { } + AliT0Preprocessor(): AliPreprocessor("T00",0), + fData(0) + { } AliT0Preprocessor(AliShuttleInterface* shuttle); virtual ~AliT0Preprocessor(); protected: -// virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); + virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); virtual UInt_t Process(TMap* dcsAliasMap); + virtual Bool_t ProcessDCS(); private: - //AliT0Calc *fData; - - ClassDef(AliT0Preprocessor, 1) + AliT0Preprocessor(const AliT0Preprocessor & proc); // copy constructor + AliT0Preprocessor& operator=(const AliT0Preprocessor&); //operator + UInt_t ProcessDCSDataPoints(TMap* dcsAliasMap); + UInt_t ProcessLaser(); + UInt_t ProcessPhysics(); + UInt_t ProcessCosmic(); + AliT0DataDCS *fData; // Data member to process DCS data + + ClassDef(AliT0Preprocessor, 2) }; typedef AliT0Preprocessor AliSTARTPreprocessor; // for backward compatibility