bool CheckFileExist(TString fileName){ gSystem->ExpandPathName(fileName); if (gSystem->AccessPathName(fileName.Data()) == true) { cout<LoadMacro("mpdloadlibs.C"); // gROOT->ProcessLine("mpdloadlibs()"); gSystem->Load("libZdc.so") ; gSystem->Load("libEmc.so") ; gSystem->Load("libMpdPhotons.so") ; gSystem->Load("libMpdPhysics.so") ; MpdAnalysisManager man("ManagerAnal", nEvents) ; if (!CheckFileExist(inFileList)) return; man.InputFileList(inFileList) ; man.ReadBranches("*") ; man.SetOutput("histos.root") ; MpdCentralityAll pCentr("pCentr","pCentr") ; man.AddTask(&pCentr) ; MpdEventPlaneAll pEP("pEP","pEP") ; man.AddTask(&pEP) ; MpdAnaXiMix xiMix("XiMix","XiMix"); man.AddTask(&xiMix); MpdTrackPidMaker pPID("pPID","pPID") ; man.AddTask(&pPID) ; MpdPairKK pKK("pKK","pKK") ; man.AddTask(&pKK) ; MpdPairPK pPK("pPK","pPK") ; man.AddTask(&pPK) ; MpdPairPiK pPiK("pPiK","pPiK") ; man.AddTask(&pPiK) ; MpdPairPiPi pPiPi("pPiPi","pPiPi") ; man.AddTask(&pPiPi) ; MpdPairPiLambda pPiLambda("pPiLambda","pPiLambda") ; man.AddTask(&pPiLambda) ; MpdPairPiKs pPiKs("pPiKs","pPiKs") ; man.AddTask(&pPiKs) ; MpdV0Maker pV0maker("pV0maker", "pV0maker"); man.AddTask(&pV0maker); MpdConvPi0 pi0("pi0", "pi0"); man.AddTask(&pi0); MpdConvPi0 pi0_TPConlyPID("pi0_TPConlyPID", "pi0_TPConlyPID"); man.AddTask(&pi0_TPConlyPID); // These wagons take too long to run on the test Train: // MpdConvPi0 pi0_no_selection("pi0_no_selection", "pi0_no_selection"); // man.AddTask(&pi0_no_selection); // MpdGlobalPolarizationRECO pGlobalPol("pGlobalPolRECO","pGlobalPolRECO","selection","omega2") ; // man.AddTask(&pGlobalPol) ; man.Process() ; }