Constant extrapolation for gain calibration
[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;
70f224dd 13class AliTPCCalibRaw;
7b54c8e9 14class TEnv;
54472e4f 15
16class AliTPCPreprocessor : public AliPreprocessor
17{
18 public:
6d07bf74 19 AliTPCPreprocessor(AliShuttleInterface* shuttle);
9d2ce539 20 AliTPCPreprocessor(const AliTPCPreprocessor &org);
54472e4f 21 virtual ~AliTPCPreprocessor();
22
23 protected:
24 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
25 virtual UInt_t Process(TMap* dcsAliasMap);
72df5829 26 UInt_t MapTemperature(TMap* dcsAliasMap);
bdffc5fb 27 UInt_t MapHighVoltage(TMap* dcsAliasMap);
b6e9fd45 28 UInt_t MapGoofie(TMap* dcsAliasMap);
09a746c5 29 UInt_t MapPressure(TMap* dcsAliasMap);
7b54c8e9 30 UInt_t ExtractPedestals(Int_t sourceFXS);
9f016d99 31 UInt_t ExtractPulser(Int_t sourceFXS);
32 UInt_t ExtractCE(Int_t sourceFXS);
dca91b3f 33 UInt_t ExtractQA(Int_t sourceFXS);
f6b5fa33 34 UInt_t ExtractAltro(Int_t sourceFXS, TMap* dcsAliasMap);
70f224dd 35 UInt_t ExtractRaw(Int_t sourceFXS);
72df5829 36 AliTPCPreprocessor& operator = (const AliTPCPreprocessor& rhs);
54472e4f 37
38 private:
7b54c8e9 39 TEnv *fConfEnv; // Preprocessor configuration map
18eade96 40 AliTPCSensorTempArray *fTemp; // CDB class for temperature sensors
bdffc5fb 41 AliDCSSensorArray *fHighVoltage; // DCS high voltage measurements
9d2ce539 42 AliDCSSensorArray *fHighVoltageStat; // DCS high voltage status
b6e9fd45 43 AliDCSSensorArray *fGoofie; // Goofie values from DCS
09a746c5 44 AliDCSSensorArray *fPressure; // Pressure values from DCS
18eade96 45 Bool_t fConfigOK; // Identify succesful reading of OCDB Config
a7dce0bc 46 AliTPCROC *fROC; // TPC Read-Out configuration
54472e4f 47
09a746c5 48 ClassDef(AliTPCPreprocessor, 4)
54472e4f 49};
50
51#endif