#ifndef ALIHLTPREPROCESSOR_H
#define ALIHLTPREPROCESSOR_H
#include "TList.h"
#include "AliPreprocessor.h"
#include "AliHLTShuttleInterface.h"
class AliHLTPreprocessor : public AliPreprocessor , public AliHLTShuttleInterface
{
public:
AliHLTPreprocessor(AliShuttleInterface* shuttle);
virtual ~AliHLTPreprocessor();
virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
virtual UInt_t Process(TMap* dcsAliasMap);
virtual Bool_t ProcessDCS() {return kFALSE;}
static const char* fgkHLTPreproc;
Int_t PreprocessorGetRun() {return fRun;}
UInt_t PreprocessorGetStartTime() {return fStartTime;}
UInt_t PreprocessorGetEndTime() {return fEndTime;}
Bool_t PreprocessorStore(const char* pathLevel2, const char* pathLevel3, TObject* object,
AliCDBMetaData* metaData, Int_t validityStart = 0, Bool_t validityInfinite = kFALSE) {
return AliPreprocessor::Store(pathLevel2, pathLevel3, object, metaData, validityStart, validityInfinite);
}
Bool_t PreprocessorStoreReferenceData(const char* pathLevel2, const char* pathLevel3, TObject* object,
AliCDBMetaData* metaData) {
return AliPreprocessor::StoreReferenceData(pathLevel2, pathLevel3, object, metaData);
}
Bool_t PreprocessorStoreReferenceFile(const char* localFile, const char* gridFileName) {
return AliPreprocessor::StoreReferenceFile(localFile, gridFileName);
}
Bool_t PreprocessorStoreRunMetadataFile(const char* localFile, const char* gridFileName) {
return AliPreprocessor::StoreRunMetadataFile(localFile, gridFileName);
}
const char* PreprocessorGetFile(Int_t system, const char* id, const char* source) {
return AliPreprocessor::GetFile(system, id, source);
}
TList* PreprocessorGetFileSources(Int_t system, const char* id = 0) {
return AliPreprocessor::GetFileSources(system, id);
}
TList* PreprocessorGetFileIDs(Int_t system, const char* source) {
return AliPreprocessor::GetFileIDs(system, source);
}
const char* PreprocessorGetRunParameter(const char* param) {
return AliPreprocessor::GetRunParameter(param);
}
AliCDBEntry* PreprocessorGetFromOCDB(const char* pathLevel2, const char* pathLevel3) {
return AliPreprocessor::GetFromOCDB(pathLevel2, pathLevel3);
}
const char* PreprocessorGetRunType() {
return AliPreprocessor::GetRunType();
}
void PreprocessorLog(const char* message) {
AliPreprocessor::Log(message);
}
protected:
private:
AliHLTPreprocessor(const AliHLTPreprocessor& preproc);
AliHLTPreprocessor& operator=(const AliHLTPreprocessor& rhs);
TList fProcessors;
Int_t fActiveDetectors;
static const char* fgkHLTDefaultShuttleLibs[];
ClassDef(AliHLTPreprocessor, 1);
};
#endif