ROOT logo
Int_t loadlibs () 
{
  // Macro which loads the libraries needed for simulation and reconstruction
  // Possible usage: In a Root session (no AliRoot) one does
  // root [0] .x loadlibs.C
  // root [1] gAlice = new AliRun("gAlice","test")           
  // root [2] AliSimulation sim
  // root [3] sim.Run()
  // root [4] AliReconstruction rec
  // root [5] rec.Run()

  Int_t ret=-1;

  if ( gSystem->Load("libPhysics") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMinuit") < 0 ) return ret; ret--;
  if ( gSystem->Load("libProof") < 0 ) return ret; ret--;

  if ( gSystem->Load("libmicrocern") < 0 ) return ret; ret--;
  if ( gSystem->Load("liblhapdf") < 0 ) return ret; ret--;
  if ( gSystem->Load("libpythia6") < 0 ) return ret; ret--;

  if ( gSystem->Load("libEG") < 0 ) return ret; ret--;
  if ( gSystem->Load("libGeom") < 0 ) return ret; ret--;
  if ( gSystem->Load("libVMC") < 0 ) return ret; ret--;

  if ( gSystem->Load("libEGPythia6") < 0 ) return ret; ret--;

  if ( gSystem->Load("libSTEERBase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libESD") < 0 ) return ret; ret--;
  if ( gSystem->Load("libGui") < 0 ) return ret; ret--;
  if ( gSystem->Load("libCDB") < 0 ) return ret; ret--;
  if ( gSystem->Load("libRAWDatabase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libRAWDatarec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libAOD") < 0 ) return ret; ret--;
  if ( gSystem->Load("libANALYSIS") < 0 ) return ret; ret--;
  if ( gSystem->Load("libSTEER") < 0 ) return ret; ret--;
  if ( gSystem->Load("libRAWDatasim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libFASTSIM") < 0 ) return ret; ret--;
  if ( gSystem->Load("libEVGEN") < 0 ) return ret; ret--;
  if ( gSystem->Load("libAliPythia6") < 0 ) return ret; ret--;
  if ( gSystem->Load("libSTAT") < 0 ) return ret; ret--;

  if ( gSystem->Load("libhijing") < 0 ) return ret; ret--;
  if ( gSystem->Load("libTHijing") < 0 ) return ret; ret--;// AliGenHijingEventHeader needed by libZDCsim.so

  if ( gSystem->Load("libSTRUCT") < 0 ) return ret; ret--;
  if ( gSystem->Load("libPHOSUtils") < 0 ) return ret; ret--;
  if ( gSystem->Load("libPHOSbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libPHOSsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libPHOSrec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMUONcore") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMUONmapping") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMUONgeometry") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMUONcalib") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMUONraw") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMUONtrigger") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMUONbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMUONsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMUONrec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMUONevaluation") < 0 ) return ret; ret--;
  if ( gSystem->Load("libFMDbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libFMDsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libFMDrec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libPMDbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libPMDsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libPMDrec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libHMPIDbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libHMPIDsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libHMPIDrec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libT0base") < 0 ) return ret; ret--;
  if ( gSystem->Load("libT0sim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libT0rec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libZDCbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libZDCsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libZDCrec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libACORDEbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libACORDErec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libACORDEsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libVZERObase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libVZEROrec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libVZEROsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libEMCALraw") < 0 ) return ret; ret--;
  if ( gSystem->Load("libEMCALUtils") < 0 ) return ret; ret--;
  if ( gSystem->Load("libEMCALbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libEMCALsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libEMCALrec") < 0 ) return ret; ret--;

  if ( gSystem->Load("libTPCbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libTPCrec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libTPCsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libITSbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libITSsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libITSrec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libTRDbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libTRDsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libTRDrec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libTOFbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libTOFsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libTOFrec") < 0 ) return ret; ret--;

  if ( gSystem->Load("libHLTbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libHLTinterface") < 0 ) return ret; ret--;
  if ( gSystem->Load("libHLTsim") < 0 ) return ret; ret--;
  if ( gSystem->Load("libHLTrec") < 0 )  return ret; ret--;
	
  if ( gSystem->Load("libMFTbase") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMFTrec") < 0 ) return ret; ret--;
  if ( gSystem->Load("libMFTsim") < 0 ) return ret; ret--;

  return 0;

}
 loadlibs.C:1
 loadlibs.C:2
 loadlibs.C:3
 loadlibs.C:4
 loadlibs.C:5
 loadlibs.C:6
 loadlibs.C:7
 loadlibs.C:8
 loadlibs.C:9
 loadlibs.C:10
 loadlibs.C:11
 loadlibs.C:12
 loadlibs.C:13
 loadlibs.C:14
 loadlibs.C:15
 loadlibs.C:16
 loadlibs.C:17
 loadlibs.C:18
 loadlibs.C:19
 loadlibs.C:20
 loadlibs.C:21
 loadlibs.C:22
 loadlibs.C:23
 loadlibs.C:24
 loadlibs.C:25
 loadlibs.C:26
 loadlibs.C:27
 loadlibs.C:28
 loadlibs.C:29
 loadlibs.C:30
 loadlibs.C:31
 loadlibs.C:32
 loadlibs.C:33
 loadlibs.C:34
 loadlibs.C:35
 loadlibs.C:36
 loadlibs.C:37
 loadlibs.C:38
 loadlibs.C:39
 loadlibs.C:40
 loadlibs.C:41
 loadlibs.C:42
 loadlibs.C:43
 loadlibs.C:44
 loadlibs.C:45
 loadlibs.C:46
 loadlibs.C:47
 loadlibs.C:48
 loadlibs.C:49
 loadlibs.C:50
 loadlibs.C:51
 loadlibs.C:52
 loadlibs.C:53
 loadlibs.C:54
 loadlibs.C:55
 loadlibs.C:56
 loadlibs.C:57
 loadlibs.C:58
 loadlibs.C:59
 loadlibs.C:60
 loadlibs.C:61
 loadlibs.C:62
 loadlibs.C:63
 loadlibs.C:64
 loadlibs.C:65
 loadlibs.C:66
 loadlibs.C:67
 loadlibs.C:68
 loadlibs.C:69
 loadlibs.C:70
 loadlibs.C:71
 loadlibs.C:72
 loadlibs.C:73
 loadlibs.C:74
 loadlibs.C:75
 loadlibs.C:76
 loadlibs.C:77
 loadlibs.C:78
 loadlibs.C:79
 loadlibs.C:80
 loadlibs.C:81
 loadlibs.C:82
 loadlibs.C:83
 loadlibs.C:84
 loadlibs.C:85
 loadlibs.C:86
 loadlibs.C:87
 loadlibs.C:88
 loadlibs.C:89
 loadlibs.C:90
 loadlibs.C:91
 loadlibs.C:92
 loadlibs.C:93
 loadlibs.C:94
 loadlibs.C:95
 loadlibs.C:96
 loadlibs.C:97
 loadlibs.C:98
 loadlibs.C:99
 loadlibs.C:100
 loadlibs.C:101
 loadlibs.C:102
 loadlibs.C:103
 loadlibs.C:104
 loadlibs.C:105
 loadlibs.C:106
 loadlibs.C:107
 loadlibs.C:108
 loadlibs.C:109
 loadlibs.C:110
 loadlibs.C:111
 loadlibs.C:112
 loadlibs.C:113