Disable TProofLite checking
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Jan 2010 15:33:42 +0000 (15:33 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Jan 2010 15:33:42 +0000 (15:33 +0000)
PWG2/FEMTOSCOPY/macros/AddTaskFemto.C

index 257f390..ad62ea8 100644 (file)
@@ -32,13 +32,13 @@ AliAnalysisTaskFemto *AddTaskFemto(const char *configMacroName="ConfigFemtoAnaly
 //  gSystem->SetIncludePath("-I$ROOTSYS/include  -I./PWG2AOD/AOD -I./PWG2femtoscopy/FEMTOSCOPY/AliFemto -I./PWG2femtoscopyUser/FEMTOSCOPY/AliFemtoUser -I$ALICE_ROOT/include");
 
   if (TProofMgr::GetListOfManagers()->GetEntries()) {
-    if (dynamic_cast<TProofLite *> gProof) {
-      char *macrocommand[10000];
-      sprintf(macrocommand, ".L %s", configMacroName);
-      gProof->Exec(macrocommand);
-    }
-    else
-      gProof->Load(configMacroName);
+//     if (dynamic_cast<TProofLite *> gProof) {
+//       char *macrocommand[10000];
+//       sprintf(macrocommand, ".L %s", configMacroName);
+//       gProof->Exec(macrocommand);
+//     }
+//     else
+    gProof->Load(configMacroName);
   }  
   //  gROOT->LoadMacro("ConfigFemtoAnalysis.C++");