]>
Commit | Line | Data |
---|---|---|
5c6b40ae | 1 | #ifndef ALI_TEST_SHUTTLE_H |
2 | #define ALI_TEST_SHUTTLE_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | // | |
10 | // test implementation of the AliShuttleInterface, to be used for local tests of preprocessors | |
11 | // | |
12 | ||
13 | #include <AliShuttleInterface.h> | |
14 | ||
15 | class TMap; | |
16 | class TList; | |
17 | class AliCDBMetaData; | |
18 | ||
19 | class AliTestShuttle : public AliShuttleInterface | |
20 | { | |
21 | public: | |
36137ac1 | 22 | AliTestShuttle(); |
5c6b40ae | 23 | virtual ~AliTestShuttle(); |
24 | ||
36137ac1 | 25 | void AddInputFile(Int_t system, const char* detector, const char* id, const char* source, const char* fileName); |
26 | void SetDCSInput(TMap* dcsAliasMap) { fDcsAliasMap = dcsAliasMap; } | |
27 | ||
28 | void Process(); | |
29 | ||
30 | // AliShuttleInterface functions | |
31 | virtual UInt_t Store(const char* detector, TObject* object, AliCDBMetaData* metaData); | |
5c6b40ae | 32 | virtual const char* GetFile(Int_t system, const char* detector, const char* id, const char* source); |
33 | virtual TList* GetFileSources(Int_t system, const char* detector, const char* id); | |
34 | virtual void Log(const char* detector, const char* message); | |
35 | ||
36137ac1 | 36 | virtual void RegisterPreprocessor(AliPreprocessor* preprocessor); |
37 | ||
5c6b40ae | 38 | protected: |
39 | TMap* fInputFiles; // files for GetFile, GetFileSources | |
36137ac1 | 40 | TObjArray* fPreprocessors; // list of preprocessors that are to be tested |
41 | TMap* fDcsAliasMap; // DCS data for testing | |
5c6b40ae | 42 | |
43 | private: | |
44 | ClassDef(AliTestShuttle, 0); | |
45 | }; | |
46 | ||
47 | #endif |