Line data Source code
1 : #ifndef ALI_TPC_PREPROCESSOR_H
2 : #define ALI_TPC_PREPROCESSOR_H
3 :
4 : #include "AliPreprocessor.h"
5 :
6 :
7 : /// \class AliTPCPreprocessor
8 : /// \brief test preprocessor that writes data to AliTestDataDCS
9 :
10 : class AliTestDataDCS;
11 : class AliTPCSensorTempArray;
12 : class AliDCSSensorArray;
13 : class AliTPCROC;
14 : class AliTPCCalibRaw;
15 : class TEnv;
16 :
17 : class AliTPCPreprocessor : public AliPreprocessor
18 : {
19 : public:
20 : AliTPCPreprocessor(AliShuttleInterface* shuttle);
21 : AliTPCPreprocessor(const AliTPCPreprocessor &org);
22 : virtual ~AliTPCPreprocessor();
23 :
24 0 : void SetForceSingleRunValidity(Bool_t force=kTRUE) { fForceSingleRun = force; }
25 0 : Bool_t GetForceSingleRunValidity() const { return fForceSingleRun; }
26 :
27 : protected:
28 : virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
29 : virtual UInt_t Process(TMap* dcsAliasMap);
30 : UInt_t MapTemperature(TMap* dcsAliasMap);
31 : UInt_t MapHighVoltage(TMap* dcsAliasMap);
32 : UInt_t MapGasComposition(TMap* dcsAliasMap);
33 : UInt_t MapGoofie(TMap* dcsAliasMap);
34 : UInt_t MapPressure(TMap* dcsAliasMap);
35 : UInt_t ExtractPedestals(Int_t sourceFXS);
36 : UInt_t ExtractPulser(Int_t sourceFXS);
37 : UInt_t ExtractCE(Int_t sourceFXS);
38 : UInt_t ExtractQA(Int_t sourceFXS);
39 : UInt_t ExtractAltro(Int_t sourceFXS, TMap* dcsAliasMap);
40 : UInt_t ExtractRaw(Int_t sourceFXS);
41 : AliTPCPreprocessor& operator = (const AliTPCPreprocessor& rhs);
42 :
43 : private:
44 : TEnv *fConfEnv; ///< Preprocessor configuration map
45 : AliTPCSensorTempArray *fTemp; ///< CDB class for temperature sensors
46 : AliDCSSensorArray *fHighVoltage; ///< DCS high voltage measurements
47 : AliDCSSensorArray *fHighVoltageStat; ///< DCS high voltage status
48 : AliDCSSensorArray *fGoofie; ///< Goofie values from DCS
49 : AliDCSSensorArray *fPressure; ///< Pressure values from DCS
50 : AliDCSSensorArray *fGasComposition; ///< Gas composition values from DCS
51 : Bool_t fConfigOK; ///< Identify succesful reading of OCDB Config
52 : AliTPCROC *fROC; ///< TPC Read-Out configuration
53 : Bool_t fForceSingleRun; ///< Force single run validity for all object, required for manual reprocessing
54 :
55 : /// \cond CLASSIMP
56 24 : ClassDef(AliTPCPreprocessor, 4)
57 : /// \endcond
58 : };
59 :
60 : #endif
|