]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONVTrackerDataMaker.h
Restored compilation on Windows/Cygwin
[u/mrichter/AliRoot.git] / MUON / AliMUONVTrackerDataMaker.h
index fec8172a9b8943b5e03ffde910ce84e82168456e..741fe22713cf101fa5c3c6eecddd8a0bc9fc0cf7 100644 (file)
@@ -17,6 +17,7 @@
 #endif
 
 class AliMUONVTrackerData;
+class TCollection;
 
 class AliMUONVTrackerDataMaker : public TObject
 {
@@ -24,26 +25,44 @@ public:
   AliMUONVTrackerDataMaker();
   virtual ~AliMUONVTrackerDataMaker();
   
+  /// Whether we are valid or not
   virtual Bool_t IsValid() const = 0;
   
+  /// Our data
   virtual AliMUONVTrackerData* Data() const = 0;
 
+  /// Whether we can be run
   virtual Bool_t IsRunnable() const = 0;
 
+  /// Whether we are running (must be false if IsRunnable is false)
   virtual Bool_t IsRunning() const = 0;
   
+  /// Whether we're only handling event-by-event data (i.e. no accumulation)
+  virtual Bool_t IsEventByEvent() const { return kFALSE; }
+  
+  /// Set event-by-event mode
+  virtual void SetEventByEvent(Bool_t /*flag*/) { }
+  
+  /// Set the running state (no effect if not runnable)
   virtual void SetRunning(Bool_t flag) = 0;
   
+  /// Advance to next event (no effect if not runnable)
   virtual Bool_t NextEvent() = 0;
   
+  /// Rewind events (no effect if not runnable)
   virtual void Rewind() = 0;
   
-  /// Whether we're owner of our data
-  virtual void SetOwner(Bool_t flag) = 0; 
-  
+  /// Set our source URI
   virtual void SetSource(const char* source) = 0;
   
+  /// Get our source URI
   virtual TString Source() const = 0;
+
+  /// Get the number of events we have seen (but not necessarily used...)
+  virtual Int_t NumberOfEvents() const = 0;
+  
+  /// Merge
+  virtual Long64_t Merge(TCollection* list) = 0;
   
   ClassDef(AliMUONVTrackerDataMaker,1) // Producer of AliMUONVTrackerData
 };