71 cout <<
"Choose from the following"<<endl;
72 cout <<
"void ModifyInterpolationForAll(RooWorkspace* ws, int code=1);"<<endl;
73 cout <<
"void ModifyInterpolationForSet(RooArgSet* modifySet, int code = 1);"<<endl;
74 cout <<
"void CheckInterpolation(RooWorkspace* ws);"<<endl;
78 for (
auto *flex : dynamic_range_cast<FlexibleInterpVar*>(ws->
allFunctions())) {
80 flex->setAllInterpCodes(code);
88 for (
auto *flex : dynamic_range_cast<FlexibleInterpVar*>(alpha->clients())) {
90 flex->printAllInterpCodes();
91 flex->setInterpCode(
static_cast<RooAbsReal &
>(*alpha),code);
92 flex->printAllInterpCodes();
101 for (
auto *flex : dynamic_range_cast<FlexibleInterpVar*>(ws->
allFunctions())) {
103 flex->printAllInterpCodes();
void CheckInterpolation(RooWorkspace *ws)
void ModifyInterpolation()
void ModifyInterpolationForSet(RooArgSet *modifySet, int code=1)
void ModifyInterpolationForAll(RooWorkspace *ws, int code=1)
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Abstract base class for objects that represent a real value and implements functionality common to al...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Persistable container for RooFit projects.
RooArgSet allFunctions() const
Return set with all function objects.
Namespace for the RooStats classes.