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("*") ; //All man.ReadBranches("MCTrack,TpcKalmanTrack,Vertex,MPDEvent,ZdcDigi,TOFMatching,EmcCluster,MCEventHeader") ; //for centrality, PID, EP, V0, pi0 man.SetOutput("histos.root") ; MpdCentralityAll pCentr("pCentr","pCentr") ; man.AddTask(&pCentr) ; MpdEventPlaneAll pEP("pEP","pEP") ; man.AddTask(&pEP) ; MpdTrackPidMaker pPID("pPID","pPID") ; man.AddTask(&pPID) ; MpdPairGG pGG("pGG","pGG") ; man.AddTask(&pGG) ; 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) ; MpdConvPi0 pi0_loose20("pi0_loose_v20", "pi0_loose_v20"); pi0_loose20.FillCutEffHistos(); man.AddTask(&pi0_loose20); MpdConvPi0 pi0_loose130("pi0_loose_v50", "pi0_loose_v130"); pi0_loose130.FillCutEffHistos(); man.AddTask(&pi0_loose130); MpdConvPi0 pi0_def("pi0_default", "pi0_default"); pi0_def.FillCutEffHistos(); man.AddTask(&pi0_def); MpdDielectronAnalysis pDiele_Req34_MLP("pDiele_Req34_MLP","output_official_dielectron_analysis_train_req34_mlp") ; man.AddTask(&pDiele_Req34_MLP); MpdDielectronAnalysis pDiele_Req34_1D("pDiele_Req34_1D","output_official_dielectron_analysis_train_req34_1dcuts") ; man.AddTask(&pDiele_Req34_1D); man.Process() ; }