]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDPreprocessor.h
Split DAQ DA into two tasks
[u/mrichter/AliRoot.git] / TRD / AliTRDPreprocessor.h
index 703559ffebe42d402110914bab2d11169d6484d0..71c6ec587ff0043d57848832d43cf010a9726dd5 100644 (file)
@@ -14,6 +14,8 @@
 
 #include "AliPreprocessor.h"
 
+class TMap;
+
 class AliTRDPreprocessor : public AliPreprocessor
 {
 
@@ -23,23 +25,12 @@ class AliTRDPreprocessor : public AliPreprocessor
     virtual ~AliTRDPreprocessor();
 
     enum {
-       kEExtractDCS    =   1   // error in case of failure by extracting DCS variables
-      ,kEStoreRefDCS   =   2   // error in case of failure by storing DCS variables references
-      ,kEFitDCS        =   4   // error in case of failure by fitting DCS variables
-      ,kEStoreDCS      =   8   // error in case of failure by storing DCS variables fit results
-      ,kEListFileHLT   =  16   // error in case of failure by taking the listof HLT files
-      ,kEOpenFileHLT   =  32   // error in case of failure by opening the HLTfile
-      ,kETakeHistoHLT  =  64   // error in case of failure by taking the histos HLT
-      ,kEStoreHistoHLT = 128   // error in case of failure by storing the reference data HLT
-      ,kEFitHistoHLT   = 256   // error in case of failure by fitting the histos HLT
-      ,kEStoreCalHLT   = 512   // error in case of failure by storing the HLTcal objects
-      ,kEListFileDAQ   = 1024  // error in case of failure by taking the list of DAQ files 
-      ,kEOpenFileDAQ   = 2048  // error in case of failure by opening the DAQfile
-      ,kETakeObjectDAQ = 4096  // error in case of failure by taking the objects DAQ
-      ,kEStoreRefDAQ   = 8192  // error in case of failure by storing the reference data DAQ
-      ,kEFitObjectDAQ  = 16384 // error in case of failure by fitting the DAQ objects
-      ,kEStoreCalDAQ   = 32768 // error in case of failure by storing the DAQcal objects   
-
+      kEExtractDCS    =   1   // error in case of failure by extracting DCS variables
+      ,kEStore        =   2   // Store or StoreReferenceData
+      ,kEGetFileHLT   =   4   // GetFileSources and GetFile HLT
+      ,kEEmptyListHLT =   8   // Empty list HLT
+      ,kEGetFileDAQ   =  16   // GetFileSources and GetFile DAQ
+      ,kEEmptyListDAQ =  32   // Empty list DAQ
     };
 
   protected:
@@ -47,8 +38,17 @@ class AliTRDPreprocessor : public AliPreprocessor
     virtual void   Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
     virtual UInt_t Process(TMap* dcsAliasMap);
 
+
+    void    ExtractPedestals();
+    void    ExtractDriftVelocityDAQ();
+    void    ExtractHLT();
+    void    ProcessDCS(TMap*dcsAliasMap);
+
   private:
     
+
+    UInt_t  fResult;                // result preprocessor
+    Bool_t  fVdriftHLT;             // HLT Vdrift
     ClassDef(AliTRDPreprocessor,1) // The SHUTTLE preprocessor for TRD
 
 };