]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDPreprocessor.h
Remove deletion of s-digits manager
[u/mrichter/AliRoot.git] / TRD / AliTRDPreprocessor.h
1 #ifndef ALI_TRD_PREPROCESSOR_H
2 #define ALI_TRD_PREPROCESSOR_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id$ */
8
9 ////////////////////////////////////////////////////////////////////////////
10 //                                                                        //
11 // TRD preprocessor for the database SHUTTLE                              //
12 //                                                                        //
13 ////////////////////////////////////////////////////////////////////////////
14
15 #include "AliPreprocessor.h"
16
17 class TMap;
18 class AliTRDCalROC;
19 class AliTRDCalSingleChamberStatus;
20
21 class AliTRDPreprocessor : public AliPreprocessor
22 {
23
24  public:
25
26   AliTRDPreprocessor(AliShuttleInterface *shuttle);
27   virtual ~AliTRDPreprocessor();
28
29  protected:
30
31   virtual void    Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
32   virtual UInt_t  Process(TMap *dcsAliasMap);
33
34     
35           Bool_t  ExtractPedestals();
36           Bool_t  ExtractDriftVelocityDAQ();
37           Bool_t  ExtractHLT();
38           Bool_t  ProcessDCS();
39           Bool_t  ProcessDCS(TMap *dcsAliasMap);
40
41  private:
42
43           Bool_t  fVdriftHLT;             // HLT Vdrift
44           UInt_t  ProcessDCSConfigData(); // process DCS configuration
45
46
47           Bool_t AreThereDataPedestal(AliTRDCalSingleChamberStatus * const 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);
52
53           ClassDef(AliTRDPreprocessor,1)          // The SHUTTLE preprocessor for TRD
54
55 };
56 #endif