]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFPreprocessorFDR.h
TOF Preprocessor for FDR
[u/mrichter/AliRoot.git] / TOF / AliTOFPreprocessorFDR.h
1 #ifndef ALITOFPREPROCESSORFDR_H
2 #define ALITOFPREPROCESSORFDR_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* 
8 $Id$
9 */
10
11 #include "AliPreprocessor.h"
12
13 // TOF preprocessor. It takes care of both  
14 // DCS Data Points
15 // and DAQ histograms to compute online calibration constants
16
17 class AliTOFDataDCS;
18 class TObjArray;
19 class TH2S;
20
21 class AliTOFPreprocessorFDR : public AliPreprocessor
22 {
23   public:
24     AliTOFPreprocessorFDR(AliShuttleInterface* shuttle);
25     virtual ~AliTOFPreprocessorFDR();
26     void   SetStoreRefData(Bool_t in){fStoreRefData=in;};
27     Bool_t GetStoreRefData() const {return fStoreRefData;};
28
29   protected:
30     virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
31     virtual UInt_t Process(TMap* dcsAliasMap);
32
33   private:
34     AliTOFPreprocessorFDR(const AliTOFPreprocessorFDR & proc); // copy constructor
35     AliTOFPreprocessorFDR& operator=(const AliTOFPreprocessorFDR & proc);
36     UInt_t ProcessDCSDataPoints(TMap* dcsAliasMap);
37
38     AliTOFDataDCS *fData;                // CDB class that stores the data
39     Bool_t fStoreRefData;                // Flag to decide storage of Ref Data
40     ClassDef(AliTOFPreprocessorFDR, 1);
41 };
42 #endif