AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONVTrackerDataMaker.h
Go to the documentation of this file.
1 #ifndef ALIMUONVTRACKERDATAMAKER_H
2 #define ALIMUONVTRACKERDATAMAKER_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 
13 // Author Laurent Aphecetche, Subatech
14 
15 #ifndef ROOT_TObject
16 # include "TObject.h"
17 #endif
18 
20 class TCollection;
21 
22 class AliMUONVTrackerDataMaker : public TObject
23 {
24 public:
26  virtual ~AliMUONVTrackerDataMaker();
27 
29  virtual Bool_t IsValid() const = 0;
30 
32  virtual AliMUONVTrackerData* Data() const = 0;
33 
35  virtual void SetOwnerOfData(Bool_t /*flag*/) { }
36 
38  virtual Bool_t IsRunnable() const = 0;
39 
41  virtual Bool_t IsRunning() const = 0;
42 
44  virtual Bool_t IsEventByEvent() const { return kFALSE; }
45 
47  virtual void SetEventByEvent(Bool_t /*flag*/) { }
48 
50  virtual void SetRunning(Bool_t flag) = 0;
51 
53  virtual Bool_t ProcessEvent() = 0;
54 
56  virtual Bool_t NextEvent() { return ProcessEvent(); }
57 
59  virtual void Rewind() = 0;
60 
62  virtual void SetSource(const char* source) = 0;
63 
65  virtual TString Source() const = 0;
66 
68  virtual Int_t NumberOfEvents() const = 0;
69 
71  virtual Long64_t Merge(TCollection* list) = 0;
72 
74  virtual void SetEventRange(Int_t /* firstevent */, Int_t /* lastevent */) {}
75 
76  ClassDef(AliMUONVTrackerDataMaker,1) // Producer of AliMUONVTrackerData
77 };
78 
79 #endif
virtual Bool_t IsEventByEvent() const
Whether we're only handling event-by-event data (i.e. no accumulation)
virtual void Rewind()=0
Rewind events (no effect if not runnable)
Producer of some AliMUONVTrackerData.
virtual Long64_t Merge(TCollection *list)=0
Merge.
virtual void SetEventRange(Int_t, Int_t)
Set event range (if not event by event)
virtual void SetOwnerOfData(Bool_t)
Whether or not we're the owner of our AliMUONVTrackerData.
virtual Bool_t ProcessEvent()=0
Process current event.
virtual Bool_t NextEvent()
Advance to next event and process it (no effect if not runnable)
virtual Bool_t IsValid() const =0
Whether we are valid or not.
virtual void SetEventByEvent(Bool_t)
Set event-by-event mode.
virtual void SetSource(const char *source)=0
Set our source URI.
virtual Bool_t IsRunnable() const =0
Whether we can be run.
virtual void SetRunning(Bool_t flag)=0
Set the running state (no effect if not runnable)
virtual AliMUONVTrackerData * Data() const =0
Our data.
Base class for MUON data that can be presented at different levels in the hierarchy of the MUON syste...
virtual TString Source() const =0
Get our source URI.
virtual Bool_t IsRunning() const =0
Whether we are running (must be false if IsRunnable is false)
virtual Int_t NumberOfEvents() const =0
Get the number of events we have seen (but not necessarily used...)