AliITSRawStream(rawReader),
fDDLModuleMap(0),
fData(0),
+fResetSkip(kTRUE),
fEventId(0),
fCarlosId(-1),
fChannel(0),
AliITSRawStream(rs.fRawReader),
fDDLModuleMap(rs.fDDLModuleMap),
fData(0),
+fResetSkip(kTRUE),
fEventId(0),
fCarlosId(-1),
fChannel(0),
fCompletedModule=kFALSE;
while (kTRUE) {
-
+ if(fResetSkip){
+ Reset();
+ Bool_t kSkip = SkipHeaderWord();
+ if(!kSkip) return kSkip;
+ fResetSkip=kFALSE;
+ }
if ((fChannel < 0) || (fCarlosId < 0) || (fChannel >= 2) || (fCarlosId >= kModulesPerDDL) || (fLastBit[fCarlosId][fChannel] < fReadBits[fCarlosId][fChannel]) ) {
if (!fRawReader->ReadNextInt(fData)) return kFALSE; // read next word
if((fData >> 16) == 0x7F00){ // jitter word
- Reset();
- Bool_t kSkip = SkipHeaderWord();
- if(!kSkip) return kSkip;
+ fResetSkip=kTRUE;
continue;
}
AliITSDDLModuleMapSDD* fDDLModuleMap; // mapping DDL/module -> module number
UInt_t fData; // data read for file
+ Bool_t fResetSkip; // flag for end of DDL data
Int_t fSkip[kDDLsNumber];// obsolete -- needed to compile AliITSRawStreamSDDv2
Int_t fEventId; // event ID from header
Int_t fCarlosId; // carlos ID
Int_t fEightBitSignal; // signal at 8 bit
Bool_t fDecompressAmbra; //flag to switch off decompression
- ClassDef(AliITSRawStreamSDD, 13) // class for reading ITS SDD raw digits
+ ClassDef(AliITSRawStreamSDD, 14) // class for reading ITS SDD raw digits
};
#endif