]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONPreprocessor.h
Adding private declaration of assignment operator
[u/mrichter/AliRoot.git] / MUON / AliMUONPreprocessor.h
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
19 class AliMUONVSubprocessor;
20 class TObjArray;
21
22 class AliMUONPreprocessor : public AliPreprocessor
23 {
24 protected:
25   AliMUONPreprocessor(const char* detName, AliShuttleInterface* shuttle);
26   virtual ~AliMUONPreprocessor();
27   
28   void Add(AliMUONVSubprocessor* subProcessor); 
29   void DeleteSubprocessors();
30   
31 public:
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   
36   void Log(const char* message) { AliPreprocessor::Log(message); }
37   
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   
54 private:
55   AliMUONPreprocessor(const AliMUONPreprocessor& rhs);
56   AliMUONPreprocessor& operator=(const AliMUONPreprocessor& rhs);
57   
58   AliMUONVSubprocessor* Subprocessor(Int_t i) const;
59   
60 private:
61
62   TObjArray* fSubprocessors; ///!< sub processors to execute
63   
64   ClassDef(AliMUONPreprocessor,1) // MUON Shuttle preprocessor
65 };
66
67 #endif