}
else {
if(gAlice){
- delete AliRunLoader::GetRunLoader();
+ delete AliRunLoader::Instance();
delete gAlice;
gAlice=0;
}
cout << "Creating fast reconstructed points from hits for the ITS..." << endl;
AliITSDetTypeSim* dettyp = new AliITSDetTypeSim();
- dettyp->SetITSgeom(geom);
dettyp->SetLoader(gime);
+ dettyp->SetITSgeom(geom);
ITS->SetDetTypeSim(dettyp);
for (Int_t i=0;i<3;i++) {
ITS->SetSimulationModel(i,new AliITSsimulationFastPoints());