]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDPreprocessor.h
addapt array of histograms for different SM combinations to new EMCAL SM
[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 AliTRDCalDCSv2;
19 class AliTRDCalROC;
20 class AliTRDCalSingleChamberStatus;
21
22 class AliTRDPreprocessor : public AliPreprocessor
23 {
24
25  public:
26
27   AliTRDPreprocessor(AliShuttleInterface *shuttle);
28   AliTRDPreprocessor(const AliTRDPreprocessor &org);
29   virtual ~AliTRDPreprocessor();
30
31
32  protected:
33
34   virtual void    Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
35   virtual UInt_t  Process(TMap *dcsAliasMap);
36
37           Bool_t  ExtractHalfChamberStatusDAQ();
38           Bool_t  ExtractPedestals();
39           Bool_t  ExtractDriftVelocityDAQ();
40           Bool_t  ExtractHLT();
41           Bool_t  ProcessDCS();
42           Bool_t  ProcessDCS(TMap *dcsAliasMap);
43           AliTRDPreprocessor& operator = (const AliTRDPreprocessor& rhs);
44
45  private:
46           
47           AliTRDCalDCSv2* fCalDCSObjSOR;    // 
48           AliTRDCalDCSv2* fCalDCSObjEOR;    // 
49
50           Bool_t  fVdriftHLT;             // HLT Vdrift
51           UInt_t  ProcessDCSConfigData(); // process DCS configuration
52
53           Bool_t AreThereDataPedestal(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);
58
59           ClassDef(AliTRDPreprocessor,1)          // The SHUTTLE preprocessor for TRD
60
61 };
62 #endif
63