1 #ifndef ALIMUONPREPROCESSOR_H
2 #define ALIMUONPREPROCESSOR_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONPreprocessor
11 /// \brief Shuttle preprocessor for MUON subsystems (TRK and TRG)
13 /// \author Laurent Aphecetche
15 #ifndef ALI_PREPROCESSOR_H
16 # include "AliPreprocessor.h"
19 class AliMUONVSubprocessor;
22 class AliMUONPreprocessor : public AliPreprocessor
25 AliMUONPreprocessor(const char* detName, AliShuttleInterface* shuttle);
26 virtual ~AliMUONPreprocessor();
28 void Add(AliMUONVSubprocessor* subProcessor);
29 void DeleteSubprocessors();
32 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
33 virtual UInt_t Process(TMap* dcsAliasMap);
34 virtual void Print(Option_t* opt="") const;
36 void Log(const char* message) { AliPreprocessor::Log(message); }
38 TList* GetFileSources(Int_t system, const char* id)
39 { return AliPreprocessor::GetFileSources(system,id); }
41 UInt_t Store(const char* pathLevel2, const char* pathLevel3, TObject* object,
42 AliCDBMetaData* metaData,
43 Int_t validityStart = 0, Bool_t validityInfinite = kFALSE)
45 return AliPreprocessor::Store(pathLevel2,pathLevel3,object,metaData,
46 validityStart,validityInfinite);
49 const char* GetFile(Int_t system, const char* id, const char* source)
51 return AliPreprocessor::GetFile(system,id,source);
55 AliMUONPreprocessor(const AliMUONPreprocessor& rhs);
56 AliMUONPreprocessor& operator=(const AliMUONPreprocessor& rhs);
58 AliMUONVSubprocessor* Subprocessor(Int_t i) const;
62 TObjArray* fSubprocessors; ///!< sub processors to execute
64 ClassDef(AliMUONPreprocessor,1) // MUON Shuttle preprocessor