1 #ifndef ALI_TRD_PREPROCESSOR_H
2 #define ALI_TRD_PREPROCESSOR_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 ////////////////////////////////////////////////////////////////////////////
11 // TRD preprocessor for the database SHUTTLE //
13 ////////////////////////////////////////////////////////////////////////////
15 #include "AliPreprocessor.h"
20 class AliTRDCalSingleChamberStatus;
22 class AliTRDPreprocessor : public AliPreprocessor
27 AliTRDPreprocessor(AliShuttleInterface *shuttle);
28 AliTRDPreprocessor(const AliTRDPreprocessor &org);
29 virtual ~AliTRDPreprocessor();
34 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
35 virtual UInt_t Process(TMap *dcsAliasMap);
37 Bool_t ExtractHalfChamberStatusDAQ();
38 Bool_t ExtractPedestals();
39 Bool_t ExtractDriftVelocityDAQ();
42 Bool_t ProcessDCS(TMap *dcsAliasMap);
43 AliTRDPreprocessor& operator = (const AliTRDPreprocessor& rhs);
47 AliTRDCalDCSv2* fCalDCSObjSOR; // calDCS object Start of Run
48 AliTRDCalDCSv2* fCalDCSObjEOR; // calDCS object End of Run
50 Bool_t fVdriftHLT; // HLT Vdrift
51 UInt_t ProcessDCSConfigData(); // process DCS configuration
53 Bool_t AreThereDataPedestal(const AliTRDCalSingleChamberStatus * const calROCStatus, Bool_t second);
54 void SetDefaultStatus(AliTRDCalSingleChamberStatus &calROCStatus, Bool_t second);
55 void SetStatus(AliTRDCalSingleChamberStatus &calROCStatus, AliTRDCalSingleChamberStatus *calROCStatusPrevious,Bool_t second);
56 void SetDefaultNoise(AliTRDCalROC &calROCNoise, Bool_t second);
57 void SetNoise(AliTRDCalROC &calROCNoise, AliTRDCalROC *calROCNoisePrevious, Bool_t second);
59 ClassDef(AliTRDPreprocessor,1) // The SHUTTLE preprocessor for TRD