]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/AliOnlineReco.cxx
Added new classes for the new trigger framework:
[u/mrichter/AliRoot.git] / MONITOR / AliOnlineReco.cxx
index 310d6e49ac17f198505d2ab97c3da52a17198904..c877dfaa08bec29b77c48414690bf9e0c34bb8bb 100644 (file)
@@ -185,12 +185,15 @@ void AliOnlineReco::StartAliEve(mIntInt_i& mi)
        gSystem->mkdir(Form("run%d_%d", run, (Int_t)procPID));
        gSystem->cd(Form("run%d_%d", run, (Int_t)procPID));
 
-       const char *recMacroPath = "$ALICE_ROOT/MONITOR/rec.C";
+       TString recMacroPath(gSystem->Getenv("ONLINERECO_MACRO"));
+       if (recMacroPath.IsNull()) {
+         recMacroPath = "$ALICE_ROOT/MONITOR/rec.C";
+       }
 
        s = execlp("alieve",
                   "alieve",
                   "-q",
-                  Form("%s(\"mem://@*:\")", gSystem->ExpandPathName(recMacroPath)),
+                  Form("%s(\"mem://@*:\")", gSystem->ExpandPathName(recMacroPath.Data())),
                   (char*) 0);
       }