Make it a base class only (Laurent)
[u/mrichter/AliRoot.git] / MUON / AliMUONPreprocessor.h
CommitLineData
ea199e33 1#ifndef ALIMUONPREPROCESSOR_H
2#define ALIMUONPREPROCESSOR_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/// \ingroup shuttle
10/// \class AliMUONPreprocessor
11/// \brief Shuttle preprocessor for MUON subsystems (TRK and TRG)
12///
13/// \author Laurent Aphecetche
14
15#ifndef ALI_PREPROCESSOR_H
16# include "AliPreprocessor.h"
17#endif
18
19class AliMUONVSubprocessor;
20class TObjArray;
21
22class AliMUONPreprocessor : public AliPreprocessor
23{
6c7a0c0f 24protected:
25 AliMUONPreprocessor(const char* detName, AliShuttleInterface* shuttle);
ea199e33 26 virtual ~AliMUONPreprocessor();
27
6c7a0c0f 28 void Add(AliMUONVSubprocessor* subProcessor);
29 void DeleteSubprocessors();
30
31public:
ea199e33 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;
35
57e176c0 36 void Log(const char* message) { AliPreprocessor::Log(message); }
37
ea199e33 38 TList* GetFileSources(Int_t system, const char* id)
39 { return AliPreprocessor::GetFileSources(system,id); }
40
41 UInt_t Store(const char* pathLevel2, const char* pathLevel3, TObject* object,
42 AliCDBMetaData* metaData,
43 Int_t validityStart = 0, Bool_t validityInfinite = kFALSE)
44 {
45 return AliPreprocessor::Store(pathLevel2,pathLevel3,object,metaData,
46 validityStart,validityInfinite);
47 }
48
49 const char* GetFile(Int_t system, const char* id, const char* source)
50 {
51 return AliPreprocessor::GetFile(system,id,source);
52 }
53
54private:
ea199e33 55 AliMUONPreprocessor(const AliMUONPreprocessor& rhs);
56 AliMUONPreprocessor& operator=(const AliMUONPreprocessor& rhs);
57
58 AliMUONVSubprocessor* Subprocessor(Int_t i) const;
59
60private:
fee1d02b 61
ea199e33 62 TObjArray* fSubprocessors; ///!< sub processors to execute
63
64 ClassDef(AliMUONPreprocessor,1) // MUON Shuttle preprocessor
65};
66
67#endif