]>
Commit | Line | Data |
---|---|---|
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 | ||
15 | class AliTOFDataDCS; | |
16 | class TObjArray; | |
17 | class AliTOFCalOnline; | |
18 | class AliTOFGeometryV5; | |
19 | class AliTOFGeometry; | |
20 | class TH2S; | |
21 | ||
22 | class AliTOFPreprocessor : public AliPreprocessor | |
23 | { | |
24 | public: | |
25 | AliTOFPreprocessor(AliShuttleInterface* shuttle); | |
26 | virtual ~AliTOFPreprocessor(); | |
27 | void SetStoreRefData(Bool_t in){fStoreRefData=in;}; | |
28 | Bool_t GetStoreRefData() const {return fStoreRefData;}; | |
29 | ||
30 | protected: | |
31 | virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); | |
32 | virtual UInt_t Process(TMap* dcsAliasMap); | |
33 | ||
34 | private: | |
35 | AliTOFPreprocessor(const AliTOFPreprocessor & proc); // copy constructor | |
36 | AliTOFPreprocessor& operator=(const AliTOFPreprocessor & proc); | |
37 | ||
38 | static const Int_t fgkBinRangeAve; // number of bins where to | |
39 | // calculate the mean | |
40 | static const Double_t fgkThrPar; // parameter used to trigger the | |
41 | //calculation of the delay | |
42 | AliTOFDataDCS *fData; // CDB class that stores the data | |
43 | TH2S *fh2; // TH2S from DAQ for histograms for delays | |
44 | AliTOFCalOnline *fCal; // TOF Calibration object | |
45 | AliTOFGeometry *fTOFGeometry; // TOF Geometry version | |
46 | Bool_t fStoreRefData; // Flag to decide storage of Ref Data | |
47 | ClassDef(AliTOFPreprocessor, 1); | |
48 | }; | |
49 | #endif |