void digi_complete(TString prefix="") { //-----User Settings:------------------------------------------------------ //TString parAsciiFile = "all_day1.par"; TString parAsciiFile = "all.par"; TString output = "digi"; // ----- Initial Settings -------------------------------------------- PndMasterRunAna *fRun= new PndMasterRunAna(); //fRun->SetOptions("day1"); fRun->SetInput("dummy"); fRun->SetOutput(output); fRun->SetParamAsciiFile(parAsciiFile); fRun->Setup(prefix); // ----- Add tasks ---------------------------------------------------- fRun->AddDigiTasks(); // ----- Intialise and run -------------------------------------------- fRun->Init(); fRun->Run(0, nEvents); fRun->Finish(); }