One step back.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 May 2010 13:43:37 +0000 (13:43 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 May 2010 13:43:37 +0000 (13:43 +0000)
STEER/AliESDInputHandler.cxx

index b6d2ac3..35497e8 100644 (file)
@@ -143,13 +143,7 @@ Bool_t AliESDInputHandler::Notify(const char* path)
       TString esdTreeFName, esdFriendTreeFName;    
       esdTreeFName = (fTree->GetCurrentFile())->GetName();
       esdFriendTreeFName = esdTreeFName;
-      if(esdFriendTreeFName.Contains("#AliESDs.root")) {
-         TString name =  fFriendFileName;
-         name.Prepend("#");
-         esdFriendTreeFName.ReplaceAll("#AliESDs.root", name.Data());
-      } else {
-         esdFriendTreeFName.ReplaceAll("AliESDs.root", fFriendFileName.Data());
-      }
+      esdFriendTreeFName.ReplaceAll("AliESDs.root", fFriendFileName.Data());
       
       TTree* cTree = fTree->GetTree();
       if (!cTree) cTree = fTree;