Int_t AliTPCHits2Digits(Int_t nev=5) {
// Connect the Root Galice file containing Geometry, Kine and Hits
if (gAlice) {
- delete AliRunLoader::GetRunLoader();
+ delete AliRunLoader::Instance();
delete gAlice;//if everything was OK here it is already NULL
gAlice = 0x0;
}