Removing osolete variable. Adding title to trigger configuration obj also
[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 //    Modified: Ernesto.Lopez.Torres@cern.ch  CEADEN-CERN
12 //-------------------------------------------------------------------------
13
14
15
16 //////////////////////////////////////////////////////////////////////////
17 //                                                                      //
18 //                        AliGRPPreprocessor                            //
19 //                                                                      //
20 //           Implementation of the GRP preprocessor                     //
21 //                                                                      //
22 //////////////////////////////////////////////////////////////////////////
23
24 #include "AliPreprocessor.h"
25
26 class TList;
27 class TString;
28 class AliDCSSensorArray;
29
30 class AliGRPPreprocessor: public AliPreprocessor {
31  public:
32                       AliGRPPreprocessor(AliShuttleInterface* shuttle);
33   virtual            ~AliGRPPreprocessor();
34   
35   static      Int_t   ReceivePromptRecoParameters(
36                                   UInt_t run,
37                                   const char* dbHost,
38                                   Int_t dbPort,
39                                   const char* dbName,
40                                   const char* user,
41                                   const char* password,
42                                   const char *cdbRoot
43                                  );
44
45  protected:
46
47   virtual      void   Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
48   
49   virtual     UInt_t   Process(TMap* valueSet);
50
51                 TMap*  ProcessDaqLB();
52               UInt_t   ProcessDaqFxs();
53               UInt_t   ProcessDcsFxs();
54                Int_t   ProcessDcsDPs(TMap* valueSet, TMap* grpmap);
55    AliDCSSensorArray*  GetPressureMap(TMap *dcsAliasMap);
56   
57  private:
58  
59   static const Int_t   fgknDAQLbPar;            //! number of DAQ lb parameters
60   static const Int_t   fgknDCSDP;               //! number of dcs dps
61   static const char*   fgkDCSDataPoints[];      //! names of dcs dps
62   static const char*   fgkLHCState[];           //! names of LHC States
63
64   AliDCSSensorArray*   fPressure; //pressure array
65
66                        AliGRPPreprocessor(const AliGRPPreprocessor&); // Not implemented
67                        AliGRPPreprocessor& operator=(const AliGRPPreprocessor&); // Not implemented
68
69   ClassDef(AliGRPPreprocessor, 0);
70 };
71
72 #endif