nicer printout
[u/mrichter/AliRoot.git] / macros / loadlibsrec.C
CommitLineData
3953250f 1Int_t loadlibsrec ()
161116d7 2{
3 // Macro which loads the libraries needed for reconstruction
4 // Possible usage: In a Root session (no AliRoot) one does
5 // root [0] .x loadlibsrec.C
6 // root [1] gAlice = new AliRun("gAlice","test")
7 // root [2] AliReconstruction rec
8 // root [3] rec.Run()
9
3953250f 10 Int_t ret=-1;
161116d7 11
3953250f 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("libGeom") < 0 ) return ret; ret--;
17 if ( gSystem->Load("libVMC") < 0 ) return ret; ret--;
3b2752db 18
3953250f 19 if ( gSystem->Load("libNet") < 0 ) return ret; ret--;
20 if ( gSystem->Load("libTree") < 0 ) return ret; ret--;
21 if ( gSystem->Load("libGui") < 0 ) return ret; ret--;
161116d7 22
3953250f 23 if ( gSystem->Load("libmicrocern") < 0 ) return ret; ret--;
24 if ( gSystem->Load("libSTEERBase") < 0 ) return ret; ret--;
25 if ( gSystem->Load("libESD") < 0 ) return ret; ret--;
26 if ( gSystem->Load("libCDB") < 0 ) return ret; ret--;
27 if ( gSystem->Load("libRAWDatabase") < 0 ) return ret; ret--;
28 if ( gSystem->Load("libRAWDatarec") < 0 ) return ret; ret--;
29 if ( gSystem->Load("libAOD") < 0 ) return ret; ret--;
42457748 30 if ( gSystem->Load("libANALYSIS") < 0 ) return ret; ret--;
31
3953250f 32 if ( gSystem->Load("libSTEER") < 0 ) return ret; ret--;
33 if ( gSystem->Load("libRAWDatasim") < 0 ) return ret; ret--;
ebdb6a16 34
3953250f 35 if ( gSystem->Load("libSTRUCT") < 0 ) return ret; ret--;
36 if ( gSystem->Load("libPHOSUtils") < 0 ) return ret; ret--;
37 if ( gSystem->Load("libPHOSbase") < 0 ) return ret; ret--;
38 if ( gSystem->Load("libPHOSrec") < 0 ) return ret; ret--;
39 if ( gSystem->Load("libMUONcore") < 0 ) return ret; ret--;
40 if ( gSystem->Load("libMUONmapping") < 0 ) return ret; ret--;
41 if ( gSystem->Load("libMUONgeometry") < 0 ) return ret; ret--;
42 if ( gSystem->Load("libMUONcalib") < 0 ) return ret; ret--;
43 if ( gSystem->Load("libMUONraw") < 0 ) return ret; ret--;
44 if ( gSystem->Load("libMUONtrigger") < 0 ) return ret; ret--;
45 if ( gSystem->Load("libMUONbase") < 0 ) return ret; ret--;
46 if ( gSystem->Load("libMUONsim") < 0 ) return ret; ret--;
47 if ( gSystem->Load("libMUONrec") < 0 ) return ret; ret--;
48 if ( gSystem->Load("libFMDbase") < 0 ) return ret; ret--;
49 if ( gSystem->Load("libFMDsim") < 0 ) return ret; ret--;
50 if ( gSystem->Load("libFMDrec") < 0 ) return ret; ret--;
51 if ( gSystem->Load("libPMDbase") < 0 ) return ret; ret--;
52 if ( gSystem->Load("libPMDsim") < 0 ) return ret; ret--;
53 if ( gSystem->Load("libPMDrec") < 0 ) return ret; ret--;
54 if ( gSystem->Load("libHMPIDbase") < 0 ) return ret; ret--;
55 if ( gSystem->Load("libHMPIDsim") < 0 ) return ret; ret--;
56 if ( gSystem->Load("libHMPIDrec") < 0 ) return ret; ret--;
57 if ( gSystem->Load("libT0base") < 0 ) return ret; ret--;
58 if ( gSystem->Load("libT0sim") < 0 ) return ret; ret--;
59 if ( gSystem->Load("libT0rec") < 0 ) return ret; ret--;
60 if ( gSystem->Load("libZDCbase") < 0 ) return ret; ret--;
61 if ( gSystem->Load("libZDCsim") < 0 ) return ret; ret--;
62 if ( gSystem->Load("libZDCrec") < 0 ) return ret; ret--;
63 if ( gSystem->Load("libACORDEbase") < 0 ) return ret; ret--;
64 if ( gSystem->Load("libACORDErec") < 0 ) return ret; ret--;
65 if ( gSystem->Load("libVZERObase") < 0 ) return ret; ret--;
66 if ( gSystem->Load("libVZEROrec") < 0 ) return ret; ret--;
67 if ( gSystem->Load("libVZEROsim") < 0 ) return ret; ret--;
ff3d08e8 68 if ( gSystem->Load("libEMCALraw") < 0 ) return ret; ret--;
3953250f 69 if ( gSystem->Load("libEMCALUtils") < 0 ) return ret; ret--;
70 if ( gSystem->Load("libEMCALbase") < 0 ) return ret; ret--;
71 if ( gSystem->Load("libEMCALsim") < 0 ) return ret; ret--;
72 if ( gSystem->Load("libEMCALrec") < 0 ) return ret; ret--;
73 if ( gSystem->Load("libTPCbase") < 0 ) return ret; ret--;
74 if ( gSystem->Load("libTPCrec") < 0 ) return ret; ret--;
75 if ( gSystem->Load("libTPCsim") < 0 ) return ret; ret--;
76 if ( gSystem->Load("libITSbase") < 0 ) return ret; ret--;
77 if ( gSystem->Load("libITSsim") < 0 ) return ret; ret--;
78 if ( gSystem->Load("libITSrec") < 0 ) return ret; ret--;
79 if ( gSystem->Load("libSTAT") < 0 ) return ret; ret--;
80 if ( gSystem->Load("libTRDbase") < 0 ) return ret; ret--;
81 if ( gSystem->Load("libTRDsim") < 0 ) return ret; ret--;
82 if ( gSystem->Load("libTRDrec") < 0 ) return ret; ret--;
83 if ( gSystem->Load("libTOFbase") < 0 ) return ret; ret--;
3953250f 84 if ( gSystem->Load("libTOFsim") < 0 ) return ret; ret--;
3b594637 85 if ( gSystem->Load("libTOFrec") < 0 ) return ret; ret--;
820b4d9e 86 #ifdef MFT_UPGRADE
87 if ( gSystem->Load("libMFTbase") < 0 ) return ret; ret--;
88 if ( gSystem->Load("libMFTrec") < 0 ) return ret; ret--;
89 if ( gSystem->Load("libMFTsim") < 0 ) return ret; ret--;
90 #endif
3953250f 91 if ( gSystem->Load("libHLTbase") < 0 ) return ret; ret--;
92
93 return 0;
161116d7 94}