Skip to content

Commit

Permalink
preliminary pileup scenarios for 2023 simulation
Browse files Browse the repository at this point in the history
details in the talk at PPD meeting https://indico.cern.ch/event/1299290/#5-pileup-profile-for-2023-mc-p

Update mix_2023_25ns_Fills_8807_8901_ProjectedPileup_PoissonOOTPU_cfi.py

Add 1 artificial bin to have 100 bins (0 to 99), consistently with other pileup distributions

Update Mixing.py

added line for 2023 pileup scenario

Update Mixing.py to work properly

Update Mixing.py for 2023 pileup

Rename mix_2023_25ns_Fills_8807_8901_ProjectedPileup_PoissonOOTPU_cfi.py to mix_2023_Fills_8807_8901_ProjectedPileup_PoissonOOTPU_cfi.py

Update Mixing.py removing extra spaces in line 133
  • Loading branch information
romeof authored and mmusich committed Jul 11, 2023
1 parent 1106b1a commit 32159ce
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions Configuration/StandardSequences/python/Mixing.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def addMixingScenario(label,dict):
addMixingScenario("2018_25ns_UltraLegacy_PoissonOOTPU",{'file': 'SimGeneral.MixingModule.mix_2018_25ns_UltraLegacy_PoissonOOTPU_cfi'})
addMixingScenario("Run3_Flat55To75_PoissonOOTPU",{'file': 'SimGeneral.MixingModule.mix_Run3_Flat55To75_PoissonOOTPU_cfi'})
addMixingScenario("Flat0To200_PoissonOOTPU",{'file': 'SimGeneral.MixingModule.mix_Flat0To200_PoissonOOTPU_cfi'})
addMixingScenario("2023_Fills_8807_8901_ProjectedPileup_PoissonOOTPU",{'file': 'SimGeneral.MixingModule.mix_2023_Fills_8807_8901_ProjectedPileup_PoissonOOTPU_cfi'})
addMixingScenario("ProdStep2",{'file': 'SimGeneral.MixingModule.mixProdStep2_cfi'})
addMixingScenario("fromDB",{'file': 'SimGeneral.MixingModule.mix_fromDB_cfi'})
addMixingScenario("2022_LHC_Simulation_10h_2h",{'file': 'SimGeneral.MixingModule.Run3_2022_LHC_Simulation_10h_2h_cfi'})
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import FWCore.ParameterSet.Config as cms
from SimGeneral.MixingModule.mix_probFunction_25ns_PoissonOOTPU_cfi import *
mix.input.nbPileupEvents.probFunctionVariable = cms.vint32(
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
90, 91, 92, 93, 94, 95, 96, 97, 98, 99
)

mix.input.nbPileupEvents.probValue = cms.vdouble(
1.65236148709e-05, 3.47406408321e-05, 5.57912899417e-05, 6.27679568574e-05, 7.83474699833e-05,
9.80786259998e-05, 9.65235339337e-05, 9.03972546793e-05, 9.56611796998e-05, 9.88888224447e-05,
9.53701311362e-05, 9.93023900027e-05, 0.000109262215431, 0.000123029615372, 0.000135008096547,
0.000158193246537, 0.000186014815125, 0.000228419554039, 0.000267389560484, 0.000315922507855,
0.000416227466275, 0.000698049630109, 0.00116793044199, 0.00178063774682, 0.00246468799437,
0.00316847035758, 0.00389442939612, 0.0047392653232, 0.00573059096641, 0.00685092968559,
0.00808936442926, 0.00955656463049, 0.0110447922022, 0.0125526964898, 0.0139789694337,
0.015327763981, 0.0163215742204, 0.0171302918511, 0.0178077735247, 0.0184457415774,
0.0189548618833, 0.0194505800505, 0.0199958317289, 0.0204804309485, 0.0209049161375,
0.0214306162665, 0.0220467713756, 0.0228896177623, 0.0239933317134, 0.0253551335622,
0.0268273082477, 0.028258573015, 0.0299016951153, 0.0314952660508, 0.0329635440259,
0.0347102632212, 0.036496671, 0.0377960732226, 0.0381346727759, 0.0377162165009,
0.0363773741672, 0.0341648869124, 0.0310569216987, 0.0275830784975, 0.0241470689027,
0.020861027449, 0.0178630735871, 0.0152055780319, 0.0129131649069, 0.010973580778,
0.00916007234141, 0.00743221345078, 0.0059028667516, 0.00467032854464, 0.00386110035256,
0.00318305283583, 0.00266754327259, 0.00226359928581, 0.00180625797491, 0.00141636388019,
0.00108755770998, 0.000787994389608, 0.000523714097254, 0.000303141693895, 0.000162842450935,
9.32445627546e-05, 5.43060254629e-05, 3.43311807317e-05, 1.81197444951e-05, 7.72021119321e-06,
2.50707744394e-06, 5.82006272471e-07, 2.67538956624e-08, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0
)

0 comments on commit 32159ce

Please sign in to comment.