SFS: sfs_cms_sus_16_048.ma5

File sfs_cms_sus_16_048.ma5, 8.9 KB (added by jackaraz, 4 years ago)
Line 
1#<><><><><><><><><><><><><><><><><><><><><><><><><>
2# <>
3# CMS-SUS-16-048 <>
4# Author: Jack Y. Araz, Benjamin Fuks <>
5# <>
6# Please cite arXiv:2006.09387,1801.01846 <>
7# <>
8# Based on MadAnalysis 5 v1.8 <>
9# <>
10#<><><><><><><><><><><><><><><><><><><><><><><><><>
11
12set main.fastsim.package = fastjet
13set main.fastsim.algorithm = antikt
14set main.fastsim.radius = 0.4
15set main.fastsim.bjet_id.matching_dr = 0.3
16set main.fastsim.bjet_id.exclusive = true
17set main.fastsim.exclusive_id = false
18set main.fastsim.ptmin = 10.0
19set main.fastsim.jetrecomode = jets
20
21### Jet Reconstruction
22
23## Momentum smearing
24
25# based on arXiv:1405.6569
26
27define smearer j with PT sqrt(0.06^2 + pt^2*1.3e-3^2) [abseta <= 0.5 and pt > 0.1]
28define smearer j with PT sqrt(0.1^2 + pt^2*1.7e-3^2) [abseta > 0.5 and abseta <= 1.5 and pt > 0.1]
29define smearer j with PT sqrt(0.25^2 + pt^2*3.1e-3^2) [abseta > 1.5 and abseta <= 2.5 and pt > 0.1]
30
31## HCAL
32
33define smearer j with E sqrt(E^2*0.05^2 + E*1.5^2) [abseta <= 3.0]
34define smearer j with E sqrt(E^2*0.13^2 + E*2.7^2) [abseta > 3.0 and abseta <= 5.0]
35
36
37### Electron Reconstruction
38
39## Momentum Smearing
40
41define smearer e with PT sqrt(0.03^2 + pt^2*1.3e-3^2) [abseta <= 0.5 and pt > 0.1]
42define smearer e with PT sqrt(0.05^2 + pt^2*1.7e-3^2) [abseta > 0.5 and abseta <= 1.5 and pt > 0.1]
43define smearer e with PT sqrt(0.15^2 + pt^2*3.1e-3^2) [abseta > 1.5 and abseta <= 2.5 and pt > 0.1]
44
45## ECAL
46
47# for the ECAL barrel (|eta| < 1.5), see hep-ex/1306.2016 and 1502.02701
48# set ECalResolutionFormula {resolution formula as a function of eta and energy}
49# Eta shape from arXiv:1306.2016, Energy shape from arXiv:1502.02701
50
51define smearer e with E (1+0.64*eta^2) * sqrt(E^2*0.008^2 + E*0.11^2 + 0.4^2) [abseta <= 1.5]
52define smearer e with E (2.16 + 5.6*(abseta-2)^2) * sqrt(E^2*0.008^2 + E*0.11^2 + 0.4^2) [abseta > 1.5 and abseta <= 2.5]
53define smearer e with E sqrt(E^2*0.107^2 + E*2.08^2) [abseta > 2.5 and abseta <= 5.0]
54
55
56## Reconstruction efficiency
57
58define reco_efficiency e 0.0 [pt <= 5.0 or abseta > 2.5]
59define reco_efficiency e 0.336 [abseta <= 0.8 and pt > 5 and pt <= 10]
60define reco_efficiency e 0.412 [abseta <= 0.8 and pt > 10 and pt <= 15]
61define reco_efficiency e 0.465 [abseta <= 0.8 and pt > 15 and pt <= 20]
62define reco_efficiency e 0.496 [abseta <= 0.8 and pt > 20 and pt <= 25]
63define reco_efficiency e 0.503 [abseta <= 0.8 and pt > 25]
64define reco_efficiency e 0.344 [abseta > 0.8 and abseta <= 1.442 and pt > 5 and pt <=10]
65define reco_efficiency e 0.402 [abseta > 0.8 and abseta <= 1.442 and pt > 10 and pt <= 15]
66define reco_efficiency e 0.448 [abseta > 0.8 and abseta <= 1.442 and pt > 15 and pt <= 20]
67define reco_efficiency e 0.476 [abseta > 0.8 and abseta <= 1.442 and pt > 20 and pt <= 25]
68define reco_efficiency e 0.482 [abseta > 0.8 and abseta <= 1.442 and pt > 25]
69define reco_efficiency e 0.233 [abseta > 1.442 and abseta <= 1.556 and pt > 5 and pt <=10]
70define reco_efficiency e 0.229 [abseta > 1.442 and abseta <= 1.556 and pt > 10 and pt <= 15]
71define reco_efficiency e 0.250 [abseta > 1.442 and abseta <= 1.556 and pt > 15 and pt <= 20]
72define reco_efficiency e 0.261 [abseta > 1.442 and abseta <= 1.556 and pt > 20 and pt <= 25]
73define reco_efficiency e 0.255 [abseta > 1.442 and abseta <= 1.556 and pt > 25]
74define reco_efficiency e 0.309 [abseta > 1.556 and abseta <= 2. and pt > 5 and pt <=10]
75define reco_efficiency e 0.359 [abseta > 1.556 and abseta <= 2. and pt > 10 and pt <= 15]
76define reco_efficiency e 0.394 [abseta > 1.556 and abseta <= 2. and pt > 15 and pt <= 20]
77define reco_efficiency e 0.408 [abseta > 1.556 and abseta <= 2. and pt > 20 and pt <= 25]
78define reco_efficiency e 0.418 [abseta > 1.556 and abseta <= 2. and pt > 25]
79define reco_efficiency e 0.243 [abseta > 2. and abseta <= 2.5 and pt > 5 and pt <=10]
80define reco_efficiency e 0.287 [abseta > 2. and abseta <= 2.5 and pt > 10 and pt <= 15]
81define reco_efficiency e 0.327 [abseta > 2. and abseta <= 2.5 and pt > 15 and pt <= 20]
82define reco_efficiency e 0.341 [abseta > 2. and abseta <= 2.5 and pt > 20 and pt <= 25]
83define reco_efficiency e 0.352 [abseta > 2. and abseta <= 2.5 and pt > 25]
84
85### Muon Reconstruction
86
87## Momentum Smearing
88
89define smearer mu with PT sqrt(0.01^2 + (pt^2)*1.0e-4^2) [abseta <= 0.5 and pt > 0.1]
90define smearer mu with PT sqrt(0.015^2 + (pt^2)*1.5e-4^2) [abseta > 0.5 and abseta <= 1.5 and pt > 0.1]
91define smearer mu with PT sqrt(0.025^2 + (pt^2)*3.5e-4^2) [abseta > 1.5 and abseta <= 2.5 and pt > 0.1]
92
93## Reconstruction efficiency
94
95define reco_efficiency mu 0.0 [pt < 3.5 or abseta > 2.4]
96define reco_efficiency mu 0.647 [abseta <= 0.9 and pt > 3.5 and pt <= 10]
97define reco_efficiency mu 0.718 [abseta <= 0.9 and pt > 10 and pt <= 15]
98define reco_efficiency mu 0.739 [abseta <= 0.9 and pt > 15 and pt <= 20]
99define reco_efficiency mu 0.760 [abseta <= 0.9 and pt > 20 and pt <= 25]
100define reco_efficiency mu 0.763 [abseta <= 0.9 and pt > 25]
101define reco_efficiency mu 0.627 [abseta > 0.9 and abseta <= 1.2 and pt > 3.5 and pt <= 10]
102define reco_efficiency mu 0.662 [abseta > 0.9 and abseta <= 1.2 and pt > 10 and pt <= 15]
103define reco_efficiency mu 0.694 [abseta > 0.9 and abseta <= 1.2 and pt > 15 and pt <= 20]
104define reco_efficiency mu 0.725 [abseta > 0.9 and abseta <= 1.2 and pt > 20 and pt <= 25]
105define reco_efficiency mu 0.733 [abseta > 0.9 and abseta <= 1.2 and pt > 25]
106define reco_efficiency mu 0.610 [abseta > 1.2 and abseta <= 2.1 and pt > 3.5 and pt <= 10]
107define reco_efficiency mu 0.660 [abseta > 1.2 and abseta <= 2.1 and pt > 10 and pt <= 15]
108define reco_efficiency mu 0.678 [abseta > 1.2 and abseta <= 2.1 and pt > 15 and pt <= 20]
109define reco_efficiency mu 0.685 [abseta > 1.2 and abseta <= 2.1 and pt > 20 and pt <= 25]
110define reco_efficiency mu 0.723 [abseta > 1.2 and abseta <= 2.1 and pt > 25]
111define reco_efficiency mu 0.566 [abseta > 2.1 and abseta <= 2.4 and pt > 3.5 and pt <= 10]
112define reco_efficiency mu 0.629 [abseta > 2.1 and abseta <= 2.4 and pt > 10 and pt <= 15]
113define reco_efficiency mu 0.655 [abseta > 2.1 and abseta <= 2.4 and pt > 15 and pt <= 20]
114define reco_efficiency mu 0.670 [abseta > 2.1 and abseta <= 2.4 and pt > 20 and pt <= 25]
115define reco_efficiency mu 0.696 [abseta > 2.1 and abseta <= 2.4 and pt > 25]
116
117### Photon reconstruction
118
119## ECAL
120
121# for the ECAL barrel (|eta| < 1.5), see hep-ex/1306.2016 and 1502.02701
122# set ECalResolutionFormula {resolution formula as a function of eta and energy}
123# Eta shape from arXiv:1306.2016, Energy shape from arXiv:1502.02701
124
125define smearer a with E (1+0.64*eta^2) * sqrt(E^2*0.008^2 + E*0.11^2 + 0.4^2) [abseta <= 1.5]
126define smearer a with E (2.16 + 5.6*(abseta-2)^2) * sqrt(E^2*0.008^2 + E*0.11^2 + 0.4^2) [abseta > 1.5 and abseta <= 2.5]
127define smearer a with E sqrt(E^2*0.107^2 + E*2.08^2) [abseta > 2.5 and abseta <= 5.0]
128
129# Reconstruction efficiency
130
131define reco_efficiency a 0.0 [pt <= 10.0 or abseta > 2.5]
132define reco_efficiency a 0.95 [abseta <= 1.5 and pt > 10.0]
133define reco_efficiency a 0.85 [abseta > 1.5 and abseta <= 2.5 and pt > 10.0]
134
135
136### Particle Identification
137
138## B tagging
139
140define tagger j as b (0.2450 - 0.005400*pt + 6.92*10^(-5)*pt^2 - 3.89*10^(-7)*pt^3 + 1.021*10^(-9)*pt^4 - 1.007*10^(-12)*pt^5) [pt >= 20.0 and pt < 150.0]
141define tagger j as b (0.0558 + 0.000428*pt - 1.00*10^(-7)*pt^2) [pt >= 150.0 and pt < 1000.0]
142
143define tagger c as b (0.398 - 0.000182*pt + 2.53*10^(-6)*pt^2 - 6.796*10^(-9)*pt^3 + 8.66*10^(-12)*pt^4 - 4.42*10^(-15)*pt^5) [pt >= 20.0 and pt < 300.0]
144define tagger c as b (0.350 + 0.000374*pt - 1.81*10^(-7)*pt^2) [pt >= 300.0 and pt < 1000.0]
145
146define tagger b as b (0.4344 + 0.02069*pt - 0.0004429*pt^2 + 5.137*10^(-6)*pt^3 - 3.406*10^(-8)*pt^4 + 1.285*10^(-10)*pt^5 - 2.559*10^(-13)*pt^6 + 2.084*10^(-16)*pt^7) [abseta < 2.5 and pt >= 20.0 and pt < 165.0]
147define tagger b as b (0.7140 + 0.002617*pt - 1.656*10^(-5)*pt^2 + 4.767*10^(-8)*pt^3 - 6.431*10^(-11)*pt^4 + 3.287*10^(-14)*pt^5) [abseta < 2.5 and pt >= 165.0 and pt < 300.0]
148define tagger b as b (0.8720 - 6.885*10^(-5)*pt + 4.34*10^(-8)*pt^2) [abseta < 2.5 and pt >= 300.0 and pt < 1000.0]
149define tagger b as b 0.0 [abseta >= 2.5]
150
151## Tau tagging
152
153## Momentum smearing
154
155# based on arXiv:1405.6569
156
157define smearer ta with PT sqrt(0.06^2 + pt^2*1.3e-3^2) [abseta <= 0.5 and pt > 0.1]
158define smearer ta with PT sqrt(0.1^2 + pt^2*1.7e-3^2) [abseta > 0.5 and abseta <= 1.5 and pt > 0.1]
159define smearer ta with PT sqrt(0.25^2 + pt^2*3.1e-3^2) [abseta > 1.5 and abseta <= 2.5 and pt > 0.1]
160
161## HCAL
162
163define smearer ta with E sqrt(E^2*0.05^2 + E*1.5^2) [abseta <= 3.0]
164define smearer ta with E sqrt(E^2*0.13^2 + E*2.7^2) [abseta > 3.0 and abseta <= 5.0]
165
166define tagger j as ta 0.01
167define tagger ta as ta 0.6 [abseta < 2.5]
168define tagger ta as ta 0.0 [abseta >= 2.5]
169
170define reco_efficiency ta 0.0 [pt <= 1.]
171define reco_efficiency ta 1.0 [pt > 1.]
172