Update master to aliroot
[u/mrichter/AliRoot.git] / macros / loadlibssim.C
CommitLineData
3953250f 1Int_t loadlibssim ()
161116d7 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()
3953250f 9
10 Int_t ret=-1;
11
12 if ( gSystem->Load("libPhysics") < 0 ) return ret; ret--;
13 if ( gSystem->Load("libMinuit") < 0 ) return ret; ret--;
14 if ( gSystem->Load("libProof") < 0 ) return ret; ret--;
161116d7 15
3953250f 16 if ( gSystem->Load("libmicrocern") < 0 ) return ret; ret--;
17 if ( gSystem->Load("liblhapdf") < 0 ) return ret; ret--;
18 if ( gSystem->Load("libpythia6") < 0 ) return ret; ret--;
161116d7 19
3953250f 20 if ( gSystem->Load("libEG") < 0 ) return ret; ret--;
21 if ( gSystem->Load("libGeom") < 0 ) return ret; ret--;
22 if ( gSystem->Load("libVMC") < 0 ) return ret; ret--;
161116d7 23
3953250f 24 if ( gSystem->Load("libEGPythia6") < 0 ) return ret; ret--;
161116d7 25
3953250f 26 if ( gSystem->Load("libNet") < 0 ) return ret; ret--;
27 if ( gSystem->Load("libTree") < 0 ) return ret; ret--;
28 if ( gSystem->Load("libGui") < 0 ) return ret; ret--;
161116d7 29
3953250f 30 if ( gSystem->Load("libSTEERBase") < 0 ) return ret; ret--;
31 if ( gSystem->Load("libESD") < 0 ) return ret; ret--;
32 if ( gSystem->Load("libCDB") < 0 ) return ret; ret--;
33 if ( gSystem->Load("libRAWDatabase") < 0 ) return ret; ret--;
34 if ( gSystem->Load("libRAWDatarec") < 0 ) return ret; ret--;
35 if ( gSystem->Load("libAOD") < 0 ) return ret; ret--;
b6a0d973 36 if ( gSystem->Load("libANALYSIS") < 0 ) return ret; ret--;
3953250f 37 if ( gSystem->Load("libSTEER") < 0 ) return ret; ret--;
38 if ( gSystem->Load("libRAWDatasim") < 0 ) return ret; ret--;
39 if ( gSystem->Load("libFASTSIM") < 0 ) return ret; ret--;
40 if ( gSystem->Load("libEVGEN") < 0 ) return ret; ret--;
41 if ( gSystem->Load("libAliPythia6") < 0 ) return ret; ret--;
3b2752db 42
3953250f 43 if ( gSystem->Load("libhijing") < 0 ) return ret; ret--;
4bc96904 44 if ( gSystem->Load("libTHijing") < 0 ) return ret; ret--;// AliGenHijingEventHeader needed by libZDCsim
161116d7 45
3953250f 46 if ( gSystem->Load("libSTRUCT") < 0 ) return ret; ret--;
47 if ( gSystem->Load("libPHOSUtils") < 0 ) return ret; ret--;
48 if ( gSystem->Load("libPHOSbase") < 0 ) return ret; ret--;
49 if ( gSystem->Load("libPHOSsim") < 0 ) return ret; ret--;
50 if ( gSystem->Load("libMUONcore") < 0 ) return ret; ret--;
51 if ( gSystem->Load("libMUONmapping") < 0 ) return ret; ret--;
52 if ( gSystem->Load("libMUONgeometry") < 0 ) return ret; ret--;
53 if ( gSystem->Load("libMUONcalib") < 0 ) return ret; ret--;
54 if ( gSystem->Load("libMUONraw") < 0 ) return ret; ret--;
55 if ( gSystem->Load("libMUONtrigger") < 0 ) return ret; ret--;
56 if ( gSystem->Load("libMUONbase") < 0 ) return ret; ret--;
57 if ( gSystem->Load("libMUONsim") < 0 ) return ret; ret--;
58 if ( gSystem->Load("libMUONrec") < 0 ) return ret; ret--; // Needed by libAliHLTMUON
59 if ( gSystem->Load("libFMDbase") < 0 ) return ret; ret--;
60 if ( gSystem->Load("libFMDsim") < 0 ) return ret; ret--;
61 if ( gSystem->Load("libPMDbase") < 0 ) return ret; ret--;
62 if ( gSystem->Load("libPMDsim") < 0 ) return ret; ret--;
63 if ( gSystem->Load("libHMPIDbase") < 0 ) return ret; ret--;
64 if ( gSystem->Load("libHMPIDsim") < 0 ) return ret; ret--;
65 if ( gSystem->Load("libT0base") < 0 ) return ret; ret--;
66 if ( gSystem->Load("libT0sim") < 0 ) return ret; ret--;
67 if ( gSystem->Load("libT0rec") < 0 ) return ret; ret--;
68 if ( gSystem->Load("libZDCbase") < 0 ) return ret; ret--;
69 if ( gSystem->Load("libZDCsim") < 0 ) return ret; ret--;
70 if ( gSystem->Load("libACORDEbase") < 0 ) return ret; ret--;
71 if ( gSystem->Load("libACORDErec") < 0 ) return ret; ret--;
72 if ( gSystem->Load("libACORDEsim") < 0 ) return ret; ret--;
73 if ( gSystem->Load("libVZERObase") < 0 ) return ret; ret--;
74 if ( gSystem->Load("libVZEROrec") < 0 ) return ret; ret--;
75 if ( gSystem->Load("libVZEROsim") < 0 ) return ret; ret--;
ff3d08e8 76 if ( gSystem->Load("libEMCALraw") < 0 ) return ret; ret--;
3953250f 77 if ( gSystem->Load("libEMCALUtils") < 0 ) return ret; ret--;
78 if ( gSystem->Load("libEMCALbase") < 0 ) return ret; ret--;
79 if ( gSystem->Load("libEMCALsim") < 0 ) return ret; ret--;
161116d7 80
3953250f 81 if ( gSystem->Load("libTPCbase") < 0 ) return ret; ret--;
3953250f 82 if ( gSystem->Load("libTPCrec") < 0 ) return ret; ret--;
2f331bdc 83 if ( gSystem->Load("libTPCsim") < 0 ) return ret; ret--;
3953250f 84 if ( gSystem->Load("libITSbase") < 0 ) return ret; ret--;
85 if ( gSystem->Load("libITSsim") < 0 ) return ret; ret--;
86 if ( gSystem->Load("libITSrec") < 0 ) return ret; ret--; // Needed by libAliHLTITS
87 if ( gSystem->Load("libSTAT") < 0 ) return ret; ret--;
88 if ( gSystem->Load("libTRDbase") < 0 ) return ret; ret--;
89 if ( gSystem->Load("libTRDsim") < 0 ) return ret; ret--;
90 if ( gSystem->Load("libTRDrec") < 0 ) return ret; ret--; // Needed by libAliHLTTRD
91 if ( gSystem->Load("libTOFbase") < 0 ) return ret; ret--;
3953250f 92 if ( gSystem->Load("libTOFsim") < 0 ) return ret; ret--;
3b594637 93 if ( gSystem->Load("libTOFrec") < 0 ) return ret; ret--;
161116d7 94
3953250f 95 if ( gSystem->Load("libHLTbase") < 0 ) return ret; ret--;
96 if ( gSystem->Load("libHLTinterface") < 0 ) return ret; ret--;
97 if ( gSystem->Load("libHLTsim") < 0 ) return ret; ret--;
98 if ( gSystem->Load("libHLTrec") < 0 ) return ret; ret--;
820b4d9e 99
820b4d9e 100 if ( gSystem->Load("libMFTbase") < 0 ) return ret; ret--;
101 if ( gSystem->Load("libMFTrec") < 0 ) return ret; ret--;
102 if ( gSystem->Load("libMFTsim") < 0 ) return ret; ret--;
820b4d9e 103
104
3953250f 105 return 0;
161116d7 106}