X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSHits2FastRecPoints.C;h=169f5fec8dcbaa2da45c8319e664a4ebab06dbd4;hb=9153ce65fe6d020f4dc4d67df48a53d0117c5769;hp=640ad92762c8835964cde057e89fbe5eca08acd2;hpb=6b55c9cba571791540459e0c38c5b6e63614721c;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSHits2FastRecPoints.C b/ITS/AliITSHits2FastRecPoints.C index 640ad92762c..169f5fec8dc 100644 --- a/ITS/AliITSHits2FastRecPoints.C +++ b/ITS/AliITSHits2FastRecPoints.C @@ -37,7 +37,7 @@ void AliITSHits2FastRecPoints (Int_t evNumber1=0,Int_t evNumber2=0, TString inFi } else { if(gAlice){ - delete gAlice->GetRunLoader(); + delete AliRunLoader::Instance(); delete gAlice; gAlice=0; } @@ -118,8 +118,8 @@ void AliITSHits2FastRecPoints (Int_t evNumber1=0,Int_t evNumber2=0, TString inFi 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());