]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnCutMgr.cxx
Since there are some cuts which require to take informations from the event itself
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutMgr.cxx
index 6e4dc88a801bb73896597dbf6ac94759aed928dc..879b150e03ffb22a4c0aaae1349a56ca35f46b27 100644 (file)
@@ -100,3 +100,18 @@ Bool_t AliRsnCutMgr::IsSelected(AliRsnCut::ETarget type, TObject*const obj)
 
   return kTRUE;
 }
+
+//_____________________________________________________________________________
+void AliRsnCutMgr::SetEvent(AliRsnEvent *event)
+{
+//
+// Sets reference event in all cut sets
+//
+
+  Int_t i;
+  for (i = 0; i < AliRsnCut::kLastCutTarget; i++)
+  {
+    if (fCutSets[i]) fCutSets[i]->SetEvent(event);
+  }
+}
+