]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliGRPPreprocessor.h
Adding CTP run configuration and scalers into the GRP preprocessing. They are abtaine...
[u/mrichter/AliRoot.git] / STEER / AliGRPPreprocessor.h
1 #ifndef ALIGRPPREPROCESSOR_H
2 #define ALIGRPPREPROCESSOR_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 //-------------------------------------------------------------------------
7 //                          Class AliGRPPreprocessor
8 //                  Global Run Parameters (GRP) preprocessor
9 //
10 //    Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
11 //-------------------------------------------------------------------------
12
13
14
15 //////////////////////////////////////////////////////////////////////////
16 //                                                                      //
17 //                        AliGRPPreprocessor                            //
18 //                                                                      //
19 //           Implementation of the GRP preprocessor                     //
20 //                                                                      //
21 //////////////////////////////////////////////////////////////////////////
22
23 #include "AliPreprocessor.h"
24
25 class TList;
26 class TString;
27 class AliDCSSensorArray;
28
29 class AliGRPPreprocessor: public AliPreprocessor {
30  public:
31   AliGRPPreprocessor();
32   AliGRPPreprocessor(AliShuttleInterface* shuttle);
33   virtual ~AliGRPPreprocessor();
34   
35  protected:
36
37   virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
38   
39   virtual UInt_t Process(TMap* valueSet);
40
41   TList *ProcessDaqLB();
42   UInt_t ProcessDaqFxs();
43   UInt_t ProcessDcsFxs();
44   TList *ProcessDcsDPs(TMap* valueSet, UInt_t iStartTime, UInt_t iStopTime);
45   AliDCSSensorArray *GetPressureMap(TMap *dcsAliasMap, AliDCSSensorArray *fPressure);
46
47  private:
48   TList *GetGlobalList(TList *l1, TList *l2); //global cdb output list
49
50   static const char* fgkDCSDataPoints[12]; //! names of dcs dps
51   AliDCSSensorArray *fPressure; //pressure array
52
53   ClassDef(AliGRPPreprocessor, 0);
54 };
55
56 #endif