new functionality and new class added
[u/mrichter/AliRoot.git] / MUON / AliMUONVSubprocessor.h
CommitLineData
ea199e33 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///
78649106 13// Author Laurent Aphecetche
ea199e33 14
15#ifndef ROOT_TNamed
16# include "TNamed.h"
17#endif
18
19class TMap;
6a69d972 20class TObjectArray;
ea199e33 21class AliMUONPreprocessor;
22
23class AliMUONVSubprocessor : public TNamed
24{
25public:
26 AliMUONVSubprocessor(AliMUONPreprocessor* master,
27 const char* name="", const char* title="");
28 virtual ~AliMUONVSubprocessor();
29
6c870207 30 virtual Bool_t Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
71a2d3aa 31
32 /// Process this sub-task
ea199e33 33 virtual UInt_t Process(TMap* dcsAliasMap) = 0;
34
35protected:
71a2d3aa 36 /// Return the pointer to our master
ea199e33 37 AliMUONPreprocessor* Master() const { return fMaster; }
6a69d972 38
39 Bool_t RemoveValuesOutsideRun ( TObjArray* values );
ea199e33 40
71a2d3aa 41 /// Not implemented
ea199e33 42 AliMUONVSubprocessor();
71a2d3aa 43 /// Not implemented
ea199e33 44 AliMUONVSubprocessor(const AliMUONVSubprocessor&);
71a2d3aa 45 /// Not implemented
ea199e33 46 AliMUONVSubprocessor& operator=(const AliMUONVSubprocessor&);
47
48private:
49 AliMUONPreprocessor* fMaster; ///< Pointer to our master
6a69d972 50 UInt_t fStartTime; ///< Start time of run
51 UInt_t fEndTime; ///< End time of run
ea199e33 52
6a69d972 53 ClassDef(AliMUONVSubprocessor,2) // Base class of MUON shuttle sub(pre)processors
ea199e33 54};
55
56#endif