message: FemtoAnalysisPionPion - Add ShareQuality to cf list
diff: #error "This file requires use of the c++11 standard (ROOT6)"
  #endif
  -#if !defined(__CINT__) && !defined(__CLING__)
  -
  #include "AliFemtoAnalysisPionPion.h"
  #include "AliFemtoManager.h"
  #include "AliFemtoCorrFctnDEtaDPhiStar.h"
  #include "AliFemtoAvgSepCorrFctn.h"
  +#include "AliFemtoShareQualityCorrFctn.h"
  #include "AliFemtoCorrFctnDPhiStarDEta.h"
  #include "AliFemtoQinvCorrFctn.h"
  #include "AliFemtoModelWeightGeneratorBasic.h"
  #include <TNamed.h>
  #include <random>
  -#endif
  using AFAPP = AliFemtoAnalysisPionPion;
  @@ -145,6 +143,8 @@ struct MacroParams : public TNamed {
  bool do_trueq3dbp_cf { false };
  bool do_kt_trueq3dbp_cf { false };
  + bool do_sharequality_cf { false };
  +
  bool do_truedetadphi_cf { false };
  bool do_kt_truedetadphi_cf { false };
  @@ -314,6 +314,12 @@ ConfigFemtoAnalysis(const TString& param_str="")
  analysis->AddStanardCutMonitors();
  + const float QINV_MIN_VAL = 0.0,
  + QINV_MAX_VAL = macro_config.qinv_max_GeV;
  +
  + const int QINV_BIN_COUNT = TMath::Abs((QINV_MAX_VAL - QINV_MIN_VAL) * 1000 / macro_config.qinv_bin_size_MeV);
  +
  +
  if (macro_config.do_avg_sep_cf) {
  auto *avgsep_cf = new AliFemtoAvgSepCorrFctn("AvgSep",
  macro_config.avgsep_nbins,
  @@ -322,6 +328,12 @@ ConfigFemtoAnalysis(const TString& param_str="")
  analysis->AddCorrFctn(avgsep_cf);
  }
  + if (macro_config.do_sharequality_cf) {
  + auto *cf = new AliFemtoShareQualityCorrFctn("",
  + QINV_BIN_COUNT, QINV_MIN_VAL, QINV_MAX_VAL);
  + analysis->AddCorrFctn(cf);
  + }
  +
  if (macro_config.do_kt_avg_sep_cf) {
  auto *avgsep_cf = new AliFemtoAvgSepCorrFctn("",
  macro_config.avgsep_nbins,
  @@ -348,11 +360,6 @@ ConfigFemtoAnalysis(const TString& param_str="")
  analysis->AddCorrFctn(deta_dphi_cf);
  }
  - const float QINV_MIN_VAL = 0.0,
  - QINV_MAX_VAL = macro_config.qinv_max_GeV;
  -
  - const int QINV_BIN_COUNT = TMath::Abs((QINV_MAX_VAL - QINV_MIN_VAL) * 1000 / macro_config.qinv_bin_size_MeV);
  -
  if (macro_config.do_qinv_cf) {
  AliFemtoCorrFctn *qinv_cf = new AliFemtoQinvCorrFctn("_qinv", QINV_BIN_COUNT, QINV_MIN_VAL, QINV_MAX_VAL);
  analysis->AddCorrFctn(qinv_cf);
  