ATLAS Offline Software
Loading...
Searching...
No Matches
MC23.py
Go to the documentation of this file.
1# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2from AthenaConfiguration.Enums import ProductionStep
3from Campaigns.Utils import Campaign
4
5
6def _MC23PileUp(flags):
7 """MC23 flags for MC with pile-up"""
8 flags.Beam.NumberOfCollisions = 60.
9
10 from LArConfiguration.LArConfigRun3 import LArConfigRun3PileUp
11 LArConfigRun3PileUp(flags)
12
13 # radiation damage
14 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
15 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
16
17 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
18 # ensure better randomisation of high-pt minbias events
19 flags.Digitization.PU.HighPtMinBiasInputColOffset = -1
20
21
22def MC23a(flags):
23 """MC23a flags for MC to match 2022 Run 3 data"""
24 _MC23PileUp(flags)
25
26 flags.Input.MCCampaign = Campaign.MC23a
27
28 # pile-up
29 # These numbers are based upon a relative XS scaling of the high-pt slice
30 # of 64%, which leads to a relative high-pt / low-pt sampling of
31 # 0.001953314389 / 0.9980466856. Those numbers are then multiplied by 67.5
32 # to follow pile-up profile. Only a relevant number of significant digits
33 # are kept.
34 flags.Digitization.PU.NumberOfLowPtMinBias = 67.369
35 flags.Digitization.PU.NumberOfHighPtMinBias = 0.131
36 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructure_Fill7314_BCMSPattern_Flat'
37 flags.Digitization.PU.ProfileConfig = 'RunDependentSimData.PileUpProfile_run410000_MC23a_MultiBeamspot'
38
39
40def MC23c(flags):
41 """MC23c flags for MC to match 2023 Run 3 data (initial pile-up profile estimate)"""
42 _MC23PileUp(flags)
43
44 flags.Input.MCCampaign = Campaign.MC23c
45
46 # pile-up
47 # These numbers are based upon a relative XS scaling of the high-pt slice
48 # of 64%, which leads to a relative high-pt / low-pt sampling of
49 # 0.001953314389 / 0.9980466856. Those numbers are then multiplied by 90.5
50 # to follow pile-up profile. Only a relevant number of significant digits
51 # are kept.
52 flags.Digitization.PU.NumberOfLowPtMinBias = 90.323
53 flags.Digitization.PU.NumberOfHighPtMinBias = 0.177
54 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructure_Fill7314_BCMSPattern_Flat'
55 flags.Digitization.PU.ProfileConfig = 'RunDependentSimData.PileUpProfile_run450000_MC23c_MultiBeamspot'
56
57
58def MC23d(flags):
59 """MC23d flags for MC to match 2023 Run 3 data (uses a pile-up profile based on the actual profile from 2023 data)"""
60 _MC23PileUp(flags)
61
62 flags.Input.MCCampaign = Campaign.MC23d
63
64 # pile-up
65 # These numbers are based upon a relative XS scaling of the high-pt slice
66 # of 64%, which leads to a relative high-pt / low-pt sampling of
67 # 0.001953314389 / 0.9980466856. Those numbers are then multiplied by 95.5
68 # to follow pile-up profile. Only a relevant number of significant digits
69 # are kept.
70 flags.Digitization.PU.NumberOfLowPtMinBias = 95.313
71 flags.Digitization.PU.NumberOfHighPtMinBias = 0.187
72 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructure_Fill7314_BCMSPattern_Flat'
73 flags.Digitization.PU.ProfileConfig = 'RunDependentSimData.PileUpProfile_run450000_MC23d_MultiBeamspot'
74
75
77 """MC23 flags for the 2023 Heavy Ions run (without pile-up)"""
78 flags.Input.MCCampaign = Campaign.MC23d
79
80 flags.Beam.BunchSpacing = 50
81 flags.Beam.NumberOfCollisions = 0.
82 flags.Input.ConditionsRunNumber = 460000
83
84 from LArConfiguration.LArConfigRun3 import LArConfigRun3NoPileUp
85 LArConfigRun3NoPileUp(flags)
86
87 # radiation damage
88 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
89 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
90
91 flags.Reco.EnableZDC = False # TO CHECK is this actually needed? I think it should be False by default
92
93 #all
94 flags.Trigger.AODEDMSet = 'AODFULL'
95 flags.Trigger.triggerMenuSetup = 'Dev_HI_run3_v1_TriggerValidation_prescale'
96
97
99 """MC23 flags for the 2023 Heavy Ions run"""
100 flags.Input.MCCampaign = Campaign.MC23d
101
102 flags.Beam.NumberOfCollisions = 0.
103 flags.Input.ConditionsRunNumber = 460000
104
105 from LArConfiguration.LArConfigRun3 import LArConfigRun3NoPileUp
106 LArConfigRun3NoPileUp(flags) # TO CHECK is this actually what we want c.f. LArConfigRun3PileUp
107
108 # radiation damage
109 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
110 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
111
112 # pile-up
113 flags.Digitization.PileUp = True
114 flags.Digitization.DoXingByXingPileUp = True
115 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructureHeavyIon2022'
116 flags.Digitization.PU.InitialBunchCrossing = 0
117 flags.Digitization.PU.FinalBunchCrossing = 0
118 flags.Digitization.PU.NumberOfCavern = 1 # We are using the Cavern Background input for the Hijing HITS-level events
119
120 flags.Reco.EnableZDC = False # TO CHECK is this actually needed? I think it should be False by default
121
122 #all
123 flags.Trigger.AODEDMSet = 'AODFULL'
124 flags.Trigger.triggerMenuSetup = 'Dev_HI_run3_v1_TriggerValidation_prescale'
125
126
127def MC23e(flags):
128 """MC23e flags for MC to match 2024 Run 3 data (initial pile-up estimate based on broadened 2023 data )"""
129 _MC23PileUp(flags)
130
131 flags.Input.MCCampaign = Campaign.MC23e
132
133 # pile-up
134 # These numbers are based upon a relative XS scaling of the high-pt slice
135 # of 64%, which leads to a relative high-pt / low-pt sampling of
136 # 0.001953314389 / 0.9980466856. Those numbers are then multiplied by 98.5
137 # to follow pile-up profile. Only a relevant number of significant digits
138 # are kept.
139 flags.Digitization.PU.NumberOfLowPtMinBias = 98.308
140 flags.Digitization.PU.NumberOfHighPtMinBias = 0.192
141 # TODO new bunch structure?
142 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructure_Fill7314_BCMSPattern_Flat'
143 flags.Digitization.PU.ProfileConfig = 'RunDependentSimData.PileUpProfile_run470000_MC23e_MultiBeamspot'
144
145
146def MC23g(flags):
147 """MC23g flags for MC to match 2025 Run 3 data (initial pile-up estimate based on broadened 2024 data )"""
148 _MC23PileUp(flags)
149
150 flags.Input.MCCampaign = Campaign.MC23g
151
152 # pile-up
153 # These numbers are based upon a relative XS scaling of the high-pt slice
154 # of 64%, which leads to a relative high-pt / low-pt sampling of
155 # 0.001953314389 / 0.9980466856. Those numbers are then multiplied by 99.5
156 # to follow pile-up profile. Only a relevant number of significant digits
157 # are kept.
158 flags.Digitization.PU.NumberOfLowPtMinBias = 99.306
159 flags.Digitization.PU.NumberOfHighPtMinBias = 0.194
160 # TODO new bunch structure?
161 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructure_Fill7314_BCMSPattern_Flat'
162
163 # NB: This is the pileup profile that is used in the Digi+Reco step
164 flags.Digitization.PU.ProfileConfig = 'RunDependentSimData.PileUpProfile_run495000_MC23g_MultiBeamspot'
165
166
167def MC23ppReferenceRun2024(flags): # FIXME This configuration is a placeholder
168 """MC23 flags for the 2024 5.36 TeV pp reference run"""
169 flags.Input.MCCampaign = Campaign.MC23e
170
171 # The beam number of collisions flag is used in algorithm configuration. Setting it to zero
172 # assumes we want to keep the configuration of reconstruction algorithms aligned with that
173 # used for the HI reconstruction (i.e. no pileup)
174 flags.Beam.NumberOfCollisions = 0.
175 flags.Input.ConditionsRunNumber = 488000 # better to set it explicitly
176 # Again, using the no-pileup configuration (see the comment three lines above)
177 from LArConfiguration.LArConfigRun3 import LArConfigRun3NoPileUp
178 LArConfigRun3NoPileUp(flags)
179
180 # radiation damage
181 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
182 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
183
184 # pile-up
185 # These numbers are based upon a relative XS scaling of the high-pt slice
186 # of 64%, which leads to a relative high-pt / low-pt sampling of
187 # 0.001953314389 / 0.9980466856. Those numbers are then multiplied by 7.5
188 # to follow pile-up profile. Only a relevant number of significant digits
189 # are kept.
190 flags.Digitization.PU.NumberOfLowPtMinBias = 7.485
191 flags.Digitization.PU.NumberOfHighPtMinBias = 0.015
192 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructure_Fill7314_BCMSPattern_Flat'
193 flags.Digitization.PU.ProfileConfig = 'RunDependentSimData.PileUpProfile_run488000_MC23e_SingleBeamspot'
194
195 flags.Reco.EnableZDC = False # TO CHECK is this actually needed? I think it should be False by default
196
197 #all
198 flags.Trigger.AODEDMSet = 'AODFULL'
199 flags.Trigger.triggerMenuSetup = 'PhysicsP1_pp_lowMu_run3_v1_TriggerValidation_prescale'
200
201
202def MC23HeavyIons2024NoPileUp(flags): # FIXME This configuration is a placeholder
203 """MC23 flags for the 2024 Heavy Ions run (without pile-up)"""
204 flags.Input.MCCampaign = Campaign.MC23e
205
206 flags.Beam.BunchSpacing = 50
207 flags.Beam.NumberOfCollisions = 0.
208 flags.Input.ConditionsRunNumber = 488600
209
210 from LArConfiguration.LArConfigRun3 import LArConfigRun3NoPileUp
211 LArConfigRun3NoPileUp(flags)
212
213 # radiation damage
214 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
215 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
216
217 flags.Reco.EnableZDC = False # TO CHECK is this actually needed? I think it should be False by default
218
219 #all
220 flags.Trigger.AODEDMSet = 'AODFULL'
221 flags.Trigger.triggerMenuSetup = 'Dev_HI_run3_v1_TriggerValidation_prescale'
222
223
224def MC23HeavyIons2024(flags): # FIXME This configuration is a placeholder
225 """MC23 flags for the 2024 Heavy Ions run"""
226 flags.Input.MCCampaign = Campaign.MC23e
227
228 flags.Beam.NumberOfCollisions = 0.
229 flags.Input.ConditionsRunNumber = 488600
230
231 from LArConfiguration.LArConfigRun3 import LArConfigRun3NoPileUp
232 LArConfigRun3NoPileUp(flags) # TO CHECK is this actually what we want c.f. LArConfigRun3PileUp
233
234 # radiation damage
235 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
236 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
237
238 # pile-up
239 flags.Digitization.PileUp = True
240 flags.Digitization.DoXingByXingPileUp = True
241 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructureHeavyIon2022' # New file being prepared ATLGBLCONDTAGS-182
242 flags.Digitization.PU.InitialBunchCrossing = 0
243 flags.Digitization.PU.FinalBunchCrossing = 0
244 flags.Digitization.PU.NumberOfCavern = 1 # We are using the Cavern Background input for the Hijing HITS-level events
245
246 flags.Reco.EnableZDC = False # TO CHECK is this actually needed? I think it should be False by default
247
248 #all
249 flags.Trigger.AODEDMSet = 'AODFULL'
250 flags.Trigger.triggerMenuSetup = 'Dev_HI_run3_v1_TriggerValidation_prescale'
251
252
254 """MC23 flags for the 2025 Heavy Ions (Oxygen) run"""
255 flags.Input.MCCampaign = Campaign.MC23g
256
257 flags.Beam.BunchSpacing = 500
258 flags.Beam.NumberOfCollisions = 0.0
259 flags.Input.ConditionsRunNumber = 500700
260
261 from LArConfiguration.LArConfigRun3 import LArConfigRun3NoPileUp
262 LArConfigRun3NoPileUp(flags)
263
264 # radiation damage
265 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
266 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
267
268 # pile-up
269 flags.Digitization.PileUp = False
270 flags.Digitization.DoXingByXingPileUp = False
271 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructureHeavyIon2025OO'
272 flags.Digitization.PU.InitialBunchCrossing = 0
273 flags.Digitization.PU.FinalBunchCrossing = 0
274 flags.Digitization.PU.NumberOfCavern = 1 # We are using the Cavern Background input for the Hijing HITS-level events
275
276 flags.Reco.EnableZDC = False
277
278 #all
279 flags.Trigger.AODEDMSet = 'AODFULL'
280 flags.Trigger.triggerMenuSetup = 'Dev_pp_lowMu_run3_v1_TriggerValidation_prescale'
281
282
284 """MC23 flags for the 2025 Heavy Ions run (without pile-up)"""
285 flags.Input.MCCampaign = Campaign.MC23g
286
287 flags.Beam.BunchSpacing = 50
288 flags.Beam.NumberOfCollisions = 0.
289 flags.Input.ConditionsRunNumber = 510000
290
291 from LArConfiguration.LArConfigRun3 import LArConfigRun3NoPileUp
292 LArConfigRun3NoPileUp(flags)
293
294 # radiation damage
295 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
296 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
297
298 flags.Reco.EnableZDC = False # TO CHECK is this actually needed? I think it should be False by default
299
300 #all
301 flags.Trigger.AODEDMSet = 'AODFULL'
302 flags.Trigger.triggerMenuSetup = 'Dev_HI_run3_v1_TriggerValidation_prescale'
303
304
306 """MC23 flags for the 2025 Heavy Ions run"""
307 flags.Input.MCCampaign = Campaign.MC23g
308
309 flags.Beam.NumberOfCollisions = 0.
310 flags.Input.ConditionsRunNumber = 510000
311
312 from LArConfiguration.LArConfigRun3 import LArConfigRun3NoPileUp
313 LArConfigRun3NoPileUp(flags) # TO CHECK is this actually what we want c.f. LArConfigRun3PileUp
314
315 # radiation damage
316 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
317 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
318
319 # pile-up
320 flags.Digitization.PileUp = True
321 flags.Digitization.DoXingByXingPileUp = True
322 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructureHeavyIon2022' # is this suitable for all Run3 PbPb runs ?
323 flags.Digitization.PU.InitialBunchCrossing = 0
324 flags.Digitization.PU.FinalBunchCrossing = 0
325 flags.Digitization.PU.NumberOfCavern = 1 # We are using the Cavern Background input for the Hijing HITS-level events
326
327 flags.Reco.EnableZDC = False # TO CHECK is this actually needed? I think it should be False by default
328
329 #all
330 flags.Trigger.AODEDMSet = 'AODFULL'
331 flags.Trigger.triggerMenuSetup = 'Dev_HI_run3_v1_TriggerValidation_prescale'
332
333
335 """MC23 flags for the 2026 Heavy Ions run (without pile-up)"""
336 flags.Input.MCCampaign = Campaign.MC23g
337
338 flags.Beam.BunchSpacing = 50
339 flags.Beam.NumberOfCollisions = 0.
340 flags.Input.ConditionsRunNumber = 520900
341
342 from LArConfiguration.LArConfigRun3 import LArConfigRun3NoPileUp
343 LArConfigRun3NoPileUp(flags)
344
345 # radiation damage
346 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
347 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
348
349 flags.Reco.EnableZDC = False # TO CHECK is this actually needed? I think it should be False by default
350
351 #all
352 flags.Trigger.AODEDMSet = 'AODFULL'
353 flags.Trigger.triggerMenuSetup = 'Dev_HI_run3_v1_TriggerValidation_prescale'
354
355
357 """MC23 flags for the 2026 Heavy Ions run"""
358 flags.Input.MCCampaign = Campaign.MC23g
359
360 flags.Beam.NumberOfCollisions = 0.
361 flags.Input.ConditionsRunNumber = 520900
362
363 from LArConfiguration.LArConfigRun3 import LArConfigRun3NoPileUp
364 LArConfigRun3NoPileUp(flags) # TO CHECK is this actually what we want c.f. LArConfigRun3PileUp
365
366 # radiation damage
367 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
368 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
369
370 # pile-up
371 flags.Digitization.PileUp = True
372 flags.Digitization.DoXingByXingPileUp = True
373 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructureHeavyIon2022' # is this suitable for all Run3 PbPb runs ?
374 flags.Digitization.PU.InitialBunchCrossing = 0
375 flags.Digitization.PU.FinalBunchCrossing = 0
376 flags.Digitization.PU.NumberOfCavern = 1 # We are using the Cavern Background input for the Hijing HITS-level events
377
378 flags.Reco.EnableZDC = False # TO CHECK is this actually needed? I think it should be False by default
379
380 #all
381 flags.Trigger.AODEDMSet = 'AODFULL'
382 flags.Trigger.triggerMenuSetup = 'Dev_HI_run3_v1_TriggerValidation_prescale'
383
384
386 """MC23a flags for MC to match 2022 Run 3 data (single beamspot version)"""
387 MC23a(flags)
388
389 # override only pile-up profile
390 flags.Digitization.PU.ProfileConfig = 'RunDependentSimData.PileUpProfile_run410000_MC23a_SingleBeamspot'
391
392
394 """MC23c flags for MC to match 2023 Run 3 data (initial pile-up profile estimate, single beamspot version)"""
395 MC23c(flags)
396
397 # override only pile-up profile
398 flags.Digitization.PU.ProfileConfig = 'RunDependentSimData.PileUpProfile_run450000_MC23c_SingleBeamspot'
399
400
402 """MC23d flags for MC to match 2023 Run 3 data (uses a pile-up profile based on the actual profile from 2023 data, single beamspot version)"""
403 MC23d(flags)
404
405 # override only pile-up profile
406 flags.Digitization.PU.ProfileConfig = 'RunDependentSimData.PileUpProfile_run450000_MC23d_SingleBeamspot'
407
409 """MC23e flags for MC to match 2024 Run 3 data (initial pile-up profile estimate, single beamspot version)"""
410 MC23e(flags)
411
412 # override only pile-up profile
413 flags.Digitization.PU.ProfileConfig = 'RunDependentSimData.PileUpProfile_run470000_MC23e_SingleBeamspot'
414
416 """MC23g flags for MC to match 2025 Run 3 data (initial pile-up profile estimate, single beamspot version)"""
417 MC23g(flags)
418
419 # override only pile-up profile
420 flags.Digitization.PU.ProfileConfig = 'RunDependentSimData.PileUpProfile_run495000_MC23g_SingleBeamspot'
421
422
423def MC23LowMu(flags):
424 """MC23 flags for MC to match Run 3 data with low pile-up"""
425 flags.Input.MCCampaign = Campaign.MC23a
426
427 flags.Beam.NumberOfCollisions = 60.
428 flags.Input.ConditionsRunNumber = 410000
429
430 from LArConfiguration.LArConfigRun3 import LArConfigRun3PileUp
431 LArConfigRun3PileUp(flags)
432
433 # radiation damage
434 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
435 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
436
437 # pile-up
438 # These numbers are based upon a relative XS scaling of the high-pt slice
439 # of 64%, which leads to a relative high-pt / low-pt sampling of
440 # 0.001953314389 / 0.9980466856. Those numbers are then multiplied by 0.05
441 # to simulate low pile-up. Only a relevant number of significant digits
442 # are kept.
443 flags.Digitization.PU.NumberOfLowPtMinBias = 0.0499
444 flags.Digitization.PU.NumberOfHighPtMinBias = 0.0001
445 flags.Digitization.PU.BunchStructureConfig = 'RunDependentSimData.BunchStructure_Fill7314_BCMSPattern_Flat'
446
447
448def _MC23NoPileUp(flags):
449 """
450 Configure MC23 flags for Monte Carlo simulations without pile-up.
451 This method is used in the Digi-Reco step only.
452 """
453 flags.Beam.NumberOfCollisions = 0.
454
455 from LArConfiguration.LArConfigRun3 import LArConfigRun3NoPileUp
456 LArConfigRun3NoPileUp(flags)
457
458 # radiation damage
459 from SimulationConfig.SimEnums import PixelRadiationDamageSimulationType
460 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
461
462
463def MC23aNoPileUp(flags):
464 """
465 Configure MC23a flags for Monte Carlo simulations without pile-up.
466 This method is used in the Digi-Reco step only.
467 """
468 _MC23NoPileUp(flags)
469
470 flags.Input.MCCampaign = Campaign.MC23a
471 flags.Input.ConditionsRunNumber = 410000
472
473
474def MC23dNoPileUp(flags):
475 """
476 Configure MC23d flags for Monte Carlo simulations without pile-up.
477 This method is used in the Digi-Reco step only.
478 """
479 _MC23NoPileUp(flags)
480
481 flags.Input.MCCampaign = Campaign.MC23d
482 flags.Input.ConditionsRunNumber = 450000
483
484
485def MC23eNoPileUp(flags):
486 """
487 Configure MC23e flags for Monte Carlo simulations without pile-up.
488 This method is used in the Digi-Reco step only.
489 """
490 _MC23NoPileUp(flags)
491
492 flags.Input.MCCampaign = Campaign.MC23e
493 flags.Input.ConditionsRunNumber = 470000
494
495
496def MC23gNoPileUp(flags):
497 """
498 Configure MC23g flags for Monte Carlo simulations without pile-up.
499 This method is used in the Digi-Reco step only.
500 """
501 _MC23NoPileUp(flags)
502
503 flags.Input.MCCampaign = Campaign.MC23g
504 flags.Input.ConditionsRunNumber = 495000
505
506
508 """
509 Configure MC23a flags for Monte Carlo simulations to match 2022 Low Mu data.
510 This method is used in the Digi-Reco step only.
511 """
512 _MC23NoPileUp(flags)
513
514 flags.Input.MCCampaign = Campaign.MC23a
515 flags.Input.ConditionsRunNumber = 420000
516
517
519 """
520 Configure MC23d flags for Monte Carlo simulations to match special run 460348.
521 This method is used in the Digi-Reco step only.
522 """
523 _MC23NoPileUp(flags)
524
525 flags.Input.MCCampaign = Campaign.MC23d
526 flags.Input.ConditionsRunNumber = 465000
527
528 # B-field configuration
529 flags.BField.configuredSolenoidFieldScale = 0.4
530
531
533 """MC23a beamspot splitting configuration"""
534 substeps = 4
535 event_fractions = [0.14, 0.14, 0.14, 0.58]
536
537 return substeps, event_fractions
538
539
541 """MC23c beamspot splitting configuration"""
542 substeps = 4
543 event_fractions = [0.22, 0.22, 0.22, 0.34]
544
545 return substeps, event_fractions
546
547
549 """MC23d beamspot splitting configuration, matches MC23c, but only the
550 first two substep are considered levelling rather than the first
551 three."""
552 substeps = 4
553 event_fractions = [0.22, 0.22, 0.22, 0.34]
554
555 return substeps, event_fractions
556
557
559 """MC23e beamspot splitting configuration."""
560 substeps = 4
561 event_fractions = [0.22, 0.22, 0.22, 0.34]
562
563 return substeps, event_fractions
564
565
567 """MC23g beamspot splitting configuration."""
568 substeps = 4
569 event_fractions = [0.3, 0.42, 0.08, 0.2]
570
571 return substeps, event_fractions
572
573
575 """MC23 base flags for simulation without specifying conditions IoVs"""
576 flags.Input.MCCampaign = Campaign.MC23a
577
578 from SimulationConfig.SimEnums import TruthStrategy
579 flags.Sim.PhysicsList = 'FTFP_BERT_ATL'
580 flags.Sim.TruthStrategy = TruthStrategy.MC15aPlus
581
582 flags.Sim.TRTRangeCut = 30.0
583 flags.Sim.TightMuonStepping = True
584
585 from SimulationConfig.G4Optimizations import enableBeamPipeKill, enableFrozenShowersFCalOnly
586 enableBeamPipeKill(flags)
587 if flags.Sim.ISF.Simulator.isFullSim():
588 enableFrozenShowersFCalOnly(flags)
589
590 from SimulationConfig.G4Optimizations import enableG4Optimizations
591 enableG4Optimizations(flags)
592
593 flags.Sim.FastCalo.ParamsInputFilename = 'FastCaloSim/MC23/TFCSparam_dev_Hybrid_Ha_v5_all_baryons_0_500.root'
594
595
597 """MC23 flags for low mu run simulation"""
599
600 flags.Input.RunNumbers = [420000]
601 flags.Input.OverrideRunNumber = True
602 flags.Input.LumiBlockNumbers = [1] # dummy value
603
604
606 """MC23 flags for simulation simulation of the 2023 Heavy Ion run"""
608 flags.Input.MCCampaign = Campaign.MC23d
609
610 flags.Input.RunNumbers = [460000]
611 flags.Input.OverrideRunNumber = True
612 flags.Input.LumiBlockNumbers = [1] # dummy value
613
614
616 """MC23 flags for simulation simulation of the 2024 5.36 TeV pp reference run"""
618 flags.Input.MCCampaign = Campaign.MC23e
619
620 flags.Input.RunNumbers = [488000]
621 flags.Input.OverrideRunNumber = True
622 flags.Input.LumiBlockNumbers = [1] # dummy value
623
624
626 """MC23 flags for simulation simulation of the 2024 Heavy Ion run"""
628 flags.Input.MCCampaign = Campaign.MC23e
629
630 flags.Input.RunNumbers = [488600]
631 flags.Input.OverrideRunNumber = True
632 flags.Input.LumiBlockNumbers = [1] # dummy value
633
635 """MC23 flags for simulation simulation of the 2025 Oxygen Oxygen run"""
637 flags.Input.MCCampaign = Campaign.MC23g
638
639 flags.Input.RunNumbers = [500700]
640 flags.Input.OverrideRunNumber = True
641 flags.Input.LumiBlockNumbers = [1] # dummy value
642
643
645 """MC23 flags for simulation of special run 460348"""
647 flags.Input.MCCampaign = Campaign.MC23d
648
649 flags.Input.RunNumbers = [465000]
650 flags.Input.OverrideRunNumber = True
651 flags.Input.LumiBlockNumber = [1] # dummy value
652
653 # B-field configuration
654 flags.BField.configuredSolenoidFieldScale = 0.4
655
656
658 """MC23 flags for simulation"""
660 flags.Input.MCCampaign = Campaign.MC23a
661
662 flags.Input.RunNumbers = [410000]
663 flags.Input.OverrideRunNumber = True
664 flags.Input.LumiBlockNumbers = [1] # dummy value
665
666
668 """
669 Configure MC23a flags for simulation with multiple Intervals of Validity (IoV).
670 This method is used in the Simulation step only.
671 """
673 flags.Input.MCCampaign = Campaign.MC23a
674
675 flags.Input.OverrideRunNumber = True
676
677 from RunDependentSimComps.PileUpUtils import generateRunAndLumiProfile
678 generateRunAndLumiProfile(flags,
679 profile='RunDependentSimData.PileUpProfile_run410000_MC23a_MultiBeamspot')
680
681
683 """
684 Configure MC23c flags for simulation with multiple Intervals of Validity (IoV).
685 This method is used in the Simulation step only.
686 """
688 flags.Input.MCCampaign = Campaign.MC23c
689
690 flags.Input.OverrideRunNumber = True
691
692 from RunDependentSimComps.PileUpUtils import generateRunAndLumiProfile
693 generateRunAndLumiProfile(flags,
694 profile='RunDependentSimData.PileUpProfile_run450000_MC23c_MultiBeamspot')
695
696
698 """
699 Configure MC23e flags for simulation with multiple Intervals of Validity (IoV).
700 This method is used in the Simulation step only.
701 """
703 flags.Input.MCCampaign = Campaign.MC23e
704
705 flags.Input.OverrideRunNumber = True
706
707 from RunDependentSimComps.PileUpUtils import generateRunAndLumiProfile
708 generateRunAndLumiProfile(flags,
709 profile='RunDependentSimData.PileUpProfile_run470000_MC23e_MultiBeamspot')
710
711
713 """
714 Configure MC23g flags for simulation with multiple Intervals of Validity (IoV).
715 This method is used in the Simulation step only.
716 """
718 flags.Input.MCCampaign = Campaign.MC23g
719
720 flags.Input.OverrideRunNumber = True
721
722 from RunDependentSimComps.PileUpUtils import generateRunAndLumiProfile
723 # NB: This is the pileup profile used in the Simulation step only
724 generateRunAndLumiProfile(flags,
725 profile='RunDependentSimData.PileUpProfile_run495000_MC23g_MultiBeamspot')
726
727
729 """MC23 flags for simulation with CalibrationHits"""
731 from SimuJobTransforms import CalHits, ParticleID
732 CalHits(flags)
733 ParticleID(flags)
734
735
737 """MC23 flags for simulation with CalibrationHits"""
739 from SimuJobTransforms import CalHits, ParticleID
740 CalHits(flags)
741 ParticleID(flags)
742
743
745 """MC23 flags for simulation with CalibrationHits"""
747 from SimuJobTransforms import CalHits, ParticleID
748 CalHits(flags)
749 ParticleID(flags)
750
751
753 """MC23e flags for simulation with CalibrationHits"""
755 from SimuJobTransforms import CalHits, ParticleID
756 CalHits(flags)
757 ParticleID(flags)
758
759
761 """MC23g flags for simulation with CalibrationHits"""
763 from SimuJobTransforms import CalHits, ParticleID
764 CalHits(flags)
765 ParticleID(flags)
MC23Simulation2023HeavyIonRun(flags)
Definition MC23.py:605
MC23d(flags)
Definition MC23.py:58
MC23dSimulationLowMuLowB(flags)
Definition MC23.py:644
MC23HeavyIons2023(flags)
Definition MC23.py:98
MC23gSimulationMultipleIoV(flags)
Definition MC23.py:712
MC23gSingleBeamspot(flags)
Definition MC23.py:415
MC23HeavyIons2026(flags)
Definition MC23.py:356
MC23HeavyIons2026NoPileUp(flags)
Definition MC23.py:334
BeamspotSplitMC23g()
Definition MC23.py:566
MC23LowMu(flags)
Definition MC23.py:423
MC23eSingleBeamspot(flags)
Definition MC23.py:408
MC23dNoPileUp(flags)
Definition MC23.py:474
_MC23PileUp(flags)
Definition MC23.py:6
MC23aSimulationMultipleIoV(flags)
Definition MC23.py:667
MC23Simulation2024ppRefRun(flags)
Definition MC23.py:615
MC23Simulation2025OORun(flags)
Definition MC23.py:634
MC23Simulation2024HeavyIonRun(flags)
Definition MC23.py:625
MC23e(flags)
Definition MC23.py:127
MC23HeavyIons2025OO(flags)
Definition MC23.py:253
MC23SimulationSingleIoVCalibrationHits(flags)
Definition MC23.py:728
MC23a(flags)
Definition MC23.py:22
MC23eNoPileUp(flags)
Definition MC23.py:485
MC23HeavyIons2025NoPileUp(flags)
Definition MC23.py:283
MC23ppReferenceRun2024(flags)
Definition MC23.py:167
MC23eSimulationMultipleIoV(flags)
Definition MC23.py:697
BeamspotSplitMC23e()
Definition MC23.py:558
_MC23NoPileUp(flags)
Definition MC23.py:448
MC23SimulationSingleIoV(flags)
Definition MC23.py:657
MC23gSimulationMultipleIoVCalibrationHits(flags)
Definition MC23.py:760
MC23NoPileUpLowMuRun(flags)
Definition MC23.py:507
BeamspotSplitMC23c()
Definition MC23.py:540
MC23aNoPileUp(flags)
Definition MC23.py:463
MC23c(flags)
Definition MC23.py:40
MC23SimulationLowMuRun(flags)
Definition MC23.py:596
MC23eSimulationMultipleIoVCalibrationHits(flags)
Definition MC23.py:752
MC23HeavyIons2024NoPileUp(flags)
Definition MC23.py:202
MC23aSimulationMultipleIoVCalibrationHits(flags)
Definition MC23.py:736
BeamspotSplitMC23a()
Definition MC23.py:532
MC23cSimulationMultipleIoVCalibrationHits(flags)
Definition MC23.py:744
MC23HeavyIons2023NoPileUp(flags)
Definition MC23.py:76
MC23dSingleBeamspot(flags)
Definition MC23.py:401
MC23HeavyIons2024(flags)
Definition MC23.py:224
MC23aSingleBeamspot(flags)
Definition MC23.py:385
BeamspotSplitMC23d()
Definition MC23.py:548
MC23g(flags)
Definition MC23.py:146
MC23cSimulationMultipleIoV(flags)
Definition MC23.py:682
MC23gNoPileUp(flags)
Definition MC23.py:496
MC23SimulationNoIoV(flags)
Definition MC23.py:574
MC23HeavyIons2025(flags)
Definition MC23.py:305
MC23NoPileUpLowMuLowB(flags)
Definition MC23.py:518
MC23cSingleBeamspot(flags)
Definition MC23.py:393