Fork me on GitHub

source: git/cards/delphes_card_IDEA.tcl@ c438758

Last change on this file since c438758 was 2bb6079, checked in by michele <michele.selvaggi@…>, 3 years ago

Merge branch 'master' of github.com:delphes/delphes

  • Property mode set to 100644
File size: 27.9 KB
RevLine 
[3b02069]1#################################################################### l
[a0db751]2# FCC-ee IDEA detector model
3#
[b8a6aa3]4# Authors: Elisa Fontanesi, Lorenzo Pezzotti, Massimiliano Antonello, Michele Selvaggi
[7c9f3da]5# email: efontane@bo.infn.it,
[a0db751]6# lorenzo.pezzotti01@universitadipavia.it,
7# m.antonello@uninsubria.it,
[b8a6aa3]8# michele.selvaggi@cern.ch
[a0db751]9#####################################################################
[b8a6aa3]10
11set B 2.0
12
[d489660]13## Drift chamber coordinates
14set DCHZMIN -2.125
15set DCHZMAX 2.125
16set DCHRMIN 0.345
17set DCHRMAX 2.02
18
19
[ef8a06d]20#######################################
21# Order of execution of various modules
22#######################################
23
24set ExecutionPath {
[058667b]25
26 TruthVertexFinder
[ef8a06d]27 ParticlePropagator
28
29 ChargedHadronTrackingEfficiency
30 ElectronTrackingEfficiency
31 MuonTrackingEfficiency
32
[a0db751]33 TrackMergerPre
34 TrackSmearing
[a95da74]35 ClusterCounting
[058667b]36 TimeSmearing
37 TimeOfFlight
[ef8a06d]38
[a0db751]39 TrackMerger
[ef8a06d]40 Calorimeter
41 EFlowMerger
42
43 PhotonEfficiency
44 PhotonIsolation
45
[b8a6aa3]46 MuonFilter
47
[ef8a06d]48 ElectronFilter
49 ElectronEfficiency
50 ElectronIsolation
51
52 MuonEfficiency
53 MuonIsolation
54
55 MissingET
56
57 NeutrinoFilter
58 GenJetFinder
59 GenMissingET
[a0db751]60
[ef8a06d]61 FastJetFinder
62
63 JetEnergyScale
64
65 JetFlavorAssociation
66
67 BTagging
68 TauTagging
69
70 TreeWriter
71}
72
[058667b]73#################################
74# Truth Vertex Finder
75#################################
76
77module TruthVertexFinder TruthVertexFinder {
78
[33a6b3a]79 ## below this distance two vertices are assumed to be merged
[058667b]80 set Resolution 1E-06
81
82 set InputArray Delphes/stableParticles
83 set VertexOutputArray vertices
84}
85
[ef8a06d]86#################################
87# Propagate particles in cylinder
88#################################
89
90module ParticlePropagator ParticlePropagator {
91 set InputArray Delphes/stableParticles
92
93 set OutputArray stableParticles
94 set ChargedHadronOutputArray chargedHadrons
95 set ElectronOutputArray electrons
96 set MuonOutputArray muons
97
[7c9f3da]98 # inner radius of the solenoid, in m
99 set Radius 2.25
100
101 # half-length: z of the solenoid, in m
102 set HalfLength 2.5
[ef8a06d]103
[7c9f3da]104 # magnetic field, in T
[b8a6aa3]105 set Bz $B
[ef8a06d]106}
107
108####################################
109# Charged hadron tracking efficiency
110####################################
111
112module Efficiency ChargedHadronTrackingEfficiency {
[7c9f3da]113 set InputArray ParticlePropagator/chargedHadrons
114 set OutputArray chargedHadrons
115 # We use only one efficiency, we set only 0 effincency out of eta bounds:
116
117 set EfficiencyFormula {
118 (abs(eta) > 3.0) * (0.000) +
[33a6b3a]119 (pt >= 0.5) * (abs(eta) <= 3.0) * (0.997) +
120 (pt < 0.5 && pt >= 0.3) * (abs(eta) <= 3.0) * (0.65) +
121 (pt < 0.3) * (abs(eta) <= 3.0) * (0.06)
[7c9f3da]122 }
[ef8a06d]123}
124
[7c9f3da]125
126
[ef8a06d]127##############################
128# Electron tracking efficiency
129##############################
130
131module Efficiency ElectronTrackingEfficiency {
[7c9f3da]132 set InputArray ParticlePropagator/electrons
133 set OutputArray electrons
[ef8a06d]134
135
[7c9f3da]136 # Current full simulation with CLICdet provides for electrons:
137 set EfficiencyFormula {
138 (abs(eta) > 3.0) * (0.000) +
[33a6b3a]139 (pt >= 0.5) * (abs(eta) <= 3.0) * (0.997) +
140 (pt < 0.5 && pt >= 0.3) * (abs(eta) <= 3.0) * (0.65) +
141 (pt < 0.3) * (abs(eta) <= 3.0) * (0.06)
[a0db751]142 }
[ef8a06d]143}
144
[7c9f3da]145
[ef8a06d]146##########################
147# Muon tracking efficiency
148##########################
149
150module Efficiency MuonTrackingEfficiency {
[7c9f3da]151 set InputArray ParticlePropagator/muons
152 set OutputArray muons
153
154 # Current full simulation with CLICdet provides for muons:
155 set EfficiencyFormula {
156 (abs(eta) > 3.0) * (0.000) +
[33a6b3a]157 (pt >= 0.5) * (abs(eta) <= 3.0) * (0.997) +
158 (pt < 0.5 && pt >= 0.3) * (abs(eta) <= 3.0) * (0.65) +
159 (pt < 0.3) * (abs(eta) <= 3.0) * (0.06)
[7c9f3da]160 }
[ef8a06d]161}
162
[a0db751]163##############
164# Track merger
165##############
[7c9f3da]166
[a0db751]167module Merger TrackMergerPre {
168# add InputArray InputArray
169 add InputArray ChargedHadronTrackingEfficiency/chargedHadrons
170 add InputArray ElectronTrackingEfficiency/electrons
171 add InputArray MuonTrackingEfficiency/muons
172 set OutputArray tracks
173}
[ef8a06d]174
175
[a0db751]176########################################
177# Smearing for charged tracks
178########################################
[ef8a06d]179
[a0db751]180module TrackCovariance TrackSmearing {
[b8a6aa3]181
182 set InputArray TrackMergerPre/tracks
183 set OutputArray tracks
184
[a0db751]185 ## minimum number of hits to accept a track
186 set NMinHits 6
187
[a95da74]188 ## magnetic field
189 set Bz $B
190
[a0db751]191 ## uses https://raw.githubusercontent.com/selvaggi/FastTrackCovariance/master/GeoIDEA_BASE.txt
192 set DetectorGeometry {
193
194
195 # Layer type 1 = R (barrel) or 2 = z (forward/backward)
196 # Layer label
197 # Minimum dimension z for barrel or R for forward
198 # Maximum dimension z for barrel or R for forward
199 # R/z location of layer
200 # Thickness (meters)
201 # Radiation length (meters)
202 # Number of measurements in layers (1D or 2D)
203 # Stereo angle (rad) - 0(pi/2) = axial(z) layer - Upper side
204 # Stereo angle (rad) - 0(pi/2) = axial(z) layer - Lower side
205 # Resolution Upper side (meters) - 0 = no measurement
206 # Resolution Lower side (meters) - 0 = no measurement
207 # measurement flag = T, scattering only = F
208
[b8a6aa3]209 # barrel name zmin zmax r w (m) X0 n_meas th_up (rad) th_down (rad) reso_up (m) reso_down (m) flag
[a0db751]210
211 # barrel name zmin zmax r w (m) X0 n_meas th_up (rad) th_down (rad) reso_up (m) reso_down (m) flag
212
[b8a6aa3]213 1 PIPE -100 100 0.015 0.001655 0.2805 0 0 0 0 0 0
[a0db751]214 1 VTXLOW -0.12 0.12 0.017 0.00028 0.0937 2 0 1.5708 3e-006 3e-006 1
215 1 VTXLOW -0.16 0.16 0.023 0.00028 0.0937 2 0 1.5708 3e-006 3e-006 1
216 1 VTXLOW -0.16 0.16 0.031 0.00028 0.0937 2 0 1.5708 3e-006 3e-006 1
217 1 VTXHIGH -1 1 0.32 0.00047 0.0937 2 0 1.5708 7e-006 7e-006 1
218 1 VTXHIGH -1.05 1.05 0.34 0.00047 0.0937 2 0 1.5708 7e-006 7e-006 1
219
220 # endcap name rmin rmax z w (m) X0 n_meas th_up (rad) th_down (rad) reso_up (m) reso_down (m) flag
221
222 2 VTXDSK 0.141 0.3 -0.92 0.00028 0.0937 2 0 1.5708 7e-006 7e-006 1
223 2 VTXDSK 0.138 0.3 -0.9 0.00028 0.0937 2 0 1.5708 7e-006 7e-006 1
224 2 VTXDSK 0.065 0.3 -0.42 0.00028 0.0937 2 0 1.5708 7e-006 7e-006 1
225 2 VTXDSK 0.062 0.3 -0.4 0.00028 0.0937 2 0 1.5708 7e-006 7e-006 1
226 2 VTXDSK 0.062 0.3 0.4 0.00028 0.0937 2 0 1.5708 7e-006 7e-006 1
227 2 VTXDSK 0.065 0.3 0.42 0.00028 0.0937 2 0 1.5708 7e-006 7e-006 1
228 2 VTXDSK 0.138 0.3 0.9 0.00028 0.0937 2 0 1.5708 7e-006 7e-006 1
229 2 VTXDSK 0.141 0.3 0.92 0.00028 0.0937 2 0 1.5708 7e-006 7e-006 1
230
[d489660]231 1 DCHCANI $DCHZMIN $DCHZMAX $DCHRMIN 0.0002 0.237223 0 0 0 0 0 0
[a0db751]232 1 DCH -2 2 0.36 0.0147748 1400 1 0.0203738 0 0.0001 0 1
233 1 DCH -2 2 0.374775 0.0147748 1400 1 -0.0212097 0 0.0001 0 1
234 1 DCH -2 2 0.38955 0.0147748 1400 1 0.0220456 0 0.0001 0 1
235 1 DCH -2 2 0.404324 0.0147748 1400 1 -0.0228814 0 0.0001 0 1
236 1 DCH -2 2 0.419099 0.0147748 1400 1 0.0237172 0 0.0001 0 1
237 1 DCH -2 2 0.433874 0.0147748 1400 1 -0.024553 0 0.0001 0 1
238 1 DCH -2 2 0.448649 0.0147748 1400 1 0.0253888 0 0.0001 0 1
239 1 DCH -2 2 0.463423 0.0147748 1400 1 -0.0262245 0 0.0001 0 1
240 1 DCH -2 2 0.478198 0.0147748 1400 1 0.0270602 0 0.0001 0 1
241 1 DCH -2 2 0.492973 0.0147748 1400 1 -0.0278958 0 0.0001 0 1
242 1 DCH -2 2 0.507748 0.0147748 1400 1 0.0287314 0 0.0001 0 1
243 1 DCH -2 2 0.522523 0.0147748 1400 1 -0.029567 0 0.0001 0 1
244 1 DCH -2 2 0.537297 0.0147748 1400 1 0.0304025 0 0.0001 0 1
245 1 DCH -2 2 0.552072 0.0147748 1400 1 -0.031238 0 0.0001 0 1
246 1 DCH -2 2 0.566847 0.0147748 1400 1 0.0320734 0 0.0001 0 1
247 1 DCH -2 2 0.581622 0.0147748 1400 1 -0.0329088 0 0.0001 0 1
248 1 DCH -2 2 0.596396 0.0147748 1400 1 0.0337442 0 0.0001 0 1
249 1 DCH -2 2 0.611171 0.0147748 1400 1 -0.0345795 0 0.0001 0 1
250 1 DCH -2 2 0.625946 0.0147748 1400 1 0.0354147 0 0.0001 0 1
251 1 DCH -2 2 0.640721 0.0147748 1400 1 -0.0362499 0 0.0001 0 1
252 1 DCH -2 2 0.655495 0.0147748 1400 1 0.0370851 0 0.0001 0 1
253 1 DCH -2 2 0.67027 0.0147748 1400 1 -0.0379202 0 0.0001 0 1
254 1 DCH -2 2 0.685045 0.0147748 1400 1 0.0387552 0 0.0001 0 1
255 1 DCH -2 2 0.69982 0.0147748 1400 1 -0.0395902 0 0.0001 0 1
256 1 DCH -2 2 0.714595 0.0147748 1400 1 0.0404252 0 0.0001 0 1
257 1 DCH -2 2 0.729369 0.0147748 1400 1 -0.04126 0 0.0001 0 1
258 1 DCH -2 2 0.744144 0.0147748 1400 1 0.0420949 0 0.0001 0 1
259 1 DCH -2 2 0.758919 0.0147748 1400 1 -0.0429296 0 0.0001 0 1
260 1 DCH -2 2 0.773694 0.0147748 1400 1 0.0437643 0 0.0001 0 1
261 1 DCH -2 2 0.788468 0.0147748 1400 1 -0.044599 0 0.0001 0 1
262 1 DCH -2 2 0.803243 0.0147748 1400 1 0.0454336 0 0.0001 0 1
263 1 DCH -2 2 0.818018 0.0147748 1400 1 -0.0462681 0 0.0001 0 1
264 1 DCH -2 2 0.832793 0.0147748 1400 1 0.0471025 0 0.0001 0 1
265 1 DCH -2 2 0.847568 0.0147748 1400 1 -0.0479369 0 0.0001 0 1
266 1 DCH -2 2 0.862342 0.0147748 1400 1 0.0487713 0 0.0001 0 1
267 1 DCH -2 2 0.877117 0.0147748 1400 1 -0.0496055 0 0.0001 0 1
268 1 DCH -2 2 0.891892 0.0147748 1400 1 0.0504397 0 0.0001 0 1
269 1 DCH -2 2 0.906667 0.0147748 1400 1 -0.0512738 0 0.0001 0 1
270 1 DCH -2 2 0.921441 0.0147748 1400 1 0.0521079 0 0.0001 0 1
271 1 DCH -2 2 0.936216 0.0147748 1400 1 -0.0529418 0 0.0001 0 1
272 1 DCH -2 2 0.950991 0.0147748 1400 1 0.0537757 0 0.0001 0 1
273 1 DCH -2 2 0.965766 0.0147748 1400 1 -0.0546095 0 0.0001 0 1
274 1 DCH -2 2 0.980541 0.0147748 1400 1 0.0554433 0 0.0001 0 1
275 1 DCH -2 2 0.995315 0.0147748 1400 1 -0.056277 0 0.0001 0 1
276 1 DCH -2 2 1.01009 0.0147748 1400 1 0.0571106 0 0.0001 0 1
277 1 DCH -2 2 1.02486 0.0147748 1400 1 -0.0579441 0 0.0001 0 1
278 1 DCH -2 2 1.03964 0.0147748 1400 1 0.0587775 0 0.0001 0 1
279 1 DCH -2 2 1.05441 0.0147748 1400 1 -0.0596108 0 0.0001 0 1
280 1 DCH -2 2 1.06919 0.0147748 1400 1 0.0604441 0 0.0001 0 1
281 1 DCH -2 2 1.08396 0.0147748 1400 1 -0.0612773 0 0.0001 0 1
282 1 DCH -2 2 1.09874 0.0147748 1400 1 0.0621104 0 0.0001 0 1
283 1 DCH -2 2 1.11351 0.0147748 1400 1 -0.0629434 0 0.0001 0 1
284 1 DCH -2 2 1.12829 0.0147748 1400 1 0.0637763 0 0.0001 0 1
285 1 DCH -2 2 1.14306 0.0147748 1400 1 -0.0646092 0 0.0001 0 1
286 1 DCH -2 2 1.15784 0.0147748 1400 1 0.0654419 0 0.0001 0 1
287 1 DCH -2 2 1.17261 0.0147748 1400 1 -0.0662746 0 0.0001 0 1
288 1 DCH -2 2 1.18739 0.0147748 1400 1 0.0671071 0 0.0001 0 1
289 1 DCH -2 2 1.20216 0.0147748 1400 1 -0.0679396 0 0.0001 0 1
290 1 DCH -2 2 1.21694 0.0147748 1400 1 0.068772 0 0.0001 0 1
291 1 DCH -2 2 1.23171 0.0147748 1400 1 -0.0696042 0 0.0001 0 1
292 1 DCH -2 2 1.24649 0.0147748 1400 1 0.0704364 0 0.0001 0 1
293 1 DCH -2 2 1.26126 0.0147748 1400 1 -0.0712685 0 0.0001 0 1
294 1 DCH -2 2 1.27604 0.0147748 1400 1 0.0721005 0 0.0001 0 1
295 1 DCH -2 2 1.29081 0.0147748 1400 1 -0.0729324 0 0.0001 0 1
296 1 DCH -2 2 1.30559 0.0147748 1400 1 0.0737642 0 0.0001 0 1
297 1 DCH -2 2 1.32036 0.0147748 1400 1 -0.0745958 0 0.0001 0 1
298 1 DCH -2 2 1.33514 0.0147748 1400 1 0.0754274 0 0.0001 0 1
299 1 DCH -2 2 1.34991 0.0147748 1400 1 -0.0762589 0 0.0001 0 1
300 1 DCH -2 2 1.36468 0.0147748 1400 1 0.0770903 0 0.0001 0 1
301 1 DCH -2 2 1.37946 0.0147748 1400 1 -0.0779215 0 0.0001 0 1
302 1 DCH -2 2 1.39423 0.0147748 1400 1 0.0787527 0 0.0001 0 1
303 1 DCH -2 2 1.40901 0.0147748 1400 1 -0.0795837 0 0.0001 0 1
304 1 DCH -2 2 1.42378 0.0147748 1400 1 0.0804147 0 0.0001 0 1
305 1 DCH -2 2 1.43856 0.0147748 1400 1 -0.0812455 0 0.0001 0 1
306 1 DCH -2 2 1.45333 0.0147748 1400 1 0.0820762 0 0.0001 0 1
307 1 DCH -2 2 1.46811 0.0147748 1400 1 -0.0829068 0 0.0001 0 1
308 1 DCH -2 2 1.48288 0.0147748 1400 1 0.0837373 0 0.0001 0 1
309 1 DCH -2 2 1.49766 0.0147748 1400 1 -0.0845677 0 0.0001 0 1
310 1 DCH -2 2 1.51243 0.0147748 1400 1 0.0853979 0 0.0001 0 1
311 1 DCH -2 2 1.52721 0.0147748 1400 1 -0.086228 0 0.0001 0 1
312 1 DCH -2 2 1.54198 0.0147748 1400 1 0.087058 0 0.0001 0 1
313 1 DCH -2 2 1.55676 0.0147748 1400 1 -0.0878879 0 0.0001 0 1
314 1 DCH -2 2 1.57153 0.0147748 1400 1 0.0887177 0 0.0001 0 1
315 1 DCH -2 2 1.58631 0.0147748 1400 1 -0.0895474 0 0.0001 0 1
316 1 DCH -2 2 1.60108 0.0147748 1400 1 0.0903769 0 0.0001 0 1
317 1 DCH -2 2 1.61586 0.0147748 1400 1 -0.0912063 0 0.0001 0 1
318 1 DCH -2 2 1.63063 0.0147748 1400 1 0.0920356 0 0.0001 0 1
319 1 DCH -2 2 1.64541 0.0147748 1400 1 -0.0928647 0 0.0001 0 1
320 1 DCH -2 2 1.66018 0.0147748 1400 1 0.0936937 0 0.0001 0 1
321 1 DCH -2 2 1.67495 0.0147748 1400 1 -0.0945226 0 0.0001 0 1
322 1 DCH -2 2 1.68973 0.0147748 1400 1 0.0953514 0 0.0001 0 1
323 1 DCH -2 2 1.7045 0.0147748 1400 1 -0.09618 0 0.0001 0 1
324 1 DCH -2 2 1.71928 0.0147748 1400 1 0.0970085 0 0.0001 0 1
325 1 DCH -2 2 1.73405 0.0147748 1400 1 -0.0978369 0 0.0001 0 1
326 1 DCH -2 2 1.74883 0.0147748 1400 1 0.0986651 0 0.0001 0 1
327 1 DCH -2 2 1.7636 0.0147748 1400 1 -0.0994932 0 0.0001 0 1
328 1 DCH -2 2 1.77838 0.0147748 1400 1 0.100321 0 0.0001 0 1
329 1 DCH -2 2 1.79315 0.0147748 1400 1 -0.101149 0 0.0001 0 1
330 1 DCH -2 2 1.80793 0.0147748 1400 1 0.101977 0 0.0001 0 1
331 1 DCH -2 2 1.8227 0.0147748 1400 1 -0.102804 0 0.0001 0 1
332 1 DCH -2 2 1.83748 0.0147748 1400 1 0.103632 0 0.0001 0 1
333 1 DCH -2 2 1.85225 0.0147748 1400 1 -0.104459 0 0.0001 0 1
334 1 DCH -2 2 1.86703 0.0147748 1400 1 0.105286 0 0.0001 0 1
335 1 DCH -2 2 1.8818 0.0147748 1400 1 -0.106113 0 0.0001 0 1
336 1 DCH -2 2 1.89658 0.0147748 1400 1 0.10694 0 0.0001 0 1
337 1 DCH -2 2 1.91135 0.0147748 1400 1 -0.107766 0 0.0001 0 1
338 1 DCH -2 2 1.92613 0.0147748 1400 1 0.108593 0 0.0001 0 1
339 1 DCH -2 2 1.9409 0.0147748 1400 1 -0.109419 0 0.0001 0 1
340 1 DCH -2 2 1.95568 0.0147748 1400 1 0.110246 0 0.0001 0 1
341 1 DCH -2 2 1.97045 0.0147748 1400 1 -0.111072 0 0.0001 0 1
342 1 DCH -2 2 1.98523 0.0147748 1400 1 0.111898 0 0.0001 0 1
343 1 DCH -2 2 2 0.0147748 1400 1 -0.112723 0 0.0001 0 1
[d489660]344 1 DCHCANO $DCHZMIN $DCHZMAX $DCHRMAX $DCHRMAX 0.02 1.667 0 0 0 0 0 0
[a0db751]345 1 BSILWRP -2.35 2.35 2.04 0.00047 0.0937 2 0 1.5708 7e-006 9e-005 1
346 1 BSILWRP -2.35 2.35 2.06 0.00047 0.0937 2 0 1.5708 7e-006 9e-005 1
347 1 MAG -2.5 2.5 2.25 0.05 0.0658 0 0 0 0 0 0
348 1 BPRESH -2.55 2.55 2.45 0.02 1 2 0 1.5708 7e-005 0.01 1
[d489660]349 2 DCHWALL $DCHRMIN $DCHRMAX $DCHZMAX 0.25 5.55 0 0 0 0 0 0
350 2 DCHWALL $DCHRMIN $DCHRMAX $DCHZMIN 0.25 5.55 0 0 0 0 0 0
[a0db751]351 2 FSILWRP 0.354 2.02 -2.32 0.00047 0.0937 2 0 1.5708 7e-006 9e-005 1
352 2 FSILWRP 0.35 2.02 -2.3 0.00047 0.0937 2 0 1.5708 7e-006 9e-005 1
353 2 FSILWRP 0.35 2.02 2.3 0.00047 0.0937 2 0 1.5708 7e-006 9e-005 1
354 2 FSILWRP 0.354 2.02 2.32 0.00047 0.0937 2 0 1.5708 7e-006 9e-005 1
355 2 FRAD 0.38 2.09 2.49 0.0043 0.005612 0 0 0 0 0 0
356 2 FRAD 0.38 2.09 -2.49 0.0043 0.005612 0 0 0 0 0 0
357 2 FPRESH 0.39 2.43 -2.55 0.02 1 2 0 1.5708 7e-005 0.01 1
358 2 FPRESH 0.39 2.43 2.55 0.02 1 2 0 1.5708 7e-005 0.01 1
[7c9f3da]359 }
[ef8a06d]360
361}
362
[a95da74]363###################
364# Cluster Counting
365###################
366
367module ClusterCounting ClusterCounting {
368
369 add InputArray TrackSmearing/tracks
370 set OutputArray tracks
371
372 set Bz $B
373
[058667b]374 ## check that these are consistent with DCHCANI/DCHNANO parameters in TrackCovariance module
[3fdfd04]375 set Rmin $DCHRMIN
376 set Rmax $DCHRMAX
377 set Zmin $DCHZMIN
378 set Zmax $DCHZMAX
[a95da74]379
[058667b]380 # gas mix option:
[a95da74]381 # 0: Helium 90% - Isobutane 10%
382 # 1: Helium 100%
383 # 2: Argon 50% - Ethane 50%
384 # 3: Argon 100%
385
386 set GasOption 0
387
388}
389
390
[058667b]391########################################
392# Time Smearing MIP
393########################################
394
395module TimeSmearing TimeSmearing {
396 set TrackInputArray ClusterCounting/tracks
397 set OutputArray tracks
398
399 # assume constant 30 ps resolution for now
400 set TimeResolution {
401 (abs(eta) > 0.0 && abs(eta) <= 3.0)* 30E-12
402 }
403}
404
405########################################
406# Time Of Flight Measurement
407########################################
408
409module TimeOfFlight TimeOfFlight {
410 set TrackInputArray TimeSmearing/tracks
411 set VertexInputArray TruthVertexFinder/vertices
412
413 set OutputArray tracks
414
415 # 0: assume vertex time tV from MC Truth (ideal case)
[33a6b3a]416 # 1: assume vertex time tV = 0
[058667b]417 # 2: calculate vertex time as vertex TOF, assuming tPV=0
418
[33a6b3a]419 set VertexTimeMode 2
[058667b]420}
421
[ef8a06d]422##############
423# Track merger
424##############
425
426module Merger TrackMerger {
427# add InputArray InputArray
[058667b]428 add InputArray TimeOfFlight/tracks
[ef8a06d]429 set OutputArray tracks
430}
431
432
[a0db751]433#############
434# Calorimeter
435#############
[ef8a06d]436module DualReadoutCalorimeter Calorimeter {
437 set ParticleInputArray ParticlePropagator/stableParticles
438 set TrackInputArray TrackMerger/tracks
439
440 set TowerOutputArray towers
441 set PhotonOutputArray photons
442
443 set EFlowTrackOutputArray eflowTracks
444 set EFlowPhotonOutputArray eflowPhotons
445 set EFlowNeutralHadronOutputArray eflowNeutralHadrons
446
447 set ECalEnergyMin 0.5
[7c9f3da]448 set HCalEnergyMin 0.5
[a1b19ea]449 set EnergyMin 0.5
[ef8a06d]450 set ECalEnergySignificanceMin 1.0
451 set HCalEnergySignificanceMin 1.0
452 set EnergySignificanceMin 1.0
453
454 set SmearTowerCenter true
[7c9f3da]455 set pi [expr {acos(-1)}]
456
[a0db751]457 # Lists of the edges of each tower in eta and phi;
458 # each list starts with the lower edge of the first tower;
459 # the list ends with the higher edged of the last tower.
460 # Barrel: deta=0.02 towers up to |eta| <= 0.88 ( up to 45°)
461 # Endcaps: deta=0.02 towers up to |eta| <= 3.0 (8.6° = 100 mrad)
462 # Cell size: about 6 cm x 6 cm
[7c9f3da]463
[a0db751]464 #barrel:
[7c9f3da]465 set PhiBins {}
466 for {set i -120} {$i <= 120} {incr i} {
467 add PhiBins [expr {$i * $pi/120}]
468 }
[a0db751]469 #deta=0.02 units for |eta| <= 0.88
[7c9f3da]470 for {set i -44} {$i < 45} {incr i} {
471 set eta [expr {$i * 0.02}]
472 add EtaPhiBins $eta $PhiBins
473 }
474
[a0db751]475 #endcaps:
[7c9f3da]476 set PhiBins {}
477 for {set i -120} {$i <= 120} {incr i} {
478 add PhiBins [expr {$i* $pi/120}]
479 }
[a0db751]480 #deta=0.02 units for 0.88 < |eta| <= 3.0
481 #first, from -3.0 to -0.88
[7c9f3da]482 for {set i 1} {$i <=106} {incr i} {
483 set eta [expr {-3.00 + $i * 0.02}]
484 add EtaPhiBins $eta $PhiBins
485 }
[a0db751]486 #same for 0.88 to 3.0
[7c9f3da]487 for {set i 1} {$i <=106} {incr i} {
488 set eta [expr {0.88 + $i * 0.02}]
489 add EtaPhiBins $eta $PhiBins
490 }
491
[a0db751]492 # default energy fractions {abs(PDG code)} {Fecal Fhcal}
[7c9f3da]493 add EnergyFraction {0} {0.0 1.0}
[a0db751]494 # energy fractions for e, gamma and pi0
[7c9f3da]495 add EnergyFraction {11} {1.0 0.0}
496 add EnergyFraction {22} {1.0 0.0}
497 add EnergyFraction {111} {1.0 0.0}
[a0db751]498 # energy fractions for muon, neutrinos and neutralinos
[7c9f3da]499 add EnergyFraction {12} {0.0 0.0}
500 add EnergyFraction {13} {0.0 0.0}
501 add EnergyFraction {14} {0.0 0.0}
502 add EnergyFraction {16} {0.0 0.0}
503 add EnergyFraction {1000022} {0.0 0.0}
504 add EnergyFraction {1000023} {0.0 0.0}
505 add EnergyFraction {1000025} {0.0 0.0}
506 add EnergyFraction {1000035} {0.0 0.0}
507 add EnergyFraction {1000045} {0.0 0.0}
[a0db751]508 # energy fractions for K0short and Lambda
[7c9f3da]509 add EnergyFraction {310} {0.3 0.7}
510 add EnergyFraction {3122} {0.3 0.7}
511
512
[a0db751]513 # set ECalResolutionFormula {resolution formula as a function of eta and energy}
[7c9f3da]514 set ECalResolutionFormula {
515 (abs(eta) <= 0.88 ) * sqrt(energy^2*0.01^2 + energy*0.11^2)+
516 (abs(eta) > 0.88 && abs(eta) <= 3.0) * sqrt(energy^2*0.01^2 + energy*0.11^2)
517 }
518
[a0db751]519 # set HCalResolutionFormula {resolution formula as a function of eta and energy}
[7c9f3da]520 set HCalResolutionFormula {
521 (abs(eta) <= 0.88 ) * sqrt(energy^2*0.01^2 + energy*0.30^2)+
522 (abs(eta) > 0.88 && abs(eta) <= 3.0) * sqrt(energy^2*0.01^2 + energy*0.30^2)
523 }
[ef8a06d]524}
525
526####################
527# Energy flow merger
528####################
529
530module Merger EFlowMerger {
531# add InputArray InputArray
532 add InputArray Calorimeter/eflowTracks
533 add InputArray Calorimeter/eflowPhotons
534 add InputArray Calorimeter/eflowNeutralHadrons
535 set OutputArray eflow
536}
537
538###################
539# Photon efficiency
540###################
541
542module Efficiency PhotonEfficiency {
543 set InputArray Calorimeter/eflowPhotons
544 set OutputArray photons
545
546 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
547 # efficiency formula for photons
[7c9f3da]548 set EfficiencyFormula {
549 (energy < 2.0) * (0.000)+
550 (energy >= 2.0) * (abs(eta) <= 0.88) * (0.99) +
551 (energy >= 2.0) * (abs(eta) >0.88 && abs(eta) <= 3.0) * (0.99) +
552 (abs(eta) > 3.0) * (0.000)
553 }
[ef8a06d]554}
555
556##################
557# Photon isolation
558##################
559
560module Isolation PhotonIsolation {
561 set CandidateInputArray PhotonEfficiency/photons
562 set IsolationInputArray EFlowMerger/eflow
563
564 set OutputArray photons
565
566 set DeltaRMax 0.5
567
568 set PTMin 0.5
569
[7c9f3da]570 set PTRatioMax 999.
[ef8a06d]571}
572
573#################
574# Electron filter
575#################
576
577module PdgCodeFilter ElectronFilter {
578 set InputArray Calorimeter/eflowTracks
579 set OutputArray electrons
580 set Invert true
581 add PdgCode {11}
582 add PdgCode {-11}
583}
584
[a0db751]585#################
586# Muon filter
587#################
588
589module PdgCodeFilter MuonFilter {
590 set InputArray Calorimeter/eflowTracks
591 set OutputArray muons
592 set Invert true
593 add PdgCode {13}
594 add PdgCode {-13}
595}
596
597
[ef8a06d]598#####################
599# Electron efficiency
600#####################
601
602module Efficiency ElectronEfficiency {
603 set InputArray ElectronFilter/electrons
604 set OutputArray electrons
605
606 # set EfficiencyFormula {efficiency formula as a function of eta and pt}
607
608 # efficiency formula for electrons
[a0db751]609 set EfficiencyFormula {
[7c9f3da]610 (energy < 2.0) * (0.000)+
611 (energy >= 2.0) * (abs(eta) <= 0.88) * (0.99) +
612 (energy >= 2.0) * (abs(eta) >0.88 && abs(eta) <= 3.0) * (0.99) +
613 (abs(eta) > 3.0) * (0.000)
614 }
[ef8a06d]615}
616
617####################
618# Electron isolation
619####################
620
621module Isolation ElectronIsolation {
622 set CandidateInputArray ElectronEfficiency/electrons
623 set IsolationInputArray EFlowMerger/eflow
624
625 set OutputArray electrons
626
627 set DeltaRMax 0.5
628
629 set PTMin 0.5
630
631 set PTRatioMax 0.12
632}
633
634#################
635# Muon efficiency
636#################
637
638module Efficiency MuonEfficiency {
[a0db751]639 set InputArray MuonFilter/muons
[ef8a06d]640 set OutputArray muons
641
642 # set EfficiencyFormula {efficiency as a function of eta and pt}
643
644 # efficiency formula for muons
[a0db751]645 set EfficiencyFormula {
[7c9f3da]646 (energy < 2.0) * (0.000)+
647 (energy >= 2.0) * (abs(eta) <= 0.88) * (0.99) +
648 (energy >= 2.0) * (abs(eta) >0.88 && abs(eta) <= 3.0) * (0.99) +
649 (abs(eta) > 3.0) * (0.000)
650 }
[ef8a06d]651}
652
653################
654# Muon isolation
655################
656
657module Isolation MuonIsolation {
658 set CandidateInputArray MuonEfficiency/muons
659 set IsolationInputArray EFlowMerger/eflow
660
661 set OutputArray muons
662
663 set DeltaRMax 0.5
664
665 set PTMin 0.5
666
667 set PTRatioMax 0.25
668}
669
670###################
671# Missing ET merger
672###################
673
674module Merger MissingET {
675# add InputArray InputArray
676 add InputArray EFlowMerger/eflow
677 set MomentumOutputArray momentum
678}
679
680##################
681# Scalar HT merger
682##################
683
684module Merger ScalarHT {
685# add InputArray InputArray
686 add InputArray UniqueObjectFinder/jets
687 add InputArray UniqueObjectFinder/electrons
688 add InputArray UniqueObjectFinder/photons
689 add InputArray UniqueObjectFinder/muons
690 set EnergyOutputArray energy
691}
692
693#####################
694# Neutrino Filter
695#####################
696
697module PdgCodeFilter NeutrinoFilter {
698
699 set InputArray Delphes/stableParticles
700 set OutputArray filteredParticles
701
702 set PTMin 0.0
703
704 add PdgCode {12}
705 add PdgCode {14}
706 add PdgCode {16}
707 add PdgCode {-12}
708 add PdgCode {-14}
709 add PdgCode {-16}
710}
711
712
713#####################
714# MC truth jet finder
715#####################
716
717module FastJetFinder GenJetFinder {
718 set InputArray NeutrinoFilter/filteredParticles
719 set OutputArray jets
720
[1c1c9c2]721 set JetAlgorithm 10
722 set ParameterR 1.5
723 set ParameterP -1.0
[7c9f3da]724 set JetPTMin 1.0
[1c1c9c2]725
[ef8a06d]726}
727
[7c9f3da]728
[ef8a06d]729#########################
730# Gen Missing ET merger
731########################
732
733module Merger GenMissingET {
734# add InputArray InputArray
735 add InputArray NeutrinoFilter/filteredParticles
736 set MomentumOutputArray momentum
737}
738
739############
740# Jet finder
741############
742
743module FastJetFinder FastJetFinder {
744# set InputArray Calorimeter/towers
745 set InputArray EFlowMerger/eflow
746
747 set OutputArray jets
748
749 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
[1c1c9c2]750 set JetAlgorithm 10
751 set ParameterR 1.5
752 set ParameterP -1.0
[7c9f3da]753 set JetPTMin 1.0
[1c1c9c2]754
755
[ef8a06d]756}
757
758##################
759# Jet Energy Scale
760##################
761
762module EnergyScale JetEnergyScale {
763 set InputArray FastJetFinder/jets
764 set OutputArray jets
765
766 # scale formula for jets
[1c1c9c2]767 set ScaleFormula {1.00}
[ef8a06d]768}
769
770########################
771# Jet Flavor Association
772########################
773
774module JetFlavorAssociation JetFlavorAssociation {
775
776 set PartonInputArray Delphes/partons
777 set ParticleInputArray Delphes/allParticles
778 set ParticleLHEFInputArray Delphes/allParticlesLHEF
779 set JetInputArray JetEnergyScale/jets
780
781 set DeltaR 0.5
782 set PartonPTMin 1.0
[7c9f3da]783 set PartonEtaMax 3.0
[ef8a06d]784}
785
786###########
787# b-tagging
788###########
789
790module BTagging BTagging {
791 set JetInputArray JetEnergyScale/jets
792
793 set BitNumber 0
794
795 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
[a0db751]796
[ef8a06d]797 # default efficiency formula (misidentification rate)
[7c9f3da]798 add EfficiencyFormula {0} {0.01}
[ef8a06d]799
800 # efficiency formula for c-jets (misidentification rate)
[7c9f3da]801 add EfficiencyFormula {4} {0.10}
[ef8a06d]802
803 # efficiency formula for b-jets
[7c9f3da]804 add EfficiencyFormula {5} {0.80}
[ef8a06d]805}
806
807#############
808# tau-tagging
809#############
810
811module TauTagging TauTagging {
812 set ParticleInputArray Delphes/allParticles
813 set PartonInputArray Delphes/partons
814 set JetInputArray JetEnergyScale/jets
815
816 set DeltaR 0.5
817 set TauPTMin 1.0
[7c9f3da]818 set TauEtaMax 3.0
[ef8a06d]819
820 # default efficiency formula (misidentification rate)
[7c9f3da]821 add EfficiencyFormula {0} {0.001}
[ef8a06d]822 # efficiency formula for tau-jets
823 add EfficiencyFormula {15} {0.6}
824}
825
[7c9f3da]826
827
[ef8a06d]828##################
829# ROOT tree writer
830##################
831
[7c9f3da]832# Tracks, towers and eflow objects are not stored by default in the output.
833# If needed (for jet constituent or other studies), uncomment the relevant
[ef8a06d]834# "add Branch ..." lines.
835
836module TreeWriter TreeWriter {
[7c9f3da]837 # add Branch InputArray BranchName BranchClass
[a0db751]838
[7c9f3da]839 add Branch Delphes/allParticles Particle GenParticle
[33a6b3a]840 add Branch TruthVertexFinder/vertices GenVertex Vertex
[7c9f3da]841
842 add Branch TrackMerger/tracks Track Track
843 add Branch Calorimeter/towers Tower Tower
[a0db751]844
[7c9f3da]845 add Branch Calorimeter/eflowTracks EFlowTrack Track
846 add Branch Calorimeter/eflowPhotons EFlowPhoton Tower
847 add Branch Calorimeter/eflowNeutralHadrons EFlowNeutralHadron Tower
848
[1c1c9c2]849 add Branch EFlowMerger/eflow ParticleFlowCandidate ParticleFlowCandidate
850
[7c9f3da]851 add Branch Calorimeter/photons CaloPhoton Photon
852 add Branch PhotonEfficiency/photons PhotonEff Photon
853 add Branch PhotonIsolation/photons PhotonIso Photon
[a0db751]854
[7c9f3da]855 add Branch GenJetFinder/jets GenJet Jet
856 add Branch GenMissingET/momentum GenMissingET MissingET
[a0db751]857
[33a6b3a]858 add Branch JetEnergyScale/jets Jet Jet
859 add Branch ElectronIsolation/electrons Electron Electron
860 add Branch PhotonIsolation/photons Photon Photon
861 add Branch MuonIsolation/muons Muon Muon
[a0db751]862
[7c9f3da]863 add Branch MissingET/momentum MissingET MissingET
[b8a6aa3]864
865 # add Info InfoName InfoValue
866 add Info Bz $B
[ef8a06d]867}
Note: See TracBrowser for help on using the repository browser.