Updates to include status maps for high voltage sensors
[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;
a7dce0bc 12class AliTPCROC;
7b54c8e9 13class TEnv;
54472e4f 14
15class AliTPCPreprocessor : public AliPreprocessor
16{
17 public:
6d07bf74 18 AliTPCPreprocessor(AliShuttleInterface* shuttle);
9d2ce539 19 AliTPCPreprocessor(const AliTPCPreprocessor &org);
54472e4f 20 virtual ~AliTPCPreprocessor();
21
22 protected:
23 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
24 virtual UInt_t Process(TMap* dcsAliasMap);
72df5829 25 UInt_t MapTemperature(TMap* dcsAliasMap);
bdffc5fb 26 UInt_t MapHighVoltage(TMap* dcsAliasMap);
7b54c8e9 27 UInt_t ExtractPedestals(Int_t sourceFXS);
9f016d99 28 UInt_t ExtractPulser(Int_t sourceFXS);
29 UInt_t ExtractCE(Int_t sourceFXS);
72df5829 30 AliTPCPreprocessor& operator = (const AliTPCPreprocessor& rhs);
54472e4f 31
32 private:
7b54c8e9 33 TEnv *fConfEnv; // Preprocessor configuration map
18eade96 34 AliTPCSensorTempArray *fTemp; // CDB class for temperature sensors
bdffc5fb 35 AliDCSSensorArray *fHighVoltage; // DCS high voltage measurements
9d2ce539 36 AliDCSSensorArray *fHighVoltageStat; // DCS high voltage status
18eade96 37 Bool_t fConfigOK; // Identify succesful reading of OCDB Config
a7dce0bc 38 AliTPCROC *fROC; // TPC Read-Out configuration
54472e4f 39
18eade96 40 ClassDef(AliTPCPreprocessor, 2)
54472e4f 41};
42
43#endif