]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDInputHandler.cxx
fix for changed TString::Tokenize behavior in new ROOT
[u/mrichter/AliRoot.git] / STEER / AliESDInputHandler.cxx
index e09eb67f3ebe889075863a50d32682e6df2c4c9f..d5cbbfe5e2371505fbf4dadea7c7c38ea5c6d3cf 100644 (file)
@@ -95,6 +95,8 @@ void AliESDInputHandler::SwitchOffBranches() const {
   Int_t ntok = tokens->GetEntries();
   for (Int_t i = 0; i < ntok; i++)  {
     TString str = ((TObjString*) tokens->At(i))->GetString();
+    if (str.Length() == 0)
+       continue;
     fTree->SetBranchStatus(Form("%s%s%s","*", str.Data(), "*"), 0);
     AliInfo(Form("Branch %s switched off \n", str.Data()));
   }