]>
Commit | Line | Data |
---|---|---|
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(AliShuttleInterface* shuttle); | |
32 | virtual ~AliGRPPreprocessor(); | |
33 | ||
34 | static Int_t ReceivePromptRecoParameters(UInt_t run, const char* dbHost, Int_t dbPort, const char* dbName, const char* user, const char* password, const char *cdbRoot); | |
35 | ||
36 | protected: | |
37 | ||
38 | virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); | |
39 | ||
40 | virtual UInt_t Process(TMap* valueSet); | |
41 | ||
42 | TList *ProcessDaqLB(); | |
43 | UInt_t ProcessDaqFxs(); | |
44 | UInt_t ProcessDcsFxs(); | |
45 | TList *ProcessDcsDPs(TMap* valueSet); | |
46 | AliDCSSensorArray *GetPressureMap(TMap *dcsAliasMap, AliDCSSensorArray *fPressure); | |
47 | ||
48 | private: | |
49 | static const char* fgkDCSDataPoints[12]; //! names of dcs dps | |
50 | AliDCSSensorArray *fPressure; //pressure array | |
51 | ||
52 | AliGRPPreprocessor(const AliGRPPreprocessor&); // Not implemented | |
53 | AliGRPPreprocessor& operator=(const AliGRPPreprocessor&); // Not implemented | |
54 | ||
55 | ClassDef(AliGRPPreprocessor, 0); | |
56 | }; | |
57 | ||
58 | #endif |