protected variable fTimeBunch added
authortkuhr <tkuhr@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Oct 2004 11:22:07 +0000 (11:22 +0000)
committertkuhr <tkuhr@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Oct 2004 11:22:07 +0000 (11:22 +0000)
RAW/AliAltroRawStream.cxx
RAW/AliAltroRawStream.h

index 0723c6c66c32e2763f14d386d58fd99d75733d74..4e5a33c344bc91d3d6c59cc8412b0c4c4916fd53 100644 (file)
@@ -130,6 +130,7 @@ Bool_t AliAltroRawStream::Next()
       return kFALSE;
     }
     fBunchLength = Get10BitWord(fData, --fPosition) - 2;
+    fTimeBunch = fBunchLength;
     fCount--;
 
     if (fPosition <= 0) {
index 86cda07249b891752bb0fe8b3a6d35d61ae0d6f4..e2a9f73ab33ccb5416d57db08c173830a7ff390a 100644 (file)
@@ -32,6 +32,7 @@ class AliAltroRawStream: public TObject {
     Int_t            fPrevPad;      // index of previous pad
     Int_t            fTime;         // index of current time bin
     Int_t            fSignal;       // signal in ADC counts
+    Int_t            fTimeBunch;    // total length of the current time bunch
 
     AliRawReader*    fRawReader;    // object for reading the raw data