]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - MUON/AliMUONVSubprocessor.h
Small bug fix (which should have no influence online)
[u/mrichter/AliRoot.git] / MUON / AliMUONVSubprocessor.h
... / ...
CommitLineData
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
19class TMap;
20class TObjectArray;
21class AliMUONPreprocessor;
22
23class AliMUONVSubprocessor : public TNamed
24{
25public:
26 AliMUONVSubprocessor(AliMUONPreprocessor* master,
27 const char* name="", const char* title="");
28 virtual ~AliMUONVSubprocessor();
29
30 virtual void 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
35protected:
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
48private:
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