]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG/FLOW/Tasks/AliAnalysisTaskFlowEvent.cxx
fix typo in partial derivative which is used to calculate correlated errors
[u/mrichter/AliRoot.git] / PWG / FLOW / Tasks / AliAnalysisTaskFlowEvent.cxx
index e678dcc97c2a2c74c40650b108f5b8b02204e399..c9461d10ce304dfea31fa704f985f9cf42f2991e 100644 (file)
@@ -336,6 +336,7 @@ void AliAnalysisTaskFlowEvent::UserExec(Option_t *)
 
     //    if (myESD)
     fFlowEvent->SetReferenceMultiplicity(fCutsEvent->GetReferenceMultiplicity(InputEvent(),mcEvent));
+    fFlowEvent->SetCentrality(fCutsEvent->GetCentrality(InputEvent(),mcEvent));
     if (mcEvent && mcEvent->GenEventHeader()) fFlowEvent->SetMCReactionPlaneAngle(mcEvent);
   }
 
@@ -563,6 +564,9 @@ void AliAnalysisTaskFlowEvent::UserExec(Option_t *)
   //do we want to serve shullfed tracks to everybody?
   fFlowEvent->SetShuffleTracks(fShuffleTracks);
 
+  // associate the mother particles to their daughters in the flow event (if any)
+  fFlowEvent->FindDaughters();
+
   //fListHistos->Print();
   //fOutputFile->WriteObject(fFlowEvent,"myFlowEventSimple");
   PostData(1,fFlowEvent);