]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliDetector.cxx
Update (Chiara)
[u/mrichter/AliRoot.git] / STEER / AliDetector.cxx
index 31d343d8e94fde38d1bcf4f9422a3f6cc28a6e28..117f56be98f7812579104ffa2c7f88f9ac29cb81 100644 (file)
@@ -170,7 +170,7 @@ TBranch* AliDetector::MakeBranchInTree(TTree *tree, const char* name,
   {
     branch = tree->Bronch(name, "TClonesArray", address, size, splitlevel);
   }
- AliDebug(2,Form("Branch %s returning branch %#x",name,branch));
+ AliDebug(2,Form("Branch %s returning branch %p",name,branch));
  return branch;
 }
 
@@ -212,7 +212,7 @@ AliHit* AliDetector::FirstHit(Int_t track)
   // track is returned
   // 
   if(track>=0) {
-    gAlice->ResetHits(); //stupid = if N detector this method is called N times
+    gAlice->GetMCApp()->ResetHits(); //stupid = if N detector this method is called N times
     fLoader->TreeH()->GetEvent(track); //skowron
   }
   //