]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIMUONVSUBPROCESSOR_H | |
2 | #define ALIMUONVSUBPROCESSOR_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 AliMUONVSubprocessor | |
11 | /// \brief Base class for a shuttle sub-task for MUON (either TRK or TRG) | |
12 | /// | |
13 | // Author Laurent Aphecetche | |
14 | ||
15 | #ifndef ROOT_TNamed | |
16 | # include "TNamed.h" | |
17 | #endif | |
18 | ||
19 | class TMap; | |
20 | class AliMUONPreprocessor; | |
21 | ||
22 | class AliMUONVSubprocessor : public TNamed | |
23 | { | |
24 | public: | |
25 | AliMUONVSubprocessor(AliMUONPreprocessor* master, | |
26 | const char* name="", const char* title=""); | |
27 | virtual ~AliMUONVSubprocessor(); | |
28 | ||
29 | virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); | |
30 | ||
31 | /// Process this sub-task | |
32 | virtual UInt_t Process(TMap* dcsAliasMap) = 0; | |
33 | ||
34 | protected: | |
35 | /// Return the pointer to our master | |
36 | AliMUONPreprocessor* Master() const { return fMaster; } | |
37 | ||
38 | /// Not implemented | |
39 | AliMUONVSubprocessor(); | |
40 | /// Not implemented | |
41 | AliMUONVSubprocessor(const AliMUONVSubprocessor&); | |
42 | /// Not implemented | |
43 | AliMUONVSubprocessor& operator=(const AliMUONVSubprocessor&); | |
44 | ||
45 | private: | |
46 | AliMUONPreprocessor* fMaster; ///< Pointer to our master | |
47 | ||
48 | ClassDef(AliMUONVSubprocessor,1) // Base class of MUON shuttle sub(pre)processors | |
49 | }; | |
50 | ||
51 | #endif |