// run in the current directory:
// alieve mf_fix.C visscan_local.C'(".", kTRUE)'
-void visscan_local(const TString& path = ".", Bool_t showHLTESDTree=kFALSE, Bool_t showMuon = kTRUE, Bool_t showTrd = kFALSE)
+void visscan_local(const TString& path = ".", Bool_t showHLTESDTree=kFALSE, Bool_t showMuon = kTRUE, Bool_t showTrd = kFALSE, const char *pathToCDB="$ALICE_ROOT/OCDB")
{
+
gROOT->ProcessLine(TString::Format(".x visscan_init.C(\"local://$ALICE_ROOT/OCDB\", \"%s\", %d, %d, %d)",
path.Data(), showHLTESDTree, showMuon, showTrd));
+
}
//TApplication app("AliOnlineReconstruction", &argc, argv);
+ gSystem->Setenv("DATE_RUN_NUMBER",Form("%d",atoi(argv[1])));
+
std::cout<<"Starting Online Reconstruction for run:"<<atoi(argv[1])<<std::endl;
AliOnlineReconstruction *onlineReconstruction = new AliOnlineReconstruction(atoi(argv[1]));
//app.Run(kTRUE);