[ROOT-5387] Adding missing SetName method to MinuitParameter class Created: 26/Jul/13  Updated: 12/Jun/14  Resolved: 12/Jun/14

Status: Closed
Project: ROOT
Component/s: Math Libraries
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: High
Reporter: Jiri Prochazka Assignee: Lorenzo Moneta
Resolution: Completed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

PlannedEnd:
PlannedStart:
Originator Email: jiri.prochazka@cern.ch
Bug / Feature: Feature request
Development:

 Description   

1) MinuitParameter class:
http://root.cern.ch/root/html/ROOT__Minuit2__MinuitParameter.html

Has methods:
const string& GetName() const
const char* Name() const

But does not have, e.g.,:
void SetName(const string& name)
(ROOT.Fit.ParameterSettings class has equivalent method)

Would it be possible to add SetName method to MinuitParameter class which would allow to set the name?

2) MnUserParameters class:
http://root.cern.ch/root/html/ROOT__Minuit2__MnUserParameters.html

Has methods:
const string& GetName(unsigned int) const

But does not have, e.g.,:
void SetName(unsigned int i, const string& name)

Would it be possible to add also this method to the MnUserParameters class?

Mainly the MinuitParameter::SetName method is currently blocking me a lot, If the methods could be added I would be very gratefull! Thanks!



 Comments   
Comment by Lorenzo Moneta [ 12/Jun/14 ]

Implemented in 5.34 patches for 5.34.19 and in 6.00.00

Generated at Sun Sep 22 02:17:21 CEST 2019 using Jira 7.13.1#713001-sha1:5e06076c2d215a6f699b7e5c90ab2fae7ba5a1ce.