return;
} // end if fITSgeom==0
nl = fITSgeom->GetNlayers();
- indexMAX = fITSgeom->GetModuleIndex(nl,fITSgeom->GetNladders(nl),
- fITSgeom->GetNdetectors(nl))+1;
+ indexMAX = fITSgeom->GetIndexMax();
nmodules = indexMAX;
fITSmodules = new TObjArray(indexMAX);
for(index=0;index<indexMAX;index++){
} // end for iEvent
fLoader->UnloadHits();
+ fLoader->UnloadSDigits();
}
//______________________________________________________________________
void AliITS::SDigitsToDigits(Option_t *opt){