]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDPreprocessor.h
Split DAQ DA into two tasks
[u/mrichter/AliRoot.git] / TRD / AliTRDPreprocessor.h
1 #ifndef ALI_TRD_PREPROCESSOR_H
2 #define ALI_TRD_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 ////////////////////////////////////////////////////////////////////////////
10 //                                                                        //
11 // TRD preprocessor for the database SHUTTLE                              //
12 //                                                                        //
13 ////////////////////////////////////////////////////////////////////////////
14
15 #include "AliPreprocessor.h"
16
17 class TMap;
18
19 class AliTRDPreprocessor : public AliPreprocessor
20 {
21
22   public:
23
24     AliTRDPreprocessor(AliShuttleInterface *shuttle);
25     virtual ~AliTRDPreprocessor();
26
27     enum {
28       kEExtractDCS    =   1   // error in case of failure by extracting DCS variables
29       ,kEStore        =   2   // Store or StoreReferenceData
30       ,kEGetFileHLT   =   4   // GetFileSources and GetFile HLT
31       ,kEEmptyListHLT =   8   // Empty list HLT
32       ,kEGetFileDAQ   =  16   // GetFileSources and GetFile DAQ
33       ,kEEmptyListDAQ =  32   // Empty list DAQ
34     };
35
36   protected:
37
38     virtual void   Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
39     virtual UInt_t Process(TMap* dcsAliasMap);
40
41
42     void    ExtractPedestals();
43     void    ExtractDriftVelocityDAQ();
44     void    ExtractHLT();
45     void    ProcessDCS(TMap*dcsAliasMap);
46
47   private:
48     
49
50     UInt_t  fResult;                // result preprocessor
51     Bool_t  fVdriftHLT;             // HLT Vdrift
52     ClassDef(AliTRDPreprocessor,1) // The SHUTTLE preprocessor for TRD
53
54 };
55
56 #endif