CMS 3D CMS Logo

mixHighLumPU_4sources_cfi.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 # E33 cm-2s-1
4 # mb
5 import FWCore.ParameterSet.Config as cms
6 
7 # this is the configuration to model pileup in the low-luminosity phase
8 # here we have an example with 4 input sources
9 # but you are free to put only those you need
10 # or you can replace the type by "none" for a source you dont want
11 # please note that the names of the input sources are fixed: 'input', 'cosmics', 'beamhalo_minus', 'beamhalo_plus'
12 #
13 # we have put minbias files for all the sources, just as an example
14 #
15 from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects
18 
19 mix = cms.EDProducer("MixingModule",
20  digitizers = cms.PSet(theDigitizers),
21  LabelPlayback = cms.string(''),
22  maxBunch = cms.int32(3),
23  minBunch = cms.int32(-5), ## in units of 25 nsec
24 
25  bunchspace = cms.int32(25), ## nsec
26  mixProdStep1 = cms.bool(False),
27  mixProdStep2 = cms.bool(False),
28 
29  playback = cms.untracked.bool(False),
30  useCurrentProcessOnly = cms.bool(False),
31  input = cms.SecSource("EmbeddedRootSource",
32  nbPileupEvents = cms.PSet(
33  sigmaInel = cms.double(80.0),
34  Lumi = cms.double(10.)
35  ),
36  type = cms.string('poisson'),
37  sequential = cms.untracked.bool(False),
38  fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/18890F4C-FD99-DD11-BFF9-000423D996C8.root',
39  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
40  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
41  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
42  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
43  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')
44  ),
45  cosmics = cms.SecSource("EmbeddedRootSource",
46  nbPileupEvents = cms.PSet(
47  averageNumber = cms.double(1.6625e-05)
48  ),
49  seed = cms.int32(2345678),
50  type = cms.string('poisson'),
51  sequential = cms.untracked.bool(False),
52  fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/18890F4C-FD99-DD11-BFF9-000423D996C8.root',
53  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
54  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
55  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
56  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
57  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')
58  ),
59  beamhalo_minus = cms.SecSource("EmbeddedRootSource",
60  nbPileupEvents = cms.PSet(
61  averageNumber = cms.double(0.00040503)
62  ),
63  seed = cms.int32(3456789),
64  type = cms.string('poisson'),
65  sequential = cms.untracked.bool(False),
66  fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/18890F4C-FD99-DD11-BFF9-000423D996C8.root',
67  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
68  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
69  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
70  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
71  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')
72  ),
73  beamhalo_plus = cms.SecSource("EmbeddedRootSource",
74  nbPileupEvents = cms.PSet(
75  averageNumber = cms.double(0.00040503)
76  ),
77  seed = cms.int32(3456789),
78  type = cms.string('poisson'),
79  sequential = cms.untracked.bool(False),
80  fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/18890F4C-FD99-DD11-BFF9-000423D996C8.root',
81  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
82  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
83  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
84  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
85  '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')
86 
87  ),
88  mixObjects = cms.PSet(theMixObjects)
89 )
90 
91