]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSDebug.cxx
Updates for the ROOT trunk
[u/mrichter/AliRoot.git] / PHOS / AliPHOSDebug.cxx
index 4b420344dee3a3a052d1ac220d229e1ce39d02c6..1737a6c6f2e36234ea781585e118a287168dfa27 100644 (file)
@@ -26,8 +26,6 @@
 
 // --- ROOT system ---
 
-#include "TBRIK.h"
-#include "TNode.h"
 #include "TRandom.h"
 #include "TTree.h"
 
@@ -545,7 +543,8 @@ void AliPHOSv1::StepManager(void)
 
     // Yuri Kharlov, 28 September 2000
 
-    if( gMC->CurrentVolID(copy) == gMC->VolId("PCPQ") &&
+    static Int_t idPCPQ = gMC->VolId("PCPQ");
+    if( gMC->CurrentVolID(copy) == idPCPQ &&
        entered &&
        gMC->TrackCharge() != 0) {