]> git.uio.no Git - u/mrichter/AliRoot.git/blame - T0/AliT0Preprocessor.h
T0calib lib added
[u/mrichter/AliRoot.git] / T0 / AliT0Preprocessor.h
CommitLineData
dc7ca31d 1#ifndef ALI_T0_PREPROCESSOR_H
9eba1240 2#define ALI_T0_PREPROCESSOR_H
dc7ca31d 3
bc943889 4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
271b5bd3 6
bc943889 7/* $Id$ */
8
50e28e1c 9
10// T0 preprocessor.
d95247c3 11// Takes data from DCS and passes it to the class AliT0DataDCS for processing and writes the result to the Reference DB.
50e28e1c 12// Takes data form DAQ (both from Laser Calibration and Physics runs), processes it, and stores either to OCDB or to Reference DB.
13
387638f7 14#include "AliPreprocessor.h"
15
bc943889 16class AliT0DataDCS;
17
dc7ca31d 18class AliT0Preprocessor: public AliPreprocessor
19{
20 public:
387638f7 21 AliT0Preprocessor(): AliPreprocessor("T00",0),
22 fData(0)
23 { }
5221c818 24 AliT0Preprocessor(AliShuttleInterface* shuttle);
dc7ca31d 25 virtual ~AliT0Preprocessor();
26
27 protected:
bc943889 28 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
dc7ca31d 29 virtual UInt_t Process(TMap* dcsAliasMap);
49ab1618 30 virtual Bool_t ProcessDCS();
dc7ca31d 31
32 private:
50e28e1c 33 AliT0Preprocessor(const AliT0Preprocessor & proc); // copy constructor
387638f7 34 AliT0Preprocessor& operator=(const AliT0Preprocessor&); //operator
49ab1618 35 UInt_t ProcessDCSDataPoints(TMap* dcsAliasMap);
02888358 36 UInt_t ProcessLaser();
49ab1618 37 UInt_t ProcessPhysics();
387638f7 38 AliT0DataDCS *fData; // Data member to process DCS data
39
40 ClassDef(AliT0Preprocessor, 2)
dc7ca31d 41};
42
43typedef AliT0Preprocessor AliSTARTPreprocessor; // for backward compatibility
44
45#endif