28 std::vector<std::string> ggH = {
"ggH",
"ggH_Htautau",
"ggA_Atautau",
"ggh_htautau"};
29 std::vector<std::string> bbH = {
"bbH",
"bbH_Htautau",
"bbA_Atautau",
"bbh_htautau"};
46 ({10, 11, 12, 13, 14},
JoinStr({signal,{
"ZTT",
"VV",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 1.08)
47 ({10, 11, 12}, {
"TT"}, 1.080));
51 ({
"mt"},
JoinStr({signal,{
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 1));
55 ({
"et"},
JoinStr({signal,{
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 1));
62 ({
"mt"},
JoinStr({signal,{
"ZTT",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 1));
66 ({
"et"},
JoinStr({signal,{
"ZTT",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 1));
156 ({
"mt",
"et"}, {10, 11, 12},
JoinStr({bbH, {
"TT"}}), 0.99)
157 ({
"mt"}, {13, 14},
JoinStr({ggH, {
"ggH_SM125"}}), 0.99)
158 ({
"mt"}, {13, 14}, {bbH}, 1.01)
159 ({
"mt"}, {13, 14}, {
"ZJ"}, 0.980)
160 ({
"mt"}, {13, 14}, {
"ZL"}, 0.980)
161 ({
"mt"}, {13, 14}, {
"TT"}, 0.920)
162 ({
"mt"}, {13, 14}, {
"VV"}, 0.980)
163 ({
"et"}, {13, 14},
JoinStr({ggH, {
"ggH_SM125"}}), 1.03)
164 ({
"et"}, {13, 14}, {bbH}, 1.01)
165 ({
"et"}, {13, 14}, {
"ZJ"}, 1.060)
166 ({
"et"}, {13, 14}, {
"ZL"}, 0.960)
167 ({
"et"}, {13, 14}, {
"TT"}, 0.900)
168 ({
"et"}, {13, 14}, {
"VV"}, 0.940));
172 ({10, 11, 12, 13, 14},
JoinStr({signal,{
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 0.99)
173 ({10, 11, 12, 13, 14}, {
"ZJ",
"ZL",
"TT"}, 1.010)
174 ({13, 14}, {
"W"}, 1.010));
178 ({
"et",
"mt"}, {10, 11, 12}, {bbH}, 0.99)
179 ({
"et",
"mt"}, {10, 11, 12}, {
"TT"}, 0.950)
180 ({
"mt"}, {10, 11, 12}, {
"VV"}, 0.980)
181 ({
"et"}, {10, 11, 12}, {
"VV"}, 0.990)
182 ({
"mt"}, {13, 14},
JoinStr({ggH, {
"ggH_SM125"}}), 1.01)
183 ({
"mt"}, {13, 14}, {bbH}, 1.03)
184 ({
"mt"}, {13, 14}, {
"ZL"}, 1.040)
185 ({
"mt"}, {13, 14}, {
"TT"}, 1.020)
186 ({
"mt"}, {13, 14}, {
"VV"}, 1.040)
187 ({
"et"}, {13, 14},
JoinStr({ggH, {
"ggH_SM125"}}), 1.01)
188 ({
"et"}, {13, 14}, {bbH}, 1.02)
189 ({
"et"}, {13, 14}, {
"ZL"}, 1.020)
190 ({
"et"}, {13, 14}, {
"ZJ"}, 1.040)
191 ({
"et"}, {13, 14}, {
"TT"}, 1.040)
192 ({
"et"}, {13, 14}, {
"VV"}, 1.040));
196 ({
"mt",
"et"}, {10, 11, 12}, {
"TT"}, 0.970)
197 ({
"mt",
"et"}, {10, 11, 12}, {
"VV"}, 0.990)
198 ({
"mt"}, {13, 14},
JoinStr({ggH, {
"ggH_SM125"}}), 1.05)
199 ({
"mt"}, {13, 14}, {
"ZL"}, 1.050)
200 ({
"mt"}, {13, 14}, {
"ZJ"}, 1.090)
201 ({
"mt"}, {13, 14}, {
"TT",
"VV"}, 1.010)
202 ({
"et"}, {13, 14},
JoinStr({ggH, {
"ggH_SM125"}}), 1.03)
203 ({
"et"}, {13, 14}, {
"ZL"}, 1.020)
204 ({
"et"}, {13, 14}, {
"ZJ"}, 1.090)
205 ({
"et"}, {13, 14}, {
"TT",
"VV"}, 1.010));
212 ({11, 12, 13, 14}, 1.050));
218 .AddSyst(cb,
"CMS_htt_ttbarPtReweight_$ERA",
"shape",
SystMap<>::init(1.000));
221 .AddSyst(cb,
"CMS_htt_ttbarJetFake_$ERA",
"shape",
SystMap<>::init(1.000));
227 .AddSyst(cb,
"CMS_htt_DiBosonNorm_$ERA",
"lnN",
SystMap<>::init(1.150));
231 ({10, 11, 12}, 1.200)
237 ({10, 11, 12}, 1.100)
246 .AddSyst(cb,
"CMS_htt_ZJetFakeTau_$CHANNEL_$ERA",
"lnN",
SystMap<>::init(1.200));
250 ({
"mt"}, {10, 13}, 1.300)
251 ({
"et"}, {10, 13}, 1.200));
255 ({
"mt"}, {11, 14}, 1.300)
256 ({
"et"}, {11, 14}, 1.200));
260 ({
"mt"}, {12}, 1.300)
261 ({
"et"}, {12}, 1.200));
264 .AddSyst(cb,
"CMS_htt_ZLScale_mutau_$ERA",
"shape",
SystMap<>::init(1.000));
266 .AddSyst(cb,
"CMS_htt_ZLScale_etau_$ERA",
"shape",
SystMap<>::init(1.000));
289 src.
cp().
process({
"ggH_SM125",
"qqH_SM125",
"VH_SM125"})
294 ({
"qqH_SM125"}, 1.036)
295 ({
"VH_SM125"}, 1.040));
302 ({10, 11, 12}, {
"ggH_SM125"}, 1.013)
303 ({10, 11, 12}, {
"qqH_SM125",
"VH_SM125"}, 1.050)
304 ({13, 14}, {
"ggH_SM125"}, 0.946)
305 ({13, 14}, {
"qqH_SM125",
"VH_SM125"}, 1.007));
309 ({
"mt",
"et"}, {10, 11, 12}, 1.080)
310 ({
"mt"}, {13, 14}, 1.105)
311 ({
"et"}, {13, 14}, 1.125));
315 ({10, 11, 12}, 1.022)
320 ({10, 11, 12}, 1.010)
324 .AddSyst(cb,
"CMS_htt_higgsPtReweight_$ERA",
"shape",
SystMap<>::init(1));
328 ({
"mt",
"et"}, {10, 11, 12, 13}, 1)
332 .AddSyst(cb,
"CMS_htt_higgsPtReweightSM_$ERA",
"shape",
SystMap<>::init(1.000));
346 std::vector<std::string> ggH = {
"ggH",
"ggH_Htautau",
"ggA_Atautau",
"ggh_htautau"};
347 std::vector<std::string> bbH = {
"bbH",
"bbH_Htautau",
"bbA_Atautau",
"bbh_htautau"};
352 src.
cp().
process(
JoinStr({signal,{
"EWK",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}))
355 src.
cp().
process(
JoinStr({signal,{
"Ztt",
"ttbar",
"EWK",
"Fakes",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}))
358 src.
cp().
process(
JoinStr({signal,{
"Ztt",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}))
362 .AddSyst(cb,
"CMS_shift1_emu_nobtag_$ERA_EWK_fine_binning",
"shape",
SystMap<bin_id>::init({8}, 1.000));
365 .AddSyst(cb,
"CMS_shift1_emu_btag_$ERA_EWK_fine_binning",
"shape",
SystMap<bin_id>::init({9}, 1.000));
368 .AddSyst(cb,
"CMS_shift2_emu_nobtag_$ERA_EWK_fine_binning",
"shape",
SystMap<bin_id>::init({8}, 1.000));
370 .AddSyst(cb,
"CMS_shift2_emu_btag_$ERA_EWK_fine_binning",
"shape",
SystMap<bin_id>::init({9}, 1.000));
372 src.
cp().
process(
JoinStr({signal,{
"Ztt",
"ttbar",
"EWK",
"Fakes",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}))
377 ({8},
JoinStr({signal,{
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 1.01)
378 ({8}, {
"ttbar",
"EWK"}, 0.990)
379 ({9},
JoinStr({ggH, {
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 1.04)
381 ({9}, {
"ttbar"}, 0.930)
382 ({9}, {
"EWK"}, 0.970));
386 ({8, 9},
JoinStr({signal,{
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 0.98)
387 ({8}, {
"ttbar"}, 0.990)
388 ({9}, {
"ttbar"}, 1.010));
392 ({8},
JoinStr({signal,{
"EWK",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 0.98)
393 ({8}, {
"ttbar"}, 0.950)
394 ({9},
JoinStr({ggH, {
"ggH_SM125"}}), 1.01)
396 ({9}, {
"ttbar"}, 1.020)
397 ({9}, {
"EWK"}, 1.030));
401 ({8},
JoinStr({signal,{
"ttbar",
"EWK",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 0.98)
402 ({9},
JoinStr({ggH, {
"ggH_SM125"}}), 1.05)
403 ({9}, {
"EWK"}, 1.030));
415 .AddSyst(cb,
"CMS_htt_DiBosonNorm_$ERA",
"lnN",
SystMap<>::init(1.150));
418 .AddSyst(cb,
"CMS_htt_fakes_$CHANNEL_$ERA",
"lnN",
SystMap<>::init(1.300));
436 src.
cp().
process({
"ggH_SM125",
"qqH_SM125",
"VH_SM125"})
441 ({8, 9}, {
"qqH_SM125"}, 1.036)
442 ({8}, {
"VH_SM125"}, 1.010)
443 ({9}, {
"VH_SM125"}, 1.020));
463 ({8}, {
"ggH_SM125"}, 1.035)
464 ({9}, {
"ggH_SM125"}, 0.984)
465 ({8}, {
"qqH_SM125",
"VH_SM125"}, 1.089));
479 std::vector<std::string> ggH = {
"ggH",
"ggH_Htautau",
"ggA_Atautau",
"ggh_htautau"};
480 std::vector<std::string> bbH = {
"bbH",
"bbH_Htautau",
"bbA_Atautau",
"bbh_htautau"};
487 ({8, 9},
JoinStr({signal,{
"Dibosons",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), {
"8TeV"}, 1.026)
488 ({8}, {
"WJets"}, {
"8TeV"}, 1.026));
492 ({8, 9},
JoinStr({signal,{
"ZTT",
"TTJ",
"Dibosons",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 1.06)
493 ({8}, {
"WJets"}, 1.060));
497 ({8},
JoinStr({signal,{
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 1.02)
498 ({8}, {
"TTJ",
"WJets",
"Dibosons"}, 0.990)
499 ({9},
JoinStr({ggH,{
"ggH_SM125"}}), 0.98)
501 ({9}, {
"TTJ"}, 0.920)
502 ({9}, {
"Dibosons"}, 0.950));
506 ({8},
JoinStr({signal,{
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 0.98)
507 ({8}, {
"TTJ"}, 0.940)
508 ({8}, {
"WJets",
"Dibosons"}, 0.970)
509 ({9},
JoinStr({ggH, {
"ggH_SM125"}}), 1.01)
511 ({9}, {
"TTJ"}, 1.020)
512 ({9}, {
"Dibosons"}, 1.030));
516 ({8},
JoinStr({signal,{
"TqTJ",
"WJets",
"Dibosons",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 0.98)
517 ({9},
JoinStr({ggH, {
"ggH_SM125"}}), 1.06)
518 ({9}, {
"Dibosons"}, 1.050));
527 .AddSyst(cb,
"CMS_htt_$CHANNEL_DiBosonNorm_$ERA",
"lnN",
SystMap<>::init(1.300));
530 .AddSyst(cb,
"CMS_htt_$CHANNEL_zmmNorm_$ERA",
"lnN",
SystMap<>::init(1.050));
549 src.
cp().
process({
"ggH_SM125",
"qqH_SM125",
"VH_SM125"})
576 ({8}, {
"ggH_SM125"}, 1.035)
577 ({8}, {
"qqH_SM125",
"VH_SM125"}, 1.089)
578 ({9}, {
"ggH_SM125"}, 0.984)
579 ({9}, {
"qqH_SM125",
"VH_SM125"}, 1.000));
593 std::vector<std::string> ggH = {
"ggH",
"ggH_Htautau",
"ggA_Atautau",
"ggh_htautau"};
594 std::vector<std::string> bbH = {
"bbH",
"bbH_Htautau",
"bbA_Atautau",
"bbh_htautau"};
602 src.
cp().
process(
JoinStr({signal,{
"ZTT",
"TT",
"VV",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}))
612 .AddSyst(cb,
"CMS_shift1_tauTau_nobtag_low_$ERA_QCD_fine_binning",
"shape",
SystMap<bin_id>::init({10}, 1.000));
614 .AddSyst(cb,
"CMS_shift1_tauTau_nobtag_medium_$ERA_QCD_fine_binning",
"shape",
SystMap<bin_id>::init({11}, 1.000));
616 .AddSyst(cb,
"CMS_shift1_tauTau_nobtag_high_$ERA_QCD_fine_binning",
"shape",
SystMap<bin_id>::init({12}, 1.000));
618 .AddSyst(cb,
"CMS_shift1_tauTau_btag_low_$ERA_QCD_fine_binning",
"shape",
SystMap<bin_id>::init({13}, 1.000));
620 .AddSyst(cb,
"CMS_shift1_tauTau_btag_high_$ERA_QCD_fine_binning",
"shape",
SystMap<bin_id>::init({14}, 1.000));
623 .AddSyst(cb,
"CMS_shift2_tauTau_nobtag_low_$ERA_QCD_fine_binning",
"shape",
SystMap<bin_id>::init({10}, 1.000));
625 .AddSyst(cb,
"CMS_shift2_tauTau_nobtag_medium_$ERA_QCD_fine_binning",
"shape",
SystMap<bin_id>::init({11}, 1.000));
627 .AddSyst(cb,
"CMS_shift2_tauTau_nobtag_high_$ERA_QCD_fine_binning",
"shape",
SystMap<bin_id>::init({12}, 1.000));
629 .AddSyst(cb,
"CMS_shift2_tauTau_btag_low_$ERA_QCD_fine_binning",
"shape",
SystMap<bin_id>::init({13}, 1.000));
631 .AddSyst(cb,
"CMS_shift2_tauTau_btag_high_$ERA_QCD_fine_binning",
"shape",
SystMap<bin_id>::init({14}, 1.000));
639 ({
"ggH_SM125"}, 1.050));
643 ({10, 11, 12},
JoinStr({signal,{
"ZJ",
"TT",
"VV",
"ZL",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 0.98)
644 ({13, 14},
JoinStr({signal,{
"TT",
"VV",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 1.09));
648 ({10, 11, 12},
JoinStr({signal,{
"ZJ",
"TT",
"VV",
"ZL",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 0.98)
649 ({13, 14},
JoinStr({signal,{
"TT",
"VV",
"ggH_SM125",
"qqH_SM125",
"VH_SM125"}}), 1.02));
653 ({10, 11, 12, 13}, 1.300)
658 ({10, 11, 12}, 1.100)
662 .AddSyst(cb,
"CMS_htt_QCDfrShape_tautau_$ERA",
"shape",
SystMap<>::init(1.000));
669 ({10, 11, 12}, 1.050)
677 .AddSyst(cb,
"CMS_htt_ttbarNorm_$CHANNEL_$bin_$ERA",
"lnN",
SystMap<>::init(1.050));
680 .AddSyst(cb,
"CMS_htt_ttbarPtReweight_$ERA",
"shape",
SystMap<>::init(1.000));
683 .AddSyst(cb,
"CMS_htt_DiBosonNorm_$ERA",
"lnN",
SystMap<>::init(1.150));
686 .AddSyst(cb,
"CMS_htt_DiBosonNorm_$CHANNEL_$BIN_$ERA",
"lnN",
SystMap<>::init(1.150));
689 .AddSyst(cb,
"CMS_htt_ZJetFakeTau_$CHANNEL_$ERA",
"lnN",
SystMap<>::init(1.200));
692 .AddSyst(cb,
"CMS_htt_ZLeptonFakeTau_$CHANNEL_$ERA",
"lnN",
SystMap<>::init(1.200));
695 .AddSyst(cb,
"CMS_htt_WShape_tautau_$ERA",
"shape",
SystMap<>::init(1.000));
697 src.
cp().
process({
"ggH_SM125",
"qqH_SM125",
"VH_SM125"})
705 ({
"qqH_SM125"}, 1.036)
706 ({
"VH_SM125"}, 1.020));
719 ({
"ggH_SM125"}, 0.975)
720 ({
"qqH_SM125",
"VH_SM125"}, 1.025));
723 .AddSyst(cb,
"CMS_htt_higgsPtReweight_$ERA",
"shape",
SystMap<>::init(1));
726 .AddSyst(cb,
"CMS_htt_higgsPtReweightSM_$ERA",
"shape",
SystMap<>::init(1.000));
CombineHarvester & signals()
CombineHarvester & process(std::vector< std::string > const &vec, bool cond=true)
std::set< R > SetFromProcs(T func)
Fill an std::set using only the Process entries.
void AddSyst(CombineHarvester &target, std::string const &name, std::string const &type, Map const &valmap)
CombineHarvester cp()
Creates and returns a shallow copy of the CombineHarvester instance.
CombineHarvester & channel(std::vector< std::string > const &vec, bool cond=true)
virtual std::string const & process() const
void AddMSSMUpdateSystematics_et_mt(CombineHarvester &cb, CombineHarvester src)
void AddMSSMUpdateSystematics_mm(CombineHarvester &cb, CombineHarvester src)
std::vector< T > Set2Vec(std::set< T > const &in)
std::vector< std::string > JoinStr(std::vector< std::vector< std::string >> const &in)
void AddMSSMUpdateSystematics_tt(CombineHarvester &cb, CombineHarvester src)
void AddMSSMUpdateSystematics_em(CombineHarvester &cb, CombineHarvester src)