2 from AthenaConfiguration.Enums
import ProductionStep
3 from Campaigns.Utils
import Campaign
7 """MC20a flags for MC to match 2015 and 2016 data"""
8 flags.Input.MCCampaign = Campaign.MC20a
10 flags.Beam.NumberOfCollisions = 20.
11 flags.Digitization.InputBeamSigmaZ = 42
13 flags.Digitization.UseUpdatedTGCConditions =
True
15 from LArConfiguration.LArConfigRun2
import LArConfigRun2PileUp
17 flags.Digitization.HighGainEMECIW =
True
25 flags.Digitization.PU.NumberOfLowPtMinBias = 56.390
26 flags.Digitization.PU.NumberOfHighPtMinBias = 0.110
27 flags.Digitization.PU.BunchStructureConfig =
'RunDependentSimData.BunchStructure_2015'
28 flags.Digitization.PU.ProfileConfig =
'RunDependentSimData.PileUpProfile_run284500_MC20a'
30 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
32 flags.Digitization.PU.HighPtMinBiasInputColOffset = -1
36 """MC20d flags for MC to match 2017 data"""
37 flags.Input.MCCampaign = Campaign.MC20d
39 flags.Beam.NumberOfCollisions = 20.
40 flags.Digitization.InputBeamSigmaZ = 42
42 flags.Digitization.UseUpdatedTGCConditions =
True
44 from LArConfiguration.LArConfigRun2
import LArConfigRun2PileUp
53 flags.Digitization.PU.NumberOfLowPtMinBias = 90.323
54 flags.Digitization.PU.NumberOfHighPtMinBias = 0.177
55 flags.Digitization.PU.BunchStructureConfig =
'RunDependentSimData.BunchStructure_2017'
56 flags.Digitization.PU.ProfileConfig =
'RunDependentSimData.PileUpProfile_run300000_MC20d'
58 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
60 flags.Digitization.PU.HighPtMinBiasInputColOffset = -1
64 """MC20e flags for MC to match 2018 data"""
65 flags.Input.MCCampaign = Campaign.MC20e
67 flags.Beam.NumberOfCollisions = 20.
68 flags.Digitization.InputBeamSigmaZ = 42
70 flags.Digitization.UseUpdatedTGCConditions =
True
72 from LArConfiguration.LArConfigRun2
import LArConfigRun2PileUp
81 flags.Digitization.PU.NumberOfLowPtMinBias = 90.323
82 flags.Digitization.PU.NumberOfHighPtMinBias = 0.177
83 flags.Digitization.PU.BunchStructureConfig =
'RunDependentSimData.BunchStructure_2017'
84 flags.Digitization.PU.ProfileConfig =
'RunDependentSimData.PileUpProfile_run310000_MC20e'
86 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
88 flags.Digitization.PU.HighPtMinBiasInputColOffset = -1
92 """MC20e flags for MC without pile-up"""
93 flags.Input.MCCampaign = Campaign.MC20a
95 flags.Beam.NumberOfCollisions = 0
96 flags.Digitization.InputBeamSigmaZ = 42
98 flags.Digitization.UseUpdatedTGCConditions =
True
100 from LArConfiguration.LArConfigRun2
import LArConfigRun2NoPileUp