Transition to NewIO
[u/mrichter/AliRoot.git] / macros / loadlibs.C
index cbcc2f6..8e3eba2 100644 (file)
@@ -1,33 +1,43 @@
 void loadlibs () 
 {
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libminicern");
-  gSystem->Load("$(ROOTSYS)/lib/libPhysics");
-  gSystem->Load("$(ROOTSYS)/lib/libEG");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libSTEER");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTGeant3Dummy");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libdummyhijing");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTHijing");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libdummypythia6");
-  gSystem->Load("$(ROOTSYS)/lib/libEGPythia6");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libCONTAINERS");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libdummyHBTP");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTHbtp");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libdummymevsim");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTMevSim");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libEVGEN");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libHBTP"); 
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libRALICE");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libFMD");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libMUON");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libPHOS");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libPMD");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libRICH");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libSTRUCT");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTOF");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTPC");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTRD");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libZDC");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libITS");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libCASTOR");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libSTART");
+  gSystem->Load("libMC");
+
+  // libraries required by EVGEN
+  // (commented libraries are already loaded in prevoius sequence)
+
+  gSystem->Load("libmicrocern");
+  gSystem->Load("libEG"); 
+  gSystem->Load("libSTEER");
+  gSystem->Load("libEVGEN");
+  gSystem->Load("libEGPythia6");
+  gSystem->Load("libdummypythia6");
+  gSystem->Load("libdummyhijing");
+  gSystem->Load("libTHijing");
+  gSystem->Load("libdummyHBTP");
+  gSystem->Load("libTHbtp");
+  gSystem->Load("libdummymevsim");
+  gSystem->Load("libTMEVSIM");
+  gSystem->Load("libdummyepemgen");
+  gSystem->Load("libTEPEMGEN");
+
+  gSystem->Load("libPhysics");
+
+  gSystem->Load("libCONTAINERS");
+  gSystem->Load("libFMD");
+  gSystem->Load("libMUON");
+  gSystem->Load("libPHOS");
+  gSystem->Load("libPMD");
+  gSystem->Load("libRICH");
+  gSystem->Load("libSTRUCT");
+  gSystem->Load("libTPC");
+  gSystem->Load("libTRD");
+  gSystem->Load("libTOF");
+  gSystem->Load("libZDC");
+  gSystem->Load("libITS");
+  gSystem->Load("libCRT");
+  gSystem->Load("libSTART");
+//  gSystem->Load("libEMCAL");
+  gSystem->Load("libVZERO");
+  gSystem->Load("libdummyherwig");
+  gSystem->Load("libTHerwig");
 }