]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliPreprocessor.h
New more general analysis implemention for particle identification and correlation...
[u/mrichter/AliRoot.git] / STEER / AliPreprocessor.h
index fb08a0ff614d106e93130321b7abacd6aaeb0d6a..6bd861ef14b1550fc82f86a161c3cb6c1c5abb0e 100644 (file)
@@ -14,8 +14,8 @@
 //
 
 #include <TNamed.h>
+#include <TList.h>
 
-class TList;
 class TMap;
 
 class AliCDBMetaData;
@@ -26,7 +26,7 @@ class AliPreprocessor : public TNamed
 {
   public:
 
-    enum { kDAQ, kDCS, kHLT };
+    enum { kDAQ = 0, kDCS, kHLT };
 
     AliPreprocessor(const char* detector, AliShuttleInterface* shuttle);
     virtual ~AliPreprocessor();
@@ -35,7 +35,8 @@ class AliPreprocessor : public TNamed
     virtual UInt_t Process(TMap* dcsAliasMap) = 0;
    
     virtual Bool_t ProcessDCS() { return kTRUE; }
+    Bool_t ProcessRunType();
+  
   protected:
     Bool_t Store(const char* pathLevel2, const char* pathLevel3, TObject* object,
                AliCDBMetaData* metaData, Int_t validityStart = 0, Bool_t validityInfinite = kFALSE);
@@ -51,7 +52,10 @@ class AliPreprocessor : public TNamed
     AliCDBEntry* GetFromOCDB(const char* pathLevel2, const char* pathLevel3);
     const char* GetRunType();
     Bool_t GetHLTStatus();
+    const char* GetTriggerConfiguration();
     void Log(const char* message);
+    
+    void AddRunType(const char* runType);
 
     Int_t fRun;         // current run
     UInt_t fStartTime;  // starttime of current run
@@ -61,6 +65,8 @@ class AliPreprocessor : public TNamed
     AliPreprocessor(const AliPreprocessor & source);
     AliPreprocessor & operator=(const AliPreprocessor & source);
     AliShuttleInterface* fShuttle;   // link to Shuttle
+    
+    TList fRunTypes;    // list of run types that are processed by this preprocessor
 
     ClassDef(AliPreprocessor, 0);
 };