95 std::cout <<
"Error: In createGammaConstraints, encountered bad number of relative sigmas" << std::endl;
96 std::cout <<
"Given vector with " <<
relSigmas.size() <<
" bins,"
97 <<
" but require exactly " <<
paramSet.size() << std::endl;
103 for (std::size_t i = 0; i <
paramSet.size(); ++i) {
108 <<
"Creating constraint for: " << gamma.GetName() <<
". Type of constraint: " <<
type << std::endl;
116 <<
"Not creating constraint term for " << gamma.GetName() <<
" because sigma = " <<
sigmaRel
118 <<
" (bin number = " << i <<
")" << std::endl;
123 std::string
constrName = std::string(gamma.GetName()) +
"_constraint";
124 std::string
nomName = std::string(
"nom_") + gamma.GetName();
131 std::string
sigmaName = std::string(gamma.GetName()) +
"_sigma";
141 out.globalObservables.push_back(
constrNom.get());
146 out.constraints.emplace_back(std::move(
term));
158 std::string
scalingName = std::string(gamma.GetName()) +
"_tau";
162 std::string
poisMeanName = std::string(gamma.GetName()) +
"_poisMean";
167 term->setNoRounding(
true);
169 out.globalObservables.push_back(
constrNom.get());
175 out.constraints.emplace_back(std::move(
term));
178 std::cout <<
"Error: Did not recognize Stat Error constraint term type: " <<
type
179 <<
" for : " << gamma.GetName() << std::endl;