24 void setModel(
const std::string &background,
const std::string &
workspace,
int workspaceIndex,
25 const std::string &peaks,
bool hasDeltaFunction);
26 void setModel(
const std::string &background,
const std::vector<std::pair<std::string, size_t>> &resolutionWorkspaces,
27 const std::string &lorentzianPeaks,
const std::string &fitType,
bool hasDeltaFunction,
28 const std::vector<double> &qValues,
const bool isQDependent,
bool hasTempCorrection,
double tempValue);
33 std::optional<std::vector<std::string>>
peakPrefixes()
const {
return m_peakPrefixes; }
34 std::optional<std::string>
fitTypePrefix()
const {
return m_fitTypePrefix; }
40 void findComponentPrefixes();
41 void iterateThroughFunction(
IFunction const *func, std::string
const &prefix);
42 void setPrefix(
IFunction const *func, std::string
const &prefix);
45 bool hasDeltaFunction,
bool isQDependent,
double q,
bool hasTempCorrection,
51 IFunction_sptr createResolutionFunction(
const std::string &workspaceName,
size_t workspaceIndex);