2 from AthenaConfiguration.Enums
import ProductionStep
3 from Campaigns.Utils
import Campaign
7 """MC21a flags for MC to match initial Run 3 data"""
8 flags.Input.MCCampaign = Campaign.MC21a
10 flags.Beam.NumberOfCollisions = 60.
12 from LArConfiguration.LArConfigRun3
import LArConfigRun3PileUp
16 from SimulationConfig.SimEnums
import PixelRadiationDamageSimulationType
17 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
25 flags.Digitization.PU.NumberOfLowPtMinBias = 84.335
26 flags.Digitization.PU.NumberOfHighPtMinBias = 0.165
27 flags.Digitization.PU.BunchStructureConfig =
'RunDependentSimData.BunchStructure_Fill7314_BCMSPattern_Flat'
28 flags.Digitization.PU.ProfileConfig =
'RunDependentSimData.PileUpProfile_run410000_MC21a_MultiBeamspot'
30 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
32 flags.Digitization.PU.HighPtMinBiasInputColOffset = -1
36 """MC21a flags for MC to match initial Run 3 data (single beamspot version)"""
40 flags.Digitization.PU.ProfileConfig =
'RunDependentSimData.PileUpProfile_run410000_MC21a_SingleBeamspot'
44 """MC21 flags for MC to match Run 3 data with low pile-up"""
45 flags.Input.MCCampaign = Campaign.MC21a
47 flags.Beam.NumberOfCollisions = 60.
48 flags.Input.ConditionsRunNumber = 410000
50 from LArConfiguration.LArConfigRun3
import LArConfigRun3PileUp
54 from SimulationConfig.SimEnums
import PixelRadiationDamageSimulationType
55 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
63 flags.Digitization.PU.NumberOfLowPtMinBias = 0.0499
64 flags.Digitization.PU.NumberOfHighPtMinBias = 0.0001
65 flags.Digitization.PU.BunchStructureConfig =
'RunDependentSimData.BunchStructure_Fill7314_BCMSPattern_Flat'
69 """MC21a flags for MC to match initial Run 3 data"""
70 flags.Input.MCCampaign = Campaign.MC21a
72 flags.Beam.NumberOfCollisions = 0.
73 flags.Input.ConditionsRunNumber = 410000
75 from LArConfiguration.LArConfigRun3
import LArConfigRun3NoPileUp
79 from SimulationConfig.SimEnums
import PixelRadiationDamageSimulationType
80 flags.Digitization.PixelPlanarRadiationDamageSimulationType = PixelRadiationDamageSimulationType.RamoPotential
84 """MC21a flags for MC to match 2002 Low Mu data"""
86 flags.Input.ConditionsRunNumber = 420000
90 """MC21a beamspot splitting configuration"""
92 event_fractions = [0.14, 0.14, 0.14, 0.58]
94 return substeps, event_fractions
98 """MC21 base flags for simulation without specifying conditions IoVs"""
99 flags.Input.MCCampaign = Campaign.MC21a
101 from SimulationConfig.SimEnums
import TruthStrategy
102 flags.Sim.PhysicsList =
'FTFP_BERT_ATL'
103 flags.Sim.TruthStrategy = TruthStrategy.MC15aPlus
105 flags.Sim.TRTRangeCut = 30.0
106 flags.Sim.TightMuonStepping =
True
108 from SimulationConfig.G4Optimizations
import enableBeamPipeKill, enableFrozenShowersFCalOnly
110 if flags.Sim.ISF.Simulator.isFullSim():
113 from SimulationConfig.G4Optimizations
import enableG4Optimizations
118 """MC21 flags for low mu run simulation"""
121 flags.Input.RunNumbers = [420000]
122 flags.Input.OverrideRunNumber =
True
123 flags.Input.LumiBlockNumbers = [1]
127 """MC21 flags for simulation"""
130 flags.Input.RunNumbers = [410000]
131 flags.Input.OverrideRunNumber =
True
132 flags.Input.LumiBlockNumbers = [1]
136 """MC21 flags for simulation (alias)"""
141 """MC21 flags for simulation"""
144 flags.Input.OverrideRunNumber =
True
146 from RunDependentSimComps.PileUpUtils
import generateRunAndLumiProfile
148 profile=
'RunDependentSimData.PileUpProfile_run410000_MC21a_MultiBeamspot')
152 """MC21 flags for simulation with CalibrationHits"""
154 from SimuJobTransforms
import CalHits, ParticleID
160 """MC21 flags for simulation with CalibrationHits (alias)"""
165 """MC21 flags for simulation with CalibrationHits"""
167 from SimuJobTransforms
import CalHits, ParticleID