AliError("End of debug printout\n--------------------");
}
+
+//_____________________________________________________________________________
+Int_t AliAltroRawStream::GetBranch() const
+{
+ // The method provides the RCU branch index (0 or 1)
+ // for the current hardware address.
+ // In case the hardware address has not been yet
+ // initialized, the method returns -1
+ if (fHWAddress == -1) return -1;
+
+ return ((fHWAddress >> 11) & 0x1);
+}
+
+//_____________________________________________________________________________
+Int_t AliAltroRawStream::GetFEC() const
+{
+ // The method provides the front-end card index
+ // for the current hardware address.
+ // In case the hardware address has not been yet
+ // initialized, the method returns -1
+ if (fHWAddress == -1) return -1;
+
+ return ((fHWAddress >> 7) & 0xF);
+}
+
+//_____________________________________________________________________________
+Int_t AliAltroRawStream::GetAltro() const
+{
+ // The method provides the altro chip index
+ // for the current hardware address.
+ // In case the hardware address has not been yet
+ // initialized, the method returns -1
+ if (fHWAddress == -1) return -1;
+
+ return ((fHWAddress >> 4) & 0x7);
+}
+
+//_____________________________________________________________________________
+Int_t AliAltroRawStream::GetChannel() const
+{
+ // The method provides the channel index
+ // for the current hardware address.
+ // In case the hardware address has not been yet
+ // initialized, the method returns -1
+ if (fHWAddress == -1) return -1;
+
+ return (fHWAddress & 0xF);
+}
Int_t GetSignal() const { return fSignal; } // Provide signal in ADC counts
Int_t GetTimeLength() const { return fTimeBunch; } // Provide total length of current time bunch
+ Int_t GetBranch() const; // Provide the branch index for the current hardware address
+ Int_t GetFEC() const; // Provide the front-end card index for the current hardware address
+ Int_t GetAltro() const; // Provide the altro chip index for the current hardware address
+ Int_t GetChannel() const; // Provide the channel index for the current hardware address
+
Bool_t GetRCUTrailerData(UChar_t*& data) const; // Provide a pointer to RCU trailer
Int_t GetRCUTrailerSize() const { return fRCUTrailerSize; } // Provide size of RCU trailer