]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Save also EventCut histograms
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Jun 2008 10:09:39 +0000 (10:09 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Jun 2008 10:09:39 +0000 (10:09 +0000)
PWG2/FEMTOSCOPY/AliFemto/AliFemtoSimpleAnalysis.cxx

index eb72b19a093bbf634cba141fbdc66036e3d01a1e..dfa513d9c7643191ca8447849d4e3cd9138814ec 100644 (file)
@@ -572,6 +572,13 @@ TList* AliFemtoSimpleAnalysis::GetOutputList()
     tOutputList->Add(obj);
   }
 
+  TList *eventCut = fEventCut->GetOutputList();
+
+  TIter nextevent(eventCut);
+  while (TObject *obj = nextevent()) {
+    tOutputList->Add(obj);
+  }
+
   AliFemtoCorrFctnIterator iter;
   for (iter=fCorrFctnCollection->begin(); iter!=fCorrFctnCollection->end();iter++){
     TList *tListCf = (*iter)->GetOutputList();