]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSRawStream.h
In Open() and GotoEvent() try the ESD operations first, fallback to run-loader.
[u/mrichter/AliRoot.git] / ITS / AliITSRawStream.h
index 7dffd8d92a375daaa383fc809974a6beda07cfcc..8f5a7e73ca151c431fa51b0e0ca718927678ccf1 100644 (file)
@@ -3,23 +3,35 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */
+
+///////////////////////////////////////////////////////////////////////////////
+///
+/// This is a base class for providing access to ITS digits in raw data.
+///
+///////////////////////////////////////////////////////////////////////////////
+
 #include <TObject.h>
-#include "AliRawReader.h"
+
+class AliRawReader;
 
 
 class AliITSRawStream: public TObject {
   public :
     AliITSRawStream(AliRawReader* rawReader);
+    AliITSRawStream(const AliITSRawStream& stream);
+    AliITSRawStream& operator = (const AliITSRawStream& stream);
+    virtual ~AliITSRawStream() {};
 
     virtual Bool_t   Next() = 0;
 
-    inline Int_t     GetModuleID() const {return fModuleID;};
-    inline Int_t     GetPrevModuleID() const {return fPrevModuleID;};
-    inline Bool_t    IsNewModule() const {return fModuleID != fPrevModuleID;};
-    inline Int_t     GetCoord1() const {return fCoord1;};
-    inline Int_t     GetCoord2() const {return fCoord2;};
-    inline Int_t     GetSignal() const {return fSignal;};
-
+    Int_t            GetModuleID() const {return fModuleID;};
+    Int_t            GetPrevModuleID() const {return fPrevModuleID;};
+    Bool_t           IsNewModule() const {return fModuleID != fPrevModuleID;};
+    Int_t            GetCoord1() const {return fCoord1;};
+    Int_t            GetCoord2() const {return fCoord2;};
+    Int_t            GetSignal() const {return fSignal;};
+    virtual Bool_t   IsCompletedModule() const {return fCompletedModule;}; // to be implemented in derived class
   protected :
     AliRawReader*    fRawReader;    // object for reading the raw data
 
@@ -34,8 +46,9 @@ class AliITSRawStream: public TObject {
                                     //  SDD: time bin number (y)
                                     //  SSD: strip number
     Int_t            fSignal;       // signal in ADC counts
+    Bool_t           fCompletedModule; // set to kTRUE when all data from a module (SDD) are read
 
-    ClassDef(AliITSRawStream, 0) // base class for reading ITS raw digits
+    ClassDef(AliITSRawStream, 1) // base class for reading ITS raw digits
 };
 
 #endif