Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions roofit/histfactory/src/HistoToWorkspaceFactoryFast.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1253,11 +1253,12 @@ RooArgList HistoToWorkspaceFactoryFast::createObservables(const TH1 *hist, RooWo
for(unsigned int i=0; i<systToFix.size(); ++i){
RooRealVar* temp = proto.var(systToFix.at(i));
if(!temp) {
cxcoutE(HistFactory) << "could not find variable " << systToFix.at(i)
cxcoutW(HistFactory) << "could not find variable " << systToFix.at(i)
<< " could not set it to constant" << endl;
} else {
// set the parameter constant
temp->setConstant();
}
// set the parameter constant
temp->setConstant();
}

//////////////////////////////////////
Expand Down