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
void SetShortDataHeader(Bool_t flag) { fIsShortDataHeader = flag; } // Specify whenever to assume or not a short CDH format
void PrintDebug() const; // Print debug information in case of decoding errors
+ void AddMappingErrorLog(const char *message = NULL);
+
+ enum EAltroRawStreamError {
+ kRCUTrailerSizeErr = 1,
+ kAltroTrailerErr = 2,
+ kBunchLengthReadErr = 3,
+ kTimeBinReadErr = 4,
+ kAmplitudeReadErr = 5,
+ k32bitWordReadErr = 6,
+ kBadAltroMapping = 7,
+ kRCUTrailerErr = 8
+ };
- protected:
- AliAltroRawStream(const AliAltroRawStream& stream);
AliAltroRawStream& operator = (const AliAltroRawStream& stream);
+ AliAltroRawStream(const AliAltroRawStream& stream);
+
+ protected:
Bool_t fNoAltroMapping; // temporary flag in case of no altro mapping is provided
Short_t fSegmentation[3]; // temporary container for the dummy trailer, to be removed