]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TPC/AliTPCPreprocessor.h
New versions of the DA executables to comply with DAQ DA file naming conventions
[u/mrichter/AliRoot.git] / TPC / AliTPCPreprocessor.h
... / ...
CommitLineData
1#ifndef ALI_TPC_PREPROCESSOR_H
2#define ALI_TPC_PREPROCESSOR_H
3
4#include "AliPreprocessor.h"
5
6
7// test preprocessor that writes data to AliTestDataDCS
8
9class AliTestDataDCS;
10class AliTPCSensorTempArray;
11class AliDCSSensorArray;
12class AliTPCROC;
13class TEnv;
14
15class AliTPCPreprocessor : public AliPreprocessor
16{
17 public:
18 AliTPCPreprocessor(AliShuttleInterface* shuttle);
19 AliTPCPreprocessor(const AliTPCPreprocessor &org);
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);
25 UInt_t MapTemperature(TMap* dcsAliasMap);
26 UInt_t MapHighVoltage(TMap* dcsAliasMap);
27 UInt_t ExtractPedestals(Int_t sourceFXS);
28 UInt_t ExtractPulser(Int_t sourceFXS);
29 UInt_t ExtractCE(Int_t sourceFXS);
30 AliTPCPreprocessor& operator = (const AliTPCPreprocessor& rhs);
31
32 private:
33 TEnv *fConfEnv; // Preprocessor configuration map
34 AliTPCSensorTempArray *fTemp; // CDB class for temperature sensors
35 AliDCSSensorArray *fHighVoltage; // DCS high voltage measurements
36 AliDCSSensorArray *fHighVoltageStat; // DCS high voltage status
37 Bool_t fConfigOK; // Identify succesful reading of OCDB Config
38 AliTPCROC *fROC; // TPC Read-Out configuration
39
40 ClassDef(AliTPCPreprocessor, 2)
41};
42
43#endif