]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONVSubprocessor.h
repairing server's action after EOR signal
[u/mrichter/AliRoot.git] / MUON / AliMUONVSubprocessor.h
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 TObjectArray;
21 class AliMUONPreprocessor;
22
23 class AliMUONVSubprocessor : public TNamed
24 {
25 public:
26   AliMUONVSubprocessor(AliMUONPreprocessor* master,
27                        const char* name="", const char* title="");
28   virtual ~AliMUONVSubprocessor();
29   
30   virtual Bool_t Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
31   
32   /// Process this sub-task
33   virtual UInt_t Process(TMap* dcsAliasMap) = 0;
34   
35 protected:
36   /// Return the pointer to our master
37   AliMUONPreprocessor* Master() const { return fMaster; }
38
39   Bool_t RemoveValuesOutsideRun ( TObjArray* values );
40   
41   /// Not implemented
42   AliMUONVSubprocessor();
43   /// Not implemented
44   AliMUONVSubprocessor(const AliMUONVSubprocessor&);
45   /// Not implemented
46   AliMUONVSubprocessor& operator=(const AliMUONVSubprocessor&);
47   
48 private:
49   AliMUONPreprocessor* fMaster; ///< Pointer to our master
50   UInt_t fStartTime; ///< Start time of run
51   UInt_t fEndTime;   ///< End time of run
52   
53   ClassDef(AliMUONVSubprocessor,2) // Base class of MUON shuttle sub(pre)processors
54 };
55
56 #endif