]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/FLOW/AliFlowTasks/AliAnalysisTaskCumulants.cxx
uncertainties back in, incase of weights still behaving funny
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowTasks / AliAnalysisTaskCumulants.cxx
index 05f9cb80b7a36d0788cefa0e4736d4b98ff4f237..c08de8e8d354ea348f4a522ed6e183af0e70d151 100644 (file)
@@ -399,6 +399,9 @@ void AliAnalysisTaskCumulants::Terminate(Option_t *)
   
   //average values of Q-vector components (1st bin: <Q_x>, 2nd bin: <Q_y>, 3rd bin: <(Q_x)^2>, 4th bin: <(Q_y)^2>) 
   TProfile *qVectorComponents = dynamic_cast<TProfile*>(fListHistos->FindObject("fQVectorComponentsGFC"));
+  
+  //<w^2> 
+  TProfile *averageOfSquaredWeight = dynamic_cast<TProfile*>(fListHistos->FindObject("fAverageOfSquaredWeight"));
       
   /*
   TProfile2D *diffFlowPtGenFunRe0 = dynamic_cast<TProfile2D*>(fListHistos->FindObject("fdiffFlowPtGenFunRe0"));
@@ -485,6 +488,8 @@ void AliAnalysisTaskCumulants::Terminate(Option_t *)
   
   fGFC->SetQVectorComponents(qVectorComponents);
   
+  fGFC->SetAverageOfSquaredWeight(averageOfSquaredWeight);
+  
   fGFC->Finish();
   
   //----------------------------------------------------