]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
1. Automatically enable alien connection of the workers in case it is enabled on...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 1 Oct 2009 22:18:47 +0000 (22:18 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 1 Oct 2009 22:18:47 +0000 (22:18 +0000)
STEER/AliReconstruction.cxx

index bb309bfd3e9cb86d4d37f935d598ee03b8133ff7..f82eef660a1372fe50a06b997b1457f8379ee98f 100644 (file)
 #include <TROOT.h>
 #include <TSystem.h>
 #include <THashTable.h>
+#include <TGrid.h>
+#include <TMessage.h>
 
 #include "AliAlignObj.h"
 #include "AliCDBEntry.h"
@@ -1229,6 +1231,13 @@ Bool_t AliReconstruction::Run(const char* input)
   if (fRawReader && (chain = fRawReader->GetChain())) {
     // Proof mode
     if (gProof) {
+
+      if (gGrid)
+       gProof->Exec("TGrid::Connect(\"alien://\")",kTRUE);
+
+      TMessage::EnableSchemaEvolutionForAll(kTRUE);
+      gProof->Exec("TMessage::EnableSchemaEvolutionForAll(kTRUE)",kTRUE);
+
       gProof->AddInput(this);
       if (!fESDOutput.IsValid()) {
        fESDOutput.SetProtocol("root",kTRUE);