Macros to load separately the libraries needed for simulation and reconstruction
[u/mrichter/AliRoot.git] / macros / loadlibssim.C
CommitLineData
161116d7 1void loadlibssim ()
2{
3 // Macro which loads the libraries needed for simulation
4 // Possible usage: In a Root session (no AliRoot) one does
5 // root [0] .x loadlibssim.C
6 // root [1] gAlice = new AliRun("gAlice","test")
7 // root [2] AliSimulation sim
8 // root [3] sim.Run()
9
10 gSystem->Load("libPhysics");
11 gSystem->Load("libMinuit");
12
13 // Uncomment the following line for macosx
14 // Waiting for a better solution
15 // gSystem->Load("libg2c_sh");
16 gSystem->Load("libmicrocern");
17 gSystem->Load("libpdf");
18 gSystem->Load("libpythia6");
19
20 gSystem->Load("libEG");
21 gSystem->Load("libGeom");
22 gSystem->Load("libVMC");
23
24 gSystem->Load("libEGPythia6");
25
26 gSystem->Load("libESD");
27 gSystem->Load("libCDB");
28 gSystem->Load("libSTEER");
29 gSystem->Load("libRAWDatabase");
30 gSystem->Load("libRAWDatarec");
31
32 gSystem->Load("libRAWDatasim");
33 gSystem->Load("libEVGEN");
34 gSystem->Load("libFASTSIM");
35 gSystem->Load("libAliPythia6");
36
37 gSystem->Load("libhijing");
38 gSystem->Load("libTHijing");// AliGenHijingEventHeader needed by libZDCsim.so
39
40 gSystem->Load("libSTRUCT");
41 gSystem->Load("libPHOSbase");
42 gSystem->Load("libPHOSsim");
43 gSystem->Load("libMUONmapping");
44 gSystem->Load("libMUONgeometry");
45 gSystem->Load("libMUONbase");
46 gSystem->Load("libMUONraw");
47 gSystem->Load("libMUONsim");
48 gSystem->Load("libFMDbase");
49 gSystem->Load("libFMDsim");
50 gSystem->Load("libPMDbase");
51 gSystem->Load("libPMDsim");
52 gSystem->Load("libRICHbase");
53 gSystem->Load("libRICHsim");
54 gSystem->Load("libSTARTbase");
55 gSystem->Load("libSTARTsim");
56 gSystem->Load("libSTARTrec");
57 gSystem->Load("libZDCbase");
58 gSystem->Load("libZDCsim");
59 gSystem->Load("libCRT");
60 gSystem->Load("libVZERObase");
61 gSystem->Load("libVZEROsim");
62 gSystem->Load("libEMCALbase");
63 gSystem->Load("libEMCALsim");
64
65 // The following lines have to be commented on Darwin
66 // for the moment due to cross dependencies
67 gSystem->Load("libTPCbase");
68 gSystem->Load("libTPCsim");
69 gSystem->Load("libITSbase");
70 gSystem->Load("libITSsim");
71 gSystem->Load("libTRDbase");
72 gSystem->Load("libTRDsim");
73 gSystem->Load("libTOFbase");
74 gSystem->Load("libTOFsim");
75}