changes from Misha
[u/mrichter/AliRoot.git] / TRD / AliTRDPreprocessor.h
index 37fa251..837c95e 100644 (file)
 
 #include "AliPreprocessor.h"
 
+class TMap;
+class AliTRDCalDCSv2;
+class AliTRDCalROC;
+class AliTRDCalSingleChamberStatus;
+
 class AliTRDPreprocessor : public AliPreprocessor
 {
 
-  public:
+ public:
 
-    AliTRDPreprocessor(AliShuttleInterface *shuttle);
-    virtual ~AliTRDPreprocessor();
+  AliTRDPreprocessor(AliShuttleInterface *shuttle);
+  AliTRDPreprocessor(const AliTRDPreprocessor &org);
+  virtual ~AliTRDPreprocessor();
 
-  protected:
 
-    virtual void   Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
-    virtual UInt_t Process(TMap* /*dcsAliasMap*/);
-  
-  private:
-    
-    ClassDef(AliTRDPreprocessor,0) // The SHUTTLE preprocessor for TRD
+ protected:
 
-};
+  virtual void    Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
+  virtual UInt_t  Process(TMap *dcsAliasMap);
+
+          Bool_t  ExtractHalfChamberStatusDAQ();
+          Bool_t  ExtractPedestals();
+          Bool_t  ExtractDriftVelocityDAQ();
+          Bool_t  ExtractHLT();
+          Bool_t  ProcessDCS();
+          Bool_t  ProcessDCS(TMap *dcsAliasMap);
+         AliTRDPreprocessor& operator = (const AliTRDPreprocessor& rhs);
+
+ private:
+         
+         AliTRDCalDCSv2* fCalDCSObjSOR;    // calDCS object Start of Run
+         AliTRDCalDCSv2* fCalDCSObjEOR;    // calDCS object End of Run
+
+         Bool_t  fVdriftHLT;             // HLT Vdrift
+         UInt_t  ProcessDCSConfigData(); // process DCS configuration
 
+         Bool_t AreThereDataPedestal(const AliTRDCalSingleChamberStatus * const calROCStatus, Bool_t second);
+         void   SetDefaultStatus(AliTRDCalSingleChamberStatus &calROCStatus, Bool_t second);
+         void   SetStatus(AliTRDCalSingleChamberStatus &calROCStatus, AliTRDCalSingleChamberStatus *calROCStatusPrevious,Bool_t second);
+         void   SetDefaultNoise(AliTRDCalROC &calROCNoise, Bool_t second);
+         void   SetNoise(AliTRDCalROC &calROCNoise, AliTRDCalROC *calROCNoisePrevious, Bool_t second);
+
+         ClassDef(AliTRDPreprocessor,1)          // The SHUTTLE preprocessor for TRD
+
+};
 #endif
+