]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/FLOW/AliFlowCommon/AliFittingQDistribution.cxx
weights correctly implemented for FQD
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommon / AliFittingQDistribution.cxx
index becab152c6a962471588de14fdba501544236acd..a7105c6f768153c18f84b75d8f29b0cb10d62fb3 100644 (file)
@@ -64,9 +64,7 @@ AliFittingQDistribution::AliFittingQDistribution():
  fCommonHists(NULL),
  fCommonHistsResults(NULL),
  fQDistributionFQD(NULL),
- fUsePhiWeights(kFALSE),
- fUsePtWeights(kFALSE),
- fUseEtaWeights(kFALSE)
+ fUsePhiWeights(kFALSE)
 {
  //constructor 
  fHistList = new TList();
@@ -148,7 +146,7 @@ void AliFittingQDistribution::Make(AliFlowEventSimple* anEvent)
  AliFlowVector fQVector;
  fQVector.Set(0.,0.);
  fQVector.SetMult(0);
- fQVector=anEvent->GetQ(n,fWeightsList,fUsePhiWeights,fUsePtWeights,fUseEtaWeights);                                                                                  
+ fQVector=anEvent->GetQ(n,fWeightsList,fUsePhiWeights);                                                                                  
                                                                                                                                                                       
  //multiplicity
  fAvMultIntFlowFQD->Fill(0.,fQVector.GetMult(),1.);