rootlogon() { gROOT->LoadMacro("$VMCWORKDIR/gconfig/basiclibs.C"); basiclibs(); // Load Panda libraries if(isLibrary("libDpmEvtGen"))gSystem->Load("libDpmEvtGen"); if(isLibrary("libRooFit"))gSystem->Load("libRooFit"); if(isLibrary("libpythia8"))gSystem->Load("libpythia8"); if(isLibrary("libFlukaResults"))gSystem->Load("libFlukaResults"); if(isLibrary("libFairTools"))gSystem->Load("libFairTools"); if(isLibrary("libFairDB"))gSystem->Load("libFairDB"); if(isLibrary("libGeoBase"))gSystem->Load("libGeoBase"); if(isLibrary("libParBase"))gSystem->Load("libParBase"); if(isLibrary("libBase"))gSystem->Load("libBase"); if(isLibrary("libPhotos")){// these three depend on each other gSystem->Load("libPhotos"); if(isLibrary("libEvtGen")){ gSystem->Load("libEvtGen"); if(isLibrary("libEvtGenDirect"))gSystem->Load("libEvtGenDirect"); } } if(isLibrary("libPndBase"))gSystem->Load("libPndBase"); if(isLibrary("libGlobalTasks"))gSystem->Load("libGlobalTasks"); if(isLibrary("libTrkBase"))gSystem->Load("libTrkBase"); if(isLibrary("libPndData"))gSystem->Load("libPndData"); if(isLibrary("libgeneralTools"))gSystem->Load("libgeneralTools"); if(isLibrary("libbuffers"))gSystem->Load("libbuffers"); if(isLibrary("libField"))gSystem->Load("libField"); if(isLibrary("libPassive"))gSystem->Load("libPassive"); if(isLibrary("libGen"))gSystem->Load("libGen"); if(isLibrary("libPGen"))gSystem->Load("libPGen"); if(isLibrary("libEmc"))gSystem->Load("libEmc"); if(isLibrary("libgenfit"))gSystem->Load("libgenfit"); //if(isLibrary("libtrackrep"))gSystem->Load("libtrackrep"); if(isLibrary("libgenfitLSL"))gSystem->Load("libgenfitLSL"); if(isLibrary("libgenfitGeane"))gSystem->Load("libgenfitGeane"); if(isLibrary("libgenfitRK"))gSystem->Load("libgenfitRK"); if(isLibrary("libGeaneTrackRep"))gSystem->Load("libGeaneTrackRep"); if(isLibrary("libgenfitAdapters"))gSystem->Load("libgenfitAdapters"); if(isLibrary("libriemann"))gSystem->Load("libriemann"); if(isLibrary("libTpcBase"))gSystem->Load("libTpcBase"); if(isLibrary("libTpcRecoBase"))gSystem->Load("libTpcRecoBase"); if(isLibrary("libTpcPar"))gSystem->Load("libTpcPar"); if(isLibrary("libTpcTools"))gSystem->Load("libTpcTools"); if(isLibrary("libTpcMC"))gSystem->Load("libTpcMC"); if(isLibrary("libTpcDigi"))gSystem->Load("libTpcDigi"); if(isLibrary("libTpcReco"))gSystem->Load("libTpcReco"); if(isLibrary("libTpcFOPI"))gSystem->Load("libTpcFOPI"); if(isLibrary("libTpcANA"))gSystem->Load("libTpcANA"); if(isLibrary("libTpcALICE"))gSystem->Load("libTpcALICE"); if(isLibrary("libStt"))gSystem->Load("libStt"); if(isLibrary("libSttReco"))gSystem->Load("libSttReco"); if(isLibrary("libSds"))gSystem->Load("libSds"); if(isLibrary("libSdsReco"))gSystem->Load("libSdsReco"); if(isLibrary("libMvd"))gSystem->Load("libMvd"); if(isLibrary("libMvdReco"))gSystem->Load("libMvdReco"); if(isLibrary("libMvdTrk"))gSystem->Load("libMvdTrk"); if(isLibrary("libSttMvdTracking"))gSystem->Load("libSttMvdTracking"); if(isLibrary("libGem"))gSystem->Load("libGem"); if(isLibrary("libFts"))gSystem->Load("libFts"); if(isLibrary("libTof"))gSystem->Load("libTof"); if(isLibrary("libDrcProp"))gSystem->Load("libDrcProp"); if(isLibrary("libDrc"))gSystem->Load("libDrc"); if(isLibrary("libMdt"))gSystem->Load("libMdt"); if(isLibrary("libDch"))gSystem->Load("libDch"); if(isLibrary("libLheTrack"))gSystem->Load("libLheTrack"); if(isLibrary("libGeane"))gSystem->Load("libGeane"); if(isLibrary("libRpc"))gSystem->Load("libRpc"); if(isLibrary("libLumi"))gSystem->Load("libLumi"); if(isLibrary("libRho"))gSystem->Load("libRho"); if(isLibrary("libTMVA"))gSystem->Load("libTMVA.so"); if(isLibrary("libAnalysisTools"))gSystem->Load("libAnalysisTools"); if(isLibrary("libPid"))gSystem->Load("libPid"); if(isLibrary("librecotasks"))gSystem->Load("librecotasks"); if(isLibrary("libRecoHits"))gSystem->Load("libRecoHits"); if(isLibrary("libRecoTasks"))gSystem->Load("libRecoTasks"); if(isLibrary("libEnDrc"))gSystem->Load("libEnDrc"); if(isLibrary("libDsk"))gSystem->Load("libDsk"); if(isLibrary("libGlobal"))gSystem->Load("libGlobal"); if(isLibrary("libMCMatch"))gSystem->Load("libMCMatch"); if(isLibrary("libMva"))gSystem->Load("libMva"); if(isLibrary("libFtof"))gSystem->Load("libFtof"); std::cout<<"rootlogon done"<Load("libMemStat"); gSystem->SetIncludePath("-I$VMCWORKDIR/tpc -I$VMCWORKDIR/tpc/TestBench -I$VMCWORKDIR/tpc/base -I$VMCWORKDIR/recotasks " "-I$VMCWORKDIR/tpc/par -I$VMCWORKDIR/base -I$VMCWORKDIR/GenfitTools/trackrep/RKTrackRep " "-I$VMCWORKDIR/parbase -I$VMCWORKDIR/fairtools -I$VMCWORKDIR/field -I$VMCWORKDIR/genfit " "-I$VMCWORKDIR/tpc/Analysis -I$VMCWORKDIR/tpc/base -I$VMCWORKDIR/tpc/par -I$VMCWORKDIR/tpc/digi -I$VMCWORKDIR/tpc/reco -I$VMCWORKDIR/tpc/tools/residuals " "-I$VMCWORKDIR/tpc/ALICE -I$VMCWORKDIR/tpc/ALICE/HoughPRAlice " "-I$VMCWORKDIR/tpc/tools -I$VMCWORKDIR/tpc/tools/spacecharge -I$VMCWORKDIR/pnddata -I$VMCWORKDIR/GenfitTools/GFRave"); char* alicepath=getenv("ALICEGEMPATH"); if(alicepath!=NULL){ TString path; path.Form("%s/code/Event/",alicepath); std::cout<<"including ALICE classes to : "<AddIncludePath(path); } } Bool_t isLibrary(const char* libName) { if (TString(gSystem->DynamicPathName(libName, kTRUE)) != TString("")) return kTRUE; else return kFALSE; }