AliPhysics  64f4410 (64f4410)
LoadLibs.C
Go to the documentation of this file.
1 void
2 LoadOne(const char* cls, const char* lib,
3  Bool_t verbose=false,
4  Bool_t pause=false)
5 {
6  gROOT->LoadClass(cls, lib);
7  if (!verbose) return;
8  Info("", "Current libraries after loading %s", lib);
9  gSystem->ListLibraries();
10 }
11 
17 void
18 LoadLibs(bool alsoBase=false, bool alsoHit=false)
19 {
20 
21  LoadOne("TVirtualMC", "libVMC");
22  LoadOne("TLorentzVector", "libPhysics");
23  LoadOne("TLinearFitter", "libMinuit");
24  LoadOne("TTree", "libTree");
25  LoadOne("AliVEvent", "libSTEERBase");
26  LoadOne("AliESDEvent", "libESD");
27  LoadOne("AliESDEvent", "libAOD");
28  LoadOne("AliAnalysisManager", "libANALYSIS");
29  LoadOne("AliAnalysisTaskSE", "libANALYSISalice");
30  LoadOne("AliOADBPhysicsSelection", "libOADB");
31  LoadOne("AliAODForwardMult", "libPWGLFforward2");
32 
33  if (!alsoBase) return;
34  LoadOne("TProof", "libProof");
35  LoadOne("TGFrame", "libGui");
36  LoadOne("TSAXParser", "libXMLParser");
37  LoadOne("AliCDBManager", "libCDB");
38  LoadOne("AliRawVEvent", "libRAWDatabase");
39  LoadOne("AliHit", "libSTEER");
40  LoadOne("AliGenMC", "libEVGEN");
41  LoadOne("AliGenMC", "libFASTSIM");
42 
43  // Printf("AliFMDMCTrackELoss=%p", gROOT->GetClass("AliFMDMCTrackELoss"));
44 
45  if (!alsoHit) return;
46 
47  LoadOne("AliFMDDigit" "libFMDbase");
48  LoadOne("AliFMDHit", "libFMDsim");
49  LoadOne("AliFMDMCHitEnergyFitter", "libPWGLFforwardhit");
50 
51 }
52 //
53 // EOF
54 //
TSystem * gSystem
void LoadOne(const char *cls, const char *lib, Bool_t verbose=false, Bool_t pause=false)
Definition: LoadLibs.C:2
bool Bool_t
Definition: External.C:53
void LoadLibs(bool alsoBase=false, bool alsoHit=false)
Definition: LoadLibs.C:18