Fix
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Oct 2010 18:53:18 +0000 (18:53 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Oct 2010 18:53:18 +0000 (18:53 +0000)
PWG4/TwoPartCorr/mergeCorr.C

index 02ba966..4cb297c 100644 (file)
@@ -285,6 +285,7 @@ void mergeCorr(Int_t nEvents,
   newTree->Branch("header",&newHeader, 32*1024, 99);
   newTree->Branch("parts",&newParts, 256*1024, 99);
   newTree->Branch("tracklets",&newTracklets, 256*1024, 99);
+  newTree->SetDirectory(newFile);
   Int_t newEntries = 0;
   for (map<ULong64_t, EvInfo*>::iterator it = einfos.begin();it!=einfos.end();++it) {
     Short_t id = it->second->fArrId;