message: PWGCF: PionPionFemto/ConfigFemtoAnalysisRun2.C - Added support for AliFemtoModelCorrFctnDetaDPhiStar and fixed missing variable.
diff: @@ -165,7 +165,7 @@ ConfigFemtoAnalysis(const TString& param_str="")
  analysis->AddCorrFctn(avgsep_cf);
  }
  - if (macro_config.do_deltaeta_deltaphi_cf) {
  + if (macro_config.do_deltaeta_deltaphi_cf && !analysis_config.is_mc_analysis) {
  AliFemtoCorrFctnDPhiStarDEta *deta_dphi_cf = new AliFemtoCorrFctnDPhiStarDEta("_", cut_config.pair_phi_star_radius,
  // 100, 0.0, 1.6,
  // 100, 0.0, 2.0
  @@ -175,10 +175,14 @@ ConfigFemtoAnalysis(const TString& param_str="")
  75, -0.1, 0.1
  );
  deta_dphi_cf->SetMagneticFieldSign(1);
  -
  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) {
  TString cf_title = TString("_qinv_") + pair_type_str;
  int bin_count = (int)TMath::Abs(macro_config.qinv_max_GeV * 1000 / macro_config.qinv_bin_size_MeV));
  @@ -191,6 +195,18 @@ ConfigFemtoAnalysis(const TString& param_str="")
  model_manager->AcceptWeightGenerator(new AliFemtoModelWeightGeneratorBasic());
  }
  + if (analysis_config.is_mc_analysis && macro_config.do_deltaeta_deltaphi_cf) {
  + AliFemtoModelCorrFctnDEtaDPhiStar *mc_deta_dphistar_cf =
  + AliFemtoModelCorrFctnDEtaDPhiStar::Build()
  + .GroupOutput(true)
  + .Radius(cut_config.pair_phi_star_radius)
  + // .Phi(72, -0.1, 0.1).Eta(72, -0.1, 0.2)
  + .Build();
  + mc_deta_dphistar_cf->ConnectToManager(model_manager);
  +
  + analysis->AddCorrFctn(mc_deta_dphistar_cf);
  + }
  +
  if (macro_config.do_trueq_cf) {
  AliFemtoModelCorrFctn *model_cf = new AliFemtoModelCorrFctnTrueQ("_MC_CF", QINV_BIN_COUNT, QINV_MIN_VAL, QINV_MAX_VAL);
  model_cf->ConnectToManager(model_manager);
  