message: PWGCF: AliFemtoModelCorrFctnTrueQ3D - Add constructor method to Paramters member-class
diff: @@ -30,17 +30,57 @@ public:
  TString title;
  AliFemtoModelManager *mc_manager;
  - static Parameters Default() { return {56, -0.14, 0.14, "CF_TrueQ3D"}; }
  - Parameters Title(const TString& title) {
  + /// Build Parameters object with default values
  + static Parameters Default()
  + {
  + return {
  + 56, -0.14, 0.14, // histogram bin-count & range
  + "CF_TrueQ3D", // title
  + NULL // pointer to MC manager
  + };
  + }
  +
  + Parameters Title(const TString& title) const {
  Parameters p(*this);
  p.title = title;
  return p;
  }
  - Parameters Manager(AliFemtoModelManager *manager) {
  + Parameters Manager(AliFemtoModelManager *manager) const {
  Parameters p(*this);
  p.mc_manager = manager;
  return p;
  }
  + Parameters QRange(Double_t max) const {
  + Parameters p(*this);
  + p.qmax = std::abs(max);
  + p.qmin = -p.qmax;
  + return p;
  + }
  + Parameters QRange(Double_t min, Double_t max) const {
  + Parameters p(*this);
  + p.qmax = max;
  + p.qmin = min;
  + return p;
  + }
  + Parameters NBin(UInt_t nbins) const {
  + Parameters p(*this);
  + p.bin_count = nbins;
  + return p;
  + }
  + Parameters AxisInfo(UInt_t nbins, Double_t q_max) const {
  + Parameters p(*this);
  + p.bin_count = nbins;
  + p.qmax = std::abs(q_max);
  + p.qmin = -p.qmax;
  + return p;
  + }
  + Parameters AxisInfo(UInt_t nbins, Double_t q_min, Double_t q_max) const {
  + Parameters p(*this);
  + p.bin_count = nbins;
  + p.qmin = q_min;
  + p.qmax = q_max;
  + return p;
  + }
  operator AliFemtoModelCorrFctnTrueQ3D*() {
  return new AliFemtoModelCorrFctnTrueQ3D(*this);
  }
  