Using TEntryLists in the local case as well
authorpanos <panos@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Jul 2007 07:52:15 +0000 (07:52 +0000)
committerpanos <panos@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Jul 2007 07:52:15 +0000 (07:52 +0000)
ANALYSIS/AliTagAnalysis.cxx

index 5826fe9..bfe382b 100644 (file)
@@ -164,7 +164,8 @@ TChain *AliTagAnalysis::QueryTags(AliRunTagCuts *runTagCuts, AliLHCTagCuts *lhcT
            turl = evTag->GetTURL(); 
            path = evTag->GetPath();
            fLocalList->SetTreeName(fAliceFile.Data());
-           fLocalList->SetFileName(turl.Data());
+           if(turl!="") fLocalList->SetFileName(turl.Data());
+           else fLocalList->SetFileName(path.Data());
            if(evTagCuts->IsAccepted(evTag)) fLocalList->Enter(i);
          }//event loop