2 from Campaigns.Utils
import Campaign
6 """MC16a flags for MC to match 2015 and 2016 data"""
7 flags.Input.MCCampaign = Campaign.MC16a
9 flags.Beam.NumberOfCollisions = 20.
11 from LArConfiguration.LArConfigRun2
import LArConfigRun2PileUp
13 flags.Digitization.HighGainEMECIW =
True
16 flags.Digitization.PU.NumberOfLowPtMinBias = 44.3839246425
17 flags.Digitization.PU.NumberOfHighPtMinBias = 0.116075313
18 flags.Digitization.PU.BunchStructureConfig =
'RunDependentSimData.BunchStructure_2015'
19 flags.Digitization.PU.ProfileConfig =
'RunDependentSimData.PileUpProfile_run284500_MC16a'
23 """MC16d flags for MC to match 2017 data"""
24 flags.Input.MCCampaign = Campaign.MC16d
26 flags.Beam.NumberOfCollisions = 20.
28 from LArConfiguration.LArConfigRun2
import LArConfigRun2PileUp
32 flags.Digitization.PU.NumberOfLowPtMinBias = 80.290021063135
33 flags.Digitization.PU.NumberOfHighPtMinBias = 0.2099789464
34 flags.Digitization.PU.BunchStructureConfig =
'RunDependentSimData.BunchStructure_2017'
35 flags.Digitization.PU.ProfileConfig =
'RunDependentSimData.PileUpProfile_run300000_MC16d'
39 """MC16e flags for MC to match 2018 data"""
40 flags.Input.MCCampaign = Campaign.MC16e
42 flags.Beam.NumberOfCollisions = 20.
44 from LArConfiguration.LArConfigRun2
import LArConfigRun2PileUp
48 flags.Digitization.PU.NumberOfLowPtMinBias = 99.2404608
49 flags.Digitization.PU.NumberOfHighPtMinBias = 0.2595392
50 flags.Digitization.PU.BunchStructureConfig =
'RunDependentSimData.BunchStructure_2017'
51 flags.Digitization.PU.ProfileConfig =
'RunDependentSimData.PileUpProfile_run310000_MC16e'
55 """MC16 flags for MC without pile-up"""
56 flags.Input.MCCampaign = Campaign.MC16a
58 flags.Beam.NumberOfCollisions = 0.
60 from LArConfiguration.LArConfigRun2
import LArConfigRun2NoPileUp
65 """MC16 flags for simulation without specifying conditions IoVs"""
66 flags.Input.MCCampaign = Campaign.MC16a
68 from SimulationConfig.SimEnums
import TruthStrategy
69 flags.Sim.PhysicsList =
'FTFP_BERT_ATL'
70 flags.Sim.TruthStrategy = TruthStrategy.MC15aPlus
72 flags.Sim.TRTRangeCut = 30.0
73 flags.Sim.TightMuonStepping =
True
75 from SimulationConfig.G4Optimizations
import enableBeamPipeKill, enableFrozenShowersFCalOnly
77 if flags.Sim.ISF.Simulator.isFullSim():
82 """MC16 flags for Simulation"""
85 flags.Input.RunNumbers = [284500]
86 flags.Input.OverrideRunNumber =
True
87 flags.Input.LumiBlockNumbers = [1]
91 """MC16 flags for Simulation (alias)"""