]>
Commit | Line | Data |
---|---|---|
e5c60cc7 | 1 | #ifndef ALI_TRD_PREPROCESSOR_H |
2 | #define ALI_TRD_PREPROCESSOR_H | |
3 | ||
ec55623f | 4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
e5c60cc7 | 8 | |
ec55623f | 9 | //////////////////////////////////////////////////////////////////////////// |
10 | // // | |
11 | // TRD preprocessor for the database SHUTTLE // | |
12 | // // | |
13 | //////////////////////////////////////////////////////////////////////////// | |
14 | ||
15 | #include "AliPreprocessor.h" | |
e5c60cc7 | 16 | |
6ace5fe2 | 17 | class TMap; |
5029ad25 | 18 | class AliTRDCalROC; |
19 | class AliTRDCalSingleChamberStatus; | |
6ace5fe2 | 20 | |
e5c60cc7 | 21 | class AliTRDPreprocessor : public AliPreprocessor |
22 | { | |
23 | ||
c8ab4518 | 24 | public: |
e5c60cc7 | 25 | |
c8ab4518 | 26 | AliTRDPreprocessor(AliShuttleInterface *shuttle); |
27 | virtual ~AliTRDPreprocessor(); | |
e5c60cc7 | 28 | |
8dd14606 | 29 | protected: |
e5c60cc7 | 30 | |
c8ab4518 | 31 | virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); |
32 | virtual UInt_t Process(TMap *dcsAliasMap); | |
a5e1169e | 33 | |
8dd14606 | 34 | |
c8ab4518 | 35 | Bool_t ExtractPedestals(); |
36 | Bool_t ExtractDriftVelocityDAQ(); | |
37 | Bool_t ExtractHLT(); | |
38 | Bool_t ProcessDCS(); | |
39 | Bool_t ProcessDCS(TMap *dcsAliasMap); | |
6ace5fe2 | 40 | |
c8ab4518 | 41 | private: |
6ace5fe2 | 42 | |
197b835e | 43 | Bool_t fVdriftHLT; // HLT Vdrift |
44 | UInt_t ProcessDCSConfigData(); // process DCS configuration | |
6e5d4cb2 | 45 | |
5029ad25 | 46 | |
c893147d | 47 | Bool_t AreThereDataPedestal(AliTRDCalSingleChamberStatus * const calROCStatus, Bool_t second); |
5029ad25 | 48 | void SetDefaultStatus(AliTRDCalSingleChamberStatus &calROCStatus, Bool_t second); |
49 | void SetStatus(AliTRDCalSingleChamberStatus &calROCStatus, AliTRDCalSingleChamberStatus *calROCStatusPrevious,Bool_t second); | |
50 | void SetDefaultNoise(AliTRDCalROC &calROCNoise, Bool_t second); | |
51 | void SetNoise(AliTRDCalROC &calROCNoise, AliTRDCalROC *calROCNoisePrevious, Bool_t second); | |
52 | ||
53 | ClassDef(AliTRDPreprocessor,1) // The SHUTTLE preprocessor for TRD | |
e5c60cc7 | 54 | |
55 | }; | |
e5c60cc7 | 56 | #endif |