bool CheckFileExist(TString fileName){ gSystem->ExpandPathName(fileName); if (gSystem->AccessPathName(fileName.Data()) == true) { cout<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) ; man.Process() ; }