X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliPreprocessor.h;h=6bd861ef14b1550fc82f86a161c3cb6c1c5abb0e;hb=6fdedff6e97df624482cfb8e72fc6ec1821e27d0;hp=265085edf3af4c12dc09720d2e9680a692613784;hpb=a53c3f59406764a67db8a234c91fa5bbd6c5f140;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliPreprocessor.h b/STEER/AliPreprocessor.h index 265085edf3a..6bd861ef14b 100644 --- a/STEER/AliPreprocessor.h +++ b/STEER/AliPreprocessor.h @@ -14,8 +14,8 @@ // #include +#include -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,13 +35,15 @@ 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); Bool_t StoreReferenceData(const char* pathLevel2, const char* pathLevel3, TObject* object, AliCDBMetaData* metaData); Bool_t StoreReferenceFile(const char* localFile, const char* gridFileName); + Bool_t StoreRunMetadataFile(const char* localFile, const char* gridFileName); const char* GetFile(Int_t system, const char* id, const char* source); TList* GetFileSources(Int_t system, const char* id = 0); @@ -50,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 @@ -60,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); };