]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TFluka/TFluka.cxx
ALICE_ROOT dependence removed. coreFlukaVmc.inp should be linked to
[u/mrichter/AliRoot.git] / TFluka / TFluka.cxx
index d9492fb0ed4e908f7fa7d7b81ba8802fa45c0bb5..05e216b7609e205e8d72af9cae668706b334dc0f 100644 (file)
@@ -1203,11 +1203,9 @@ void TFluka::InitPhysics()
 //
 // Construct file names
     FILE *pFlukaVmcCoreInp, *pFlukaVmcFlukaMat, *pFlukaVmcInp;
-    TString sFlukaVmcCoreInp = getenv("ALICE_ROOT");
-    sFlukaVmcCoreInp +="/TFluka/input/";
     TString sFlukaVmcTmp = "flukaMat.inp";
     TString sFlukaVmcInp = GetInputFileName();
-    sFlukaVmcCoreInp += GetCoreInputFileName();
+    TString sFlukaVmcCoreInp = GetCoreInputFileName();
     
 // Open files 
     if ((pFlukaVmcCoreInp = fopen(sFlukaVmcCoreInp.Data(),"r")) == NULL) {
@@ -1339,7 +1337,10 @@ void TFluka::SetMaxStep(Double_t step)
     
 //    Int_t mreg=0, latt=0;
 //    fGeom->GetCurrentRegion(mreg, latt);
+
+    
     Int_t mreg = fGeom->GetCurrentRegion();
+    printf("SetMaxStep %5d %13.3f\n", mreg, step);
     STEPSZ.stepmx[mreg - 1] = step;
 }