]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliRawReaderDate.h
TOF QA Task (F. Bellini)
[u/mrichter/AliRoot.git] / RAW / AliRawReaderDate.h
index 5a67e2c1291f23e3c9235e58aa9c500d6c698ceb..060929ddc274106488eb840ec44e0927c6b7e78f 100644 (file)
@@ -19,7 +19,7 @@ struct equipmentHeaderStruct;
 
 class AliRawReaderDate: public AliRawReader {
   public :
-    AliRawReaderDate(void* event);
+    AliRawReaderDate(void* event, Bool_t owner = kFALSE);
     AliRawReaderDate(const char* fileName, Int_t eventNumber = -1);
     virtual ~AliRawReaderDate();
 
@@ -32,6 +32,7 @@ class AliRawReaderDate: public AliRawReader {
     virtual const UInt_t* GetSubEventAttributes() const;
     virtual UInt_t   GetLDCId() const;
     virtual UInt_t   GetGDCId() const;
+    virtual UInt_t   GetTimestamp() const;
 
     virtual Int_t    GetEquipmentSize() const;
     virtual Int_t    GetEquipmentType() const;
@@ -51,6 +52,8 @@ class AliRawReaderDate: public AliRawReader {
 
     virtual Int_t    CheckData() const;
 
+    virtual AliRawReader* CloneSingleEvent() const;
+
   protected :
     FILE*            fFile;         // DATE file
     eventHeaderStruct* fEvent;      // raw data super event
@@ -60,6 +63,8 @@ class AliRawReaderDate: public AliRawReader {
     UChar_t*         fPosition;     // current position in the raw data
     UChar_t*         fEnd;          // end position of the current data block
 
+    Bool_t           fOwner;        // is raw-reader owner of the raw event or not
+
   private:
     AliRawReaderDate(const AliRawReaderDate& rawReader);
     AliRawReaderDate& operator = (const AliRawReaderDate& rawReader);