1 | #<><><><><><><><><><><><><><><><><><><><><><><><><>
|
---|
2 | # <>
|
---|
3 | # CMS-Default <>
|
---|
4 | # Author: Jack Y. Araz, Benjamin Fuks <>
|
---|
5 | # <>
|
---|
6 | # Please cite arXiv:2006.09387 <>
|
---|
7 | # <>
|
---|
8 | # Based on MadAnalysis 5 v1.8 <>
|
---|
9 | # <>
|
---|
10 | #<><><><><><><><><><><><><><><><><><><><><><><><><>
|
---|
11 |
|
---|
12 | # Set FastJet variables
|
---|
13 |
|
---|
14 | set main.fastsim.package = fastjet
|
---|
15 | set main.fastsim.algorithm = antikt
|
---|
16 | set main.fastsim.radius = 0.5
|
---|
17 | set main.fastsim.bjet_id.matching_dr = 0.3
|
---|
18 | set main.fastsim.bjet_id.exclusive = true
|
---|
19 | set main.fastsim.exclusive_id = false
|
---|
20 | set main.fastsim.ptmin = 20.0
|
---|
21 | set main.fastsim.jetrecomode = jets
|
---|
22 |
|
---|
23 | # Jet Smearing
|
---|
24 |
|
---|
25 | ## Momentum smearing
|
---|
26 |
|
---|
27 | # based on arXiv:1405.6569 (optimized for dijet process)
|
---|
28 | define reco_efficiency j 0.925 [abseta <= 1.5]
|
---|
29 | define reco_efficiency j 0.875 [abseta > 1.5 and abseta <= 2.5]
|
---|
30 | define reco_efficiency j 0.80 [abseta > 2.5]
|
---|
31 |
|
---|
32 | define smearer j with PT sqrt(0.06^2 + pt^2*1.3e-3^2) [abseta <= 0.5 and pt > 0.1]
|
---|
33 | define smearer j with PT sqrt(0.10^2 + pt^2*1.7e-3^2) [abseta > 0.5 and abseta <= 1.5 and pt > 0.1]
|
---|
34 | define 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]
|
---|
35 |
|
---|
36 | ## HCAL
|
---|
37 |
|
---|
38 | define smearer j with E sqrt(E^2*0.050^2 + E*1.50^2) [abseta <= 3.0]
|
---|
39 | define smearer j with E sqrt(E^2*0.130^2 + E*2.70^2) [abseta > 3.0 and abseta <= 5.0]
|
---|
40 |
|
---|
41 | ### Electron Smearing
|
---|
42 |
|
---|
43 | ## Momentum Smearing
|
---|
44 |
|
---|
45 | # based on arXiv:1502.02701
|
---|
46 |
|
---|
47 | define smearer e with PT sqrt(0.03^2 + (pt^2)*((1.3e-3)^2)) [abseta <= 0.5 and pt > 0.1]
|
---|
48 | define 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]
|
---|
49 | define 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]
|
---|
50 |
|
---|
51 | ## ECAL
|
---|
52 |
|
---|
53 | # Eta shape from arXiv:1306.2016, Energy shape from arXiv:1502.02701
|
---|
54 |
|
---|
55 | define smearer e with E (1+0.64*eta^2)*sqrt(E^2*0.008^2 + E*0.11^2 + 0.40^2) [abseta <= 1.5]
|
---|
56 | define smearer e with E (2.16 + 5.6*(abseta-2)^2)*sqrt(E^2*0.008^2 + E*0.11^2 + 0.40^2) [abseta>1.5 and abseta<=2.5]
|
---|
57 | define smearer e with E sqrt(E^2*0.107^2 + E*2.08^2) [abseta > 2.5 and abseta <= 5.0]
|
---|
58 |
|
---|
59 | ## Reconstruction efficiency
|
---|
60 | # with tracker (optimized for Drell Yan process)
|
---|
61 |
|
---|
62 | define reco_efficiency e 0.0 [pt <= 10.0 or abseta > 2.5]
|
---|
63 | define reco_efficiency e 0.7 [pt > 10.0 and abseta <= 1.5]
|
---|
64 | define reco_efficiency e 0.525 [pt > 10.0 and abseta > 1.5 and abseta <= 2.5]
|
---|
65 |
|
---|
66 |
|
---|
67 | ## Muon Smearing
|
---|
68 |
|
---|
69 |
|
---|
70 | ## Momentum Smearing
|
---|
71 |
|
---|
72 | define smearer mu with PT sqrt(0.01^2 + pt^2*1.0e-4^2) [abseta <= 0.5 and pt > 0.1]
|
---|
73 | define 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]
|
---|
74 | define 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]
|
---|
75 |
|
---|
76 | ## Reconstruction efficiency
|
---|
77 |
|
---|
78 |
|
---|
79 | ## with Tracker (optimized for Drell Yan process)
|
---|
80 |
|
---|
81 | define reco_efficiency mu 0.0 [pt <= 10.0 or abseta > 2.4]
|
---|
82 | define reco_efficiency mu 0.9*0.99 [abseta <= 1.5 and pt > 10.0 and pt <= 1000.]
|
---|
83 | define reco_efficiency mu 0.9*0.99*exp(0.5 - pt*5.0e-4) [abseta <= 1.5 and pt > 1000.]
|
---|
84 | define reco_efficiency mu 0.9*0.98 [abseta > 1.5 and abseta <= 2.4 and pt > 10.0 and pt <= 1000.]
|
---|
85 | define reco_efficiency mu 0.9*0.98*exp(0.5 - pt*5.0e-4) [abseta > 1.5 and abseta <= 2.4 and pt > 1000.]
|
---|
86 |
|
---|
87 |
|
---|
88 |
|
---|
89 | ### Photon reconstruction
|
---|
90 |
|
---|
91 | ## ECAL
|
---|
92 |
|
---|
93 | # Eta shape from arXiv:1306.2016, Energy shape from arXiv:1502.02701
|
---|
94 |
|
---|
95 | define smearer a with E (1+0.64*eta^2)*sqrt(E^2*0.008^2 + E*0.11^2 + 0.40^2) [abseta <= 1.5]
|
---|
96 | define smearer a with E (2.16 + 5.6*(abseta-2)^2)*sqrt(E^2*0.008^2 + E*0.11^2 + 0.40^2) [abseta>1.5 and abseta<=2.5]
|
---|
97 | define smearer a with E sqrt(E^2*0.107^2 + E*2.08^2) [abseta > 2.5 and abseta <= 5.0]
|
---|
98 |
|
---|
99 |
|
---|
100 | # Reconstruction efficiency (optimized for diphoton process)
|
---|
101 |
|
---|
102 | define reco_efficiency a 0.0 [pt <= 10.0 or abseta > 2.5]
|
---|
103 | define reco_efficiency a 0.96 [abseta <= 1.5 and pt > 10.0]
|
---|
104 | define reco_efficiency a 0.875 [abseta > 1.5 and abseta <= 2.5 and pt > 10.0]
|
---|
105 |
|
---|
106 |
|
---|
107 | ## B tagging
|
---|
108 |
|
---|
109 | define tagger j as b 0.01+0.000038*pt
|
---|
110 | define tagger c as b 0.25*tanh(0.018*pt)/(1.0+ 0.0013*pt) [abseta < 2.5]
|
---|
111 | define tagger c as b 0.0 [abseta >=2.5]
|
---|
112 | define tagger b as b 0.85*tanh(0.0025*pt)*(25.0/(1+0.063*pt)) [abseta < 2.5]
|
---|
113 | define tagger b as b 0.0 [abseta >= 2.5]
|
---|
114 |
|
---|
115 | ## Tau
|
---|
116 |
|
---|
117 | # Tracker
|
---|
118 | define smearer ta with PT sqrt(0.06^2 + pt^2*1.3e-3^2) [abseta <= 0.5 and pt > 0.1]
|
---|
119 | define smearer ta with PT sqrt(0.10^2 + pt^2*1.7e-3^2) [abseta > 0.5 and abseta <= 1.5 and pt > 0.1]
|
---|
120 | define 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]
|
---|
121 |
|
---|
122 | ## HCAL
|
---|
123 | define smearer ta with E sqrt(E^2*0.050^2 + E*1.50^2) [abseta <= 3.0]
|
---|
124 | define smearer ta with E sqrt(E^2*0.130^2 + E*2.70^2) [abseta > 3.0 and abseta <= 5.0]
|
---|
125 |
|
---|
126 | # Tagging
|
---|
127 | define tagger j as ta 0.01
|
---|
128 | define tagger ta as ta 0.6 [abseta < 2.5]
|
---|
129 | define tagger ta as ta 0.0 [abseta >= 2.5]
|
---|
130 |
|
---|
131 | # Reconstruction efficiency (optimized for ditau process)
|
---|
132 | define reco_efficiency ta 0.0 [pt <= 20.]
|
---|
133 | define reco_efficiency ta 0.7 [pt > 20. and abseta<2.5]
|
---|
134 | define reco_efficiency ta 1.0 [pt > 20. and abseta>=2.5] #safety
|
---|
135 |
|
---|
136 |
|
---|
137 |
|
---|