Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:25:14

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # E33 cm-2s-1
0004 # mb
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 # this is the configuration to model pileup in the low-luminosity phase
0008 # here we have an example with 4 input sources
0009 # but you are free to put only those you need
0010 # or you can replace the type by "none" for a source you dont want
0011 # please note that the names of the input sources are fixed: 'input', 'cosmics', 'beamhalo_minus', 'beamhalo_plus'
0012 #
0013 # we have put minbias files for all the sources, just as an example
0014 #
0015 from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects
0016 from SimGeneral.MixingModule.mixPoolSource_cfi import *
0017 from SimGeneral.MixingModule.digitizers_cfi import *
0018 
0019 mix = cms.EDProducer("MixingModule",
0020     digitizers = cms.PSet(theDigitizers),
0021     LabelPlayback = cms.string(''),
0022     maxBunch = cms.int32(3),
0023     minBunch = cms.int32(-5), ## in units of 25 nsec
0024 
0025     bunchspace = cms.int32(25), ## nsec
0026     mixProdStep1 = cms.bool(False),
0027     mixProdStep2 = cms.bool(False),
0028 
0029     playback = cms.untracked.bool(False),
0030     useCurrentProcessOnly = cms.bool(False),
0031     input = cms.SecSource("EmbeddedRootSource",
0032         nbPileupEvents = cms.PSet(
0033             sigmaInel = cms.double(80.0),
0034             Lumi = cms.double(10.)
0035         ),
0036         type = cms.string('poisson'),
0037     sequential = cms.untracked.bool(False),
0038         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',
0039         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
0040         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
0041         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
0042         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
0043         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')
0044     ),
0045     cosmics = cms.SecSource("EmbeddedRootSource",
0046         nbPileupEvents = cms.PSet(
0047             averageNumber = cms.double(1.6625e-05)
0048         ),
0049         seed = cms.int32(2345678),
0050         type = cms.string('poisson'),
0051     sequential = cms.untracked.bool(False),
0052         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',
0053         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
0054         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
0055         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
0056         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
0057         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')
0058      ),
0059     beamhalo_minus = cms.SecSource("EmbeddedRootSource",
0060         nbPileupEvents = cms.PSet(
0061             averageNumber = cms.double(0.00040503)
0062         ),
0063         seed = cms.int32(3456789),
0064         type = cms.string('poisson'),
0065     sequential = cms.untracked.bool(False),
0066         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',
0067         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
0068         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
0069         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
0070         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
0071         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')
0072      ),
0073     beamhalo_plus = cms.SecSource("EmbeddedRootSource",
0074         nbPileupEvents = cms.PSet(
0075             averageNumber = cms.double(0.00040503)
0076         ),
0077         seed = cms.int32(3456789),
0078         type = cms.string('poisson'),
0079     sequential = cms.untracked.bool(False),
0080         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',
0081         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
0082         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
0083         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
0084         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
0085         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')
0086 
0087     ),
0088     mixObjects = cms.PSet(theMixObjects)
0089 )
0090 
0091