]>
Commit | Line | Data |
---|---|---|
3dedb44a | 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 | |
e7a6790f | 11 | // Modified: Ernesto.Lopez.Torres@cern.ch CEADEN-CERN |
3dedb44a | 12 | //------------------------------------------------------------------------- |
13 | ||
14 | ||
15 | ||
16 | ////////////////////////////////////////////////////////////////////////// | |
17 | // // | |
18 | // AliGRPPreprocessor // | |
19 | // // | |
20 | // Implementation of the GRP preprocessor // | |
21 | // // | |
22 | ////////////////////////////////////////////////////////////////////////// | |
23 | ||
24 | #include "AliPreprocessor.h" | |
25 | ||
17984b61 | 26 | class TList; |
27 | class TString; | |
28 | class AliDCSSensorArray; | |
29 | ||
3dedb44a | 30 | class AliGRPPreprocessor: public AliPreprocessor { |
31 | public: | |
e7a6790f | 32 | AliGRPPreprocessor(AliShuttleInterface* shuttle); |
33 | virtual ~AliGRPPreprocessor(); | |
3dedb44a | 34 | |
e7a6790f | 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 | ); | |
1e27bb6b | 44 | |
3dedb44a | 45 | protected: |
46 | ||
e7a6790f | 47 | virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); |
3dedb44a | 48 | |
e7a6790f | 49 | virtual UInt_t Process(TMap* valueSet); |
17984b61 | 50 | |
e7a6790f | 51 | TMap* ProcessDaqLB(); |
52 | UInt_t ProcessDaqFxs(); | |
53 | UInt_t ProcessDcsFxs(); | |
54 | Int_t ProcessDcsDPs(TMap* valueSet, TMap* grpmap); | |
3ba92a38 | 55 | AliDCSSensorArray* GetPressureMap(TMap *dcsAliasMap); |
1e27bb6b | 56 | |
17984b61 | 57 | private: |
e7a6790f | 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 | |
982f17c2 | 63 | |
e7a6790f | 64 | AliDCSSensorArray* fPressure; //pressure array |
17984b61 | 65 | |
e7a6790f | 66 | AliGRPPreprocessor(const AliGRPPreprocessor&); // Not implemented |
67 | AliGRPPreprocessor& operator=(const AliGRPPreprocessor&); // Not implemented | |
2972d4eb | 68 | |
08a446c2 | 69 | ClassDef(AliGRPPreprocessor, 0); |
3dedb44a | 70 | }; |
71 | ||
72 | #endif |