Option for base libraries
authorcholm <Christian.Holm.Christensen@cern.ch>
Mon, 1 Dec 2014 10:10:03 +0000 (11:10 +0100)
committercholm <Christian.Holm.Christensen@cern.ch>
Mon, 1 Dec 2014 10:10:03 +0000 (11:10 +0100)
PWGLF/FORWARD/analysis2/scripts/LoadLibs.C

index d2a97f2..f4976da 100644 (file)
@@ -4,7 +4,7 @@
  * @ingroup pwglf_forward_scripts
  */
 void
-LoadLibs(bool alsoHit=false)
+LoadLibs(bool alsoBase=false, bool alsoHit=false)
 {
 
   gROOT->LoadClass("TVirtualMC",              "libVMC");
@@ -19,15 +19,20 @@ LoadLibs(bool alsoHit=false)
   gROOT->LoadClass("AliOADBPhysicsSelection"  "libOADB");
   gROOT->LoadClass("AliAODForwardMult",       "libPWGLFforward2");
 
-  // Printf("AliFMDMCTrackELoss=%p", gROOT->GetClass("AliFMDMCTrackELoss"));
-
-  if (!alsoHit) return;
-  
+  if (!alsoBase) return;
   gROOT->LoadClass("TProof",                  "libProof");
   gROOT->LoadClass("TGFrame",                 "libGui");
+  gROOT->LoadClass("TSAXParser",              "libXMLParser");
   gROOT->LoadClass("AliCDBManager",           "libCDB");
   gROOT->LoadClass("AliRawVEvent",            "libRAWDatabase");
   gROOT->LoadClass("AliHit",                  "libSTEER");
+  gROOT->LoadClass("AliGenMC",                "libEVGEN");
+  gROOT->LoadClass("AliGenMC",                "libFASTSIM");
+  
+  // Printf("AliFMDMCTrackELoss=%p", gROOT->GetClass("AliFMDMCTrackELoss"));
+
+  if (!alsoHit) return;
+  
   gROOT->LoadClass("AliFMDDigit"              "libFMDbase");
   gROOT->LoadClass("AliFMDHit",               "libFMDsim");
   gROOT->LoadClass("AliFMDMCHitEnergyFitter", "libPWGLFforwardhit");