-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.lua
More file actions
17 lines (10 loc) · 771 Bytes
/
example.lua
File metadata and controls
17 lines (10 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
base = "../RPVResearch/data/AllSamplesAK15/CONDOR_RPV_OUT/"
rpv4 = DataSource:new(base .. "2018_RPV2W_mS-450_mB-0.root"):name("RPV 450"):style{color=1}
rpv8 = DataSource.new(base .. "2018_RPV2W_mS-850_mB-0.root"):name("RPV 850"):style{color=2}
rpv6 = DataSource.new(base .. "2018_RPV2W_mS-650_mB-0.root"):name("RPV 650"):style{color=3}
tt = DataSource.new(base .. "2018_TT_mad.root"):name("t#bar{t}_mad"):style{color=4, mode = 4}
qcd = DataSource.new(base .. "2018_QCD.root"):name("QCD"):style{color=5, mode = 4}
bkg = SourceSet.new({tt, qcd})
sig = SourceSet.new({rpv4,rpv6,rpv8})
plot{sigbkg, "nbjets_*Lep", sig, bkg, Options:new():logy(true):y_label("Weight Events")}
plot{simple_hist, "nbjets_*Lep", sig, 1, Options:new():logy(false):y_label("Normed Events")}