You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BCEfficiencyFitter creates a BCDataSet in the constructor for the purposes (I believe) of creating the error band during marginalization. But the data set is not used as an actual data set during the calculation---the class actually uses the histograms passed to it for calculation. This is misleading since a user could believe that if he or she changes the data set, the calculation will change accordingly, when actually one needs to change the histograms.
I think there is nothing to in this case because all subclasses of BCFitter have a specific data format: histogram, graph etc. that is distinct from BCDataSet. In addition, we don't allow the user to access the data set.
In BCFitter.h:
classBCFitter {
...
private:/** Don't allow user to accidentally set the data set, * as it is used internally. */using BCModel::SetDataSet;
using BCModel::GetDataSet;
}
Activity
fredRos commentedon Apr 10, 2018
I think there is nothing to in this case because all subclasses of
BCFitterhave a specific data format: histogram, graph etc. that is distinct fromBCDataSet. In addition, we don't allow the user to access the data set.In
BCFitter.h: