]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFPreprocessor.h
Very preliminary version of TOF-T0 online calibration algorithm. TO be used as an...
[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;
708db10b 20class TH2S;
c9fe8530 21
22class AliTOFPreprocessor : public AliPreprocessor
23{
24 public:
708db10b 25 AliTOFPreprocessor(AliShuttleInterface* shuttle);
c9fe8530 26 virtual ~AliTOFPreprocessor();
27
28 protected:
29 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
30 virtual UInt_t Process(TMap* dcsAliasMap);
31
32 private:
33 AliTOFPreprocessor(const AliTOFPreprocessor & proc); // copy constructor
34 AliTOFPreprocessor& operator=(const AliTOFPreprocessor & proc);
35
36 static const Int_t fgkBinRangeAve; // number of bins where to
8d551d44 37 // calculate the mean
9d883ed9 38 static const Double_t fgkThrPar; // parameter used to trigger the
8d551d44 39 //calculation of the delay
c9fe8530 40 AliTOFDataDCS *fData; // CDB class that stores the data
708db10b 41 TH2S *fh2; // TH2S from DAQ for histograms for delays
c9fe8530 42 AliTOFCalOnline *fCal; // TOF Calibration object
43 AliTOFGeometry *fTOFGeometry; // TOF Geometry version
44
45 ClassDef(AliTOFPreprocessor, 0);
46};
47
48#endif