while(s.Next()){
iCountNext++;
- if(s.IsCompletedModule()==kFALSE){
+ if(s.IsCompletedModule()==kFALSE && s.IsCompletedDDL()==kFALSE){
Int_t lay,lad,det;
Int_t modID=ddlmap->GetModuleNumber(rd->GetDDLID(),s.GetCarlosId());
AliITSgeomTGeo::GetModuleId(modID,lay,lad,det);