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) ; MpdPairGG pGG1("pGG1","pGG1") ; man.AddTask(&pGG1) ; MpdPairGG pGG2("pGG2","pGG2") ; man.AddTask(&pGG2) ; MpdPairGG pGG3("pGG3","pGG3") ; man.AddTask(&pGG3) ; MpdPairGG pGG4("pGG4","pGG4") ; man.AddTask(&pGG4) ; MpdPairGG pGG5("pGG5","pGG5") ; man.AddTask(&pGG5) ; man.Process() ; }