prototype for the TOF Shuttle preprocessor (C.Zampolli)
[u/mrichter/AliRoot.git] / TOF / AliTOFPreprocessor.h
CommitLineData
c9fe8530 1#ifndef ALI_TOF_PREPROCESSOR_H
2#define ALI_TOF_PREPROCESSOR_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9#include "AliPreprocessor.h"
10
11// TOF preprocessor. It takes care of both
12// DCS Data Points
13// and DAQ histograms to compute online calibration constants
14
15class AliTOFDataDCS;
16class TObjArray;
17class AliTOFCalOnline;
18class AliTOFGeometryV5;
19class AliTOFGeometry;
20
21class AliTOFPreprocessor : public AliPreprocessor
22{
23 public:
24 AliTOFPreprocessor(const char* detector, AliShuttleInterface* shuttle);
25 virtual ~AliTOFPreprocessor();
26
27 protected:
28 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
29 virtual UInt_t Process(TMap* dcsAliasMap);
30
31 private:
32 AliTOFPreprocessor(const AliTOFPreprocessor & proc); // copy constructor
33 AliTOFPreprocessor& operator=(const AliTOFPreprocessor & proc);
34
35 static const Int_t fgkBinRangeAve; // number of bins where to
36 // calculate the mean
37 AliTOFDataDCS *fData; // CDB class that stores the data
38 TObjArray *fArray; // Array of DAQ histograms for delays
39 AliTOFCalOnline *fCal; // TOF Calibration object
40 AliTOFGeometry *fTOFGeometry; // TOF Geometry version
41
42 ClassDef(AliTOFPreprocessor, 0);
43};
44
45#endif