Include pressure sensors. Read Config entry from OCDB (Haavard)
[u/mrichter/AliRoot.git] / TPC / AliTPCPreprocessor.h
CommitLineData
54472e4f 1#ifndef ALI_TPC_PREPROCESSOR_H
2#define ALI_TPC_PREPROCESSOR_H
3
72df5829 4#include "AliPreprocessor.h"
5
54472e4f 6
7// test preprocessor that writes data to AliTestDataDCS
8
9class AliTestDataDCS;
72df5829 10class AliTPCSensorTempArray;
18eade96 11class AliDCSSensorArray;
54472e4f 12
13class AliTPCPreprocessor : public AliPreprocessor
14{
15 public:
6d07bf74 16 AliTPCPreprocessor(AliShuttleInterface* shuttle);
72df5829 17// AliTPCPreprocessor(const AliTPCPreprocessor &org);
54472e4f 18 virtual ~AliTPCPreprocessor();
19
20 protected:
21 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
22 virtual UInt_t Process(TMap* dcsAliasMap);
72df5829 23 UInt_t MapTemperature(TMap* dcsAliasMap);
18eade96 24 UInt_t MapPressure(TMap* dcsAliasMap);
72df5829 25 AliTPCPreprocessor& operator = (const AliTPCPreprocessor& rhs);
54472e4f 26
27 private:
18eade96 28 AliTPCSensorTempArray *fTemp; // CDB class for temperature sensors
29 AliDCSSensorArray *fPressure; // CDB class for pressure sensors
30 Bool_t fConfigOK; // Identify succesful reading of OCDB Config
54472e4f 31
18eade96 32 ClassDef(AliTPCPreprocessor, 2)
54472e4f 33};
34
35#endif