12 #include "core/baby.hpp" 24 gErrorIgnoreLevel = 6000;
28 string mc_folder =
"/net/cms29/cms29r0/cawest/skims/ht1200/";
29 string sig_folder =
"/net/cms9/cms9r0/rohan/babies/2016_07_13/T1tbs/split/renorm/";
31 Palette colors(
"txt/colors.txt",
"default");
35 {mc_folder+
"*TTJets*Lept*"},
39 {mc_folder+
"*QCD_HT*",mc_folder+
"*TTJets_TuneCUETP8M1_13TeV-madgraphMLM*"},
43 {mc_folder+
"*WJetsToLNu_HT-600ToInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8*"});
46 {mc_folder+
"*ST_s-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1*",mc_folder+
"*ST_t-channel_antitop_4f_leptonDecays_13TeV-powheg-pythia8_TuneCUETP8M1*",
47 mc_folder+
"*ST_t-channel_top_4f_leptonDecays_13TeV-powheg-pythia8_TuneCUETP8M1*", mc_folder+
"*ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1*",
48 mc_folder+
"*ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1*"});
51 {mc_folder+
"*DYJetsToLL_M-50_HT-600toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8*",mc_folder+
"*TTWJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8*",
52 mc_folder+
"*TTWJetsToQQ_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8*",mc_folder+
"*TTZToQQ_TuneCUETP8M1_13TeV-amcatnlo-pythia8*",
53 mc_folder+
"*TTZToLLNuNu_M-10_TuneCUETP8M1_13TeV-amcatnlo-pythia8*",mc_folder+
"*ttHJetTobb_M125_13TeV_amcatnloFXFX_madspin_pythia8*",
54 mc_folder+
"*TTTT_TuneCUETP8M1_13TeV-amcatnlo-pythia8*",mc_folder+
"*WJetsToQQ_HT-600ToInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8*",
55 mc_folder+
"*ZJetsToQQ_HT600toInf_13TeV-madgraph*"});
58 auto tbs750 = Process::MakeShared<Baby_full>(
"m_{glu}=750$ GeV$",
Process::Type::signal, colors(
"tt_1l"),
59 {sig_folder+
"*RPV_mGluino-750*"});
61 auto tbs1200 = Process::MakeShared<Baby_full>(
"m_{glu}=1200$ GeV$",
Process::Type::signal, colors(
"tt_1l"),
62 {sig_folder+
"*RPV_mGluino-1200*"});
64 auto tbs1500 = Process::MakeShared<Baby_full>(
"m_{glu}=1500$ GeV$",
Process::Type::signal, colors(
"tt_1l"),
65 {sig_folder+
"*RPV_mGluino-1500*"});
67 vector<shared_ptr<Process> > samples = {
other, singlet, wjets, qcd, tt, tbs750, tbs1200, tbs1500};
70 pm.
Push<
Table>(
"rpv_cutflow", vector<TableRow>{
72 TableRow(
"$H_{T}>1500$",
"nleps==0&&ht>1500",0,0,
"weight*w_pu_rpv/eff_trig"),
73 TableRow(
"$N_{b}\\geq1$",
"nleps==0&&ht>1500&&nbm>=1",0,0,
"weight*w_pu_rpv/eff_trig"),
74 TableRow(
"$N_{jets}\\geq4$",
"nleps==0&&ht>1500&&nbm>=1&&njets>=4",0,0,
"weight*w_pu_rpv/eff_trig"),
75 TableRow(
"$M_{J}>500$",
"nleps==0&&ht>1500&&nbm>=1&&njets>=4&&mj>500",0,1,
"weight*w_pu_rpv/eff_trig"),
76 TableRow(
"$M_{J}>800$",
"nleps==0&&ht>1500&&nbm>=1&&njets>=4&&mj>800",0,0,
"weight*w_pu_rpv/eff_trig"),
77 TableRow(
"$N_{jets}\\geq10$",
"nleps==0&&ht>1500&&nbm>=1&&njets>=10&&mj>800",0,0,
"weight*w_pu_rpv/eff_trig"),
78 TableRow(
"$N_{b}\\geq3$",
"nleps==0&&ht>1500&&nbm>=3&&njets>=8&&mj>800",0,1,
"weight*w_pu_rpv/eff_trig"),
80 TableRow(
"$H_{T}>1200$",
"nleps==1&&ht>1200",1,0,
"weight*w_pu_rpv/eff_trig"),
81 TableRow(
"$N_{b}\\geq1$",
"nleps==1&&ht>1200&&nbm>=1",0,0,
"weight*w_pu_rpv/eff_trig"),
82 TableRow(
"$N_{jets}\\geq4$",
"nleps==1&&ht>1200&&nbm>=1&&njets>=4",0,0,
"weight*w_pu_rpv/eff_trig"),
83 TableRow(
"$M_{J}>500$",
"nleps==1&&ht>1200&&nbm>=1&&njets>=4&&mj>500",0,1,
"weight*w_pu_rpv/eff_trig"),
84 TableRow(
"$M_{J}>800$",
"nleps==1&&ht>1200&&nbm>=1&&njets>=4&&mj>800",0,0,
"weight*w_pu_rpv/eff_trig"),
85 TableRow(
"$N_{jets}\\geq8$",
"nleps==1&&ht>1200&&nbm>=1&&njets>=8&&mj>800",0,0,
"weight*w_pu_rpv/eff_trig"),
86 TableRow(
"$N_{b}\\geq3$",
"nleps==1&&ht>1200&&nbm>=3&&njets>=8&&mj>800",0,1,
"weight*w_pu_rpv/eff_trig"),
87 },samples,
false,
true);
FigureType & Push(Args &&...args)
Organizes efficient production of plots with single loop over each process.
void MakePlots(double luminosity, const std::string &subdir="")
Prints all added plots with given luminosity.
Loads colors from a text configuration file.