message: FemtoAnalysisPionPion: Allow fractional centrality
diff: @@ -86,7 +86,7 @@ struct MacroParams : public TNamed {
  MacroParams(PionAnalysis::AnalysisParams &a, PionAnalysis::CutParams &c, TString params);
  - std::vector<std::pair<int,int>> centrality_ranges;
  + std::vector<std::pair<double,double>> centrality_ranges;
  std::set<PionAnalysis::PionType> pair_codes;
  std::vector<float> kt_ranges;
  @@ -331,7 +331,7 @@ ConfigFemtoAnalysis(const TString& param_str="")
  : "??";
  // build unique analysis name from centrality and pair types
  - const TString analysis_name = Form("PiPiAnalysis_%02d_%02d_%s",
  + const TString analysis_name = Form("PiPiAnalysis_%02g_%02g_%s",
  centrality_range.first,
  centrality_range.second,
  pair_type_str);
  @@ -779,9 +779,9 @@ BuildConfiguration(const TString &text,
  TObjArray *subrange = range_group->String().Tokenize(":");
  TIter next_subrange(subrange);
  TObjString *subrange_it = (TObjString *)next_subrange();
  - TString prev = TString::Format("%02d", subrange_it->String().Atoi());
  + TString prev = TString::Format("%f", subrange_it->String().Atof());
  while ((subrange_it = (TObjString *)next_subrange())) {
  - TString next = TString::Format("%02d", subrange_it->String().Atoi());
  + TString next = TString::Format("%f", subrange_it->String().Atof());
  cmd = macro_varname + "->centrality_ranges.emplace_back(" + prev + "," + next + ");";
  gROOT->ProcessLineFast(cmd);
  