+ int iResult=0;
+ if(!fNextSignalMethodUsed){// this is true if the bunch approach is used
+
+ iResult= fAltroBunch->GetStartTimeBin();
+ }
+ else{
+ assert(fNextCounter>=0);
+ iResult = fAltroBunch->GetStartTimeBin()+fNextCounter;
+ }
+ if(iResult<0 || iResult>AliHLTTPCTransform::GetNTimeBins()){
+ iResult=0;
+ }
+ return iResult;
+}
+
+int AliHLTTPCDigitReaderDecoder::GetBunchSize()
+{
+ // see header file for class documentation
+ return fAltroBunch->GetBunchSize();
+}
+
+int AliHLTTPCDigitReaderDecoder::GetRowOffset() const
+{
+ return fMapping->GetRowOffset();
+}
+AliHLTUInt32_t AliHLTTPCDigitReaderDecoder::GetAltroBlockHWaddr() const
+{
+ // see header file for class documentation
+ return (AliHLTUInt32_t)fAltroData.GetHadd();
+}
+AliHLTUInt32_t AliHLTTPCDigitReaderDecoder::GetAltroBlockHWaddr(Int_t row, Int_t pad) const
+{
+ // see header file for class documentation
+ if(fMapping){
+ return fMapping->GetHwAddress(row,pad);
+ }
+ else{
+ return 0;
+ }