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"
19 class AliTRDCalSingleChamberStatus;
21 class AliTRDPreprocessor : public AliPreprocessor
26 AliTRDPreprocessor(AliShuttleInterface *shuttle);
27 virtual ~AliTRDPreprocessor();
31 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
32 virtual UInt_t Process(TMap *dcsAliasMap);
35 Bool_t ExtractPedestals();
36 Bool_t ExtractDriftVelocityDAQ();
39 Bool_t ProcessDCS(TMap *dcsAliasMap);
43 Bool_t fVdriftHLT; // HLT Vdrift
44 UInt_t ProcessDCSConfigData(); // process DCS configuration
47 Bool_t AreThereDataPedestal(AliTRDCalSingleChamberStatus *calROCStatus, Bool_t second);
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);
53 ClassDef(AliTRDPreprocessor,1) // The SHUTTLE preprocessor for TRD