9 using namespace TopCorrections;
14 const std::string& systCollection,
15 const std::string& tagWP,
16 const bool isTrackJet,
21 for (
const std::string&
name :
config->trkjet_btagging_namedSysts(tagWP)) {
25 if (systCollection.find(
"up") != std::string::npos)
return name +
"__1up";
26 else if (systCollection.find(
"down") != std::string::npos)
return name +
"__1down";
31 for (
const std::string&
name :
config->btagging_namedSysts(tagWP)) {
35 if (systCollection.find(
"up") != std::string::npos)
return name +
"__1up";
36 else if (systCollection.find(
"down") != std::string::npos)
return name +
"__1down";
47 std::string
str =
"FT_EFF_";
49 if (
out.find(
str) != std::string::npos) {
53 while (
out.find(
str) != std::string::npos) {
57 while (
out.find(
str) != std::string::npos) {