4 TString OutPath =
TString(gSystem->Getenv(
"VMCWORKDIR"))+
"/macro/scrut/data";
5 TString OutFile = OutPath +
"/" + Fname(Fname.Last(
'/')+1,Fname.Length());
9 if (!InFile.EndsWith(
".root")) InFile+=
"_fast.root";
12 FairLogger::GetLogger()->SetLogToFile(kFALSE);
14 FairRunAna*
fRun =
new FairRunAna();
15 fRun->SetGenerateRunInfo(kFALSE);
16 fRun->SetInputFile(InFile);
17 fRun->SetOutputFile(OutFile+
"_dummy.root");
24 fRun->AddTask(scrutTask);
int ana_jpsi_task(TString Fname="test", int nevts=0, double pbarmom=6.232069)