remove temporary task that was used to troubleshoot the gamma flow anaysis
[u/mrichter/AliRoot.git] / macros / loadlibs.C
CommitLineData
3953250f 1Int_t loadlibs ()
fe4da5cc 2{
68733fc9 3 // Macro which loads the libraries needed for simulation and reconstruction
4 // Possible usage: In a Root session (no AliRoot) one does
5 // root [0] .x loadlibs.C
6 // root [1] gAlice = new AliRun("gAlice","test")
7 // root [2] AliSimulation sim
8 // root [3] sim.Run()
9 // root [4] AliReconstruction rec
10 // root [5] rec.Run()
11
3953250f 12 Int_t ret=-1;
4f322bd0 13
3953250f 14 if ( gSystem->Load("libPhysics") < 0 ) return ret; ret--;
15 if ( gSystem->Load("libMinuit") < 0 ) return ret; ret--;
16 if ( gSystem->Load("libProof") < 0 ) return ret; ret--;
4f322bd0 17
3953250f 18 if ( gSystem->Load("libmicrocern") < 0 ) return ret; ret--;
19 if ( gSystem->Load("liblhapdf") < 0 ) return ret; ret--;
20 if ( gSystem->Load("libpythia6") < 0 ) return ret; ret--;
b9d0a01d 21
3953250f 22 if ( gSystem->Load("libEG") < 0 ) return ret; ret--;
23 if ( gSystem->Load("libGeom") < 0 ) return ret; ret--;
24 if ( gSystem->Load("libVMC") < 0 ) return ret; ret--;
91dce2f0 25
3953250f 26 if ( gSystem->Load("libEGPythia6") < 0 ) return ret; ret--;
68733fc9 27
3953250f 28 if ( gSystem->Load("libSTEERBase") < 0 ) return ret; ret--;
29 if ( gSystem->Load("libESD") < 0 ) return ret; ret--;
1ac7f5a2 30 if ( gSystem->Load("libGui") < 0 ) return ret; ret--;
3953250f 31 if ( gSystem->Load("libCDB") < 0 ) return ret; ret--;
32 if ( gSystem->Load("libRAWDatabase") < 0 ) return ret; ret--;
33 if ( gSystem->Load("libRAWDatarec") < 0 ) return ret; ret--;
34 if ( gSystem->Load("libAOD") < 0 ) return ret; ret--;
b6a0d973 35 if ( gSystem->Load("libANALYSIS") < 0 ) return ret; ret--;
3953250f 36 if ( gSystem->Load("libSTEER") < 0 ) return ret; ret--;
37 if ( gSystem->Load("libRAWDatasim") < 0 ) return ret; ret--;
38 if ( gSystem->Load("libFASTSIM") < 0 ) return ret; ret--;
39 if ( gSystem->Load("libEVGEN") < 0 ) return ret; ret--;
40 if ( gSystem->Load("libAliPythia6") < 0 ) return ret; ret--;
41 if ( gSystem->Load("libSTAT") < 0 ) return ret; ret--;
68733fc9 42
3953250f 43 if ( gSystem->Load("libhijing") < 0 ) return ret; ret--;
44 if ( gSystem->Load("libTHijing") < 0 ) return ret; ret--;// AliGenHijingEventHeader needed by libZDCsim.so
4f322bd0 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("libPHOSrec") < 0 ) return ret; ret--;
51 if ( gSystem->Load("libMUONcore") < 0 ) return ret; ret--;
52 if ( gSystem->Load("libMUONmapping") < 0 ) return ret; ret--;
53 if ( gSystem->Load("libMUONgeometry") < 0 ) return ret; ret--;
54 if ( gSystem->Load("libMUONcalib") < 0 ) return ret; ret--;
55 if ( gSystem->Load("libMUONraw") < 0 ) return ret; ret--;
56 if ( gSystem->Load("libMUONtrigger") < 0 ) return ret; ret--;
57 if ( gSystem->Load("libMUONbase") < 0 ) return ret; ret--;
58 if ( gSystem->Load("libMUONsim") < 0 ) return ret; ret--;
59 if ( gSystem->Load("libMUONrec") < 0 ) return ret; ret--;
60 if ( gSystem->Load("libMUONevaluation") < 0 ) return ret; ret--;
61 if ( gSystem->Load("libFMDbase") < 0 ) return ret; ret--;
62 if ( gSystem->Load("libFMDsim") < 0 ) return ret; ret--;
63 if ( gSystem->Load("libFMDrec") < 0 ) return ret; ret--;
64 if ( gSystem->Load("libPMDbase") < 0 ) return ret; ret--;
65 if ( gSystem->Load("libPMDsim") < 0 ) return ret; ret--;
66 if ( gSystem->Load("libPMDrec") < 0 ) return ret; ret--;
67 if ( gSystem->Load("libHMPIDbase") < 0 ) return ret; ret--;
68 if ( gSystem->Load("libHMPIDsim") < 0 ) return ret; ret--;
69 if ( gSystem->Load("libHMPIDrec") < 0 ) return ret; ret--;
70 if ( gSystem->Load("libT0base") < 0 ) return ret; ret--;
71 if ( gSystem->Load("libT0sim") < 0 ) return ret; ret--;
72 if ( gSystem->Load("libT0rec") < 0 ) return ret; ret--;
73 if ( gSystem->Load("libZDCbase") < 0 ) return ret; ret--;
74 if ( gSystem->Load("libZDCsim") < 0 ) return ret; ret--;
75 if ( gSystem->Load("libZDCrec") < 0 ) return ret; ret--;
76 if ( gSystem->Load("libACORDEbase") < 0 ) return ret; ret--;
77 if ( gSystem->Load("libACORDErec") < 0 ) return ret; ret--;
78 if ( gSystem->Load("libACORDEsim") < 0 ) return ret; ret--;
79 if ( gSystem->Load("libVZERObase") < 0 ) return ret; ret--;
80 if ( gSystem->Load("libVZEROrec") < 0 ) return ret; ret--;
81 if ( gSystem->Load("libVZEROsim") < 0 ) return ret; ret--;
ff3d08e8 82 if ( gSystem->Load("libEMCALraw") < 0 ) return ret; ret--;
3953250f 83 if ( gSystem->Load("libEMCALUtils") < 0 ) return ret; ret--;
84 if ( gSystem->Load("libEMCALbase") < 0 ) return ret; ret--;
85 if ( gSystem->Load("libEMCALsim") < 0 ) return ret; ret--;
86 if ( gSystem->Load("libEMCALrec") < 0 ) return ret; ret--;
87
88 if ( gSystem->Load("libTPCbase") < 0 ) return ret; ret--;
89 if ( gSystem->Load("libTPCrec") < 0 ) return ret; ret--;
90 if ( gSystem->Load("libTPCsim") < 0 ) return ret; ret--;
3953250f 91 if ( gSystem->Load("libITSbase") < 0 ) return ret; ret--;
92 if ( gSystem->Load("libITSsim") < 0 ) return ret; ret--;
93 if ( gSystem->Load("libITSrec") < 0 ) return ret; ret--;
94 if ( gSystem->Load("libTRDbase") < 0 ) return ret; ret--;
95 if ( gSystem->Load("libTRDsim") < 0 ) return ret; ret--;
96 if ( gSystem->Load("libTRDrec") < 0 ) return ret; ret--;
97 if ( gSystem->Load("libTOFbase") < 0 ) return ret; ret--;
3953250f 98 if ( gSystem->Load("libTOFsim") < 0 ) return ret; ret--;
3b594637 99 if ( gSystem->Load("libTOFrec") < 0 ) return ret; ret--;
3953250f 100
101 if ( gSystem->Load("libHLTbase") < 0 ) return ret; ret--;
102 if ( gSystem->Load("libHLTinterface") < 0 ) return ret; ret--;
103 if ( gSystem->Load("libHLTsim") < 0 ) return ret; ret--;
104 if ( gSystem->Load("libHLTrec") < 0 ) return ret; ret--;
820b4d9e 105
820b4d9e 106 if ( gSystem->Load("libMFTbase") < 0 ) return ret; ret--;
107 if ( gSystem->Load("libMFTrec") < 0 ) return ret; ret--;
108 if ( gSystem->Load("libMFTsim") < 0 ) return ret; ret--;
3953250f 109
110 return 0;
68733fc9 111
fe4da5cc 112}