ReadAdcs(array);
Int_t nWrite = fTree->Fill();
AliFMDDebug(1, ("Got a grand total of %d digits, wrote %d bytes to tree",
- array->GetEntries(), nWrite));
+ array->GetEntriesFast(), nWrite));
}
// Get sample rate
AliFMDParameters* pars = AliFMDParameters::Instance();
AliFMDRawStream input(fReader);
- AliFMDDebug(5, ("Setting old RCU format and 7 word headers"));
- input.SetOldRCUFormat(!pars->HasRcuTrailer());
+ AliFMDDebug(5, ("Setting 7 word headers"));
input.SetShortDataHeader(!pars->HasCompleteHeader());
UShort_t stripMin = 0;
Bool_t isGood = kTRUE;
while (isGood) {
isGood = input.ReadChannel(ddl, hwaddr, last, data);
+ if (!isGood) break;
AliFMDDebug(5, ("Read channel 0x%x of size %d", hwaddr, last));
UShort_t det, sec, str;