CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/SimGeneral/MixingModule/python/mixInitialLumPU_4sources_cfi.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 # E33 cm-2s-1
00004 # mb
00005 import FWCore.ParameterSet.Config as cms
00006 
00007 # this is the configuration to model pileup in the low-luminosity phase
00008 # here we have an example with 4 input sources
00009 # but you are free to put only those you need
00010 # or you can replace the type by "none" for a source you dont want
00011 # please note that the names of the input sources are fixed: 'input', 'cosmics', 'beamhalo_minus', 'beamhalo_plus'
00012 #
00013 from SimGeneral.MixingModule.mixObjects_cfi import *
00014 mix = cms.EDProducer("MixingModule",
00015     LabelPlayback = cms.string(''),
00016     maxBunch = cms.int32(3),
00017     minBunch = cms.int32(-5), ## in units of 25 nsec
00018 
00019     bunchspace = cms.int32(75), ## nsec
00020     mixProdStep1 = cms.bool(False),
00021     mixProdStep2 = cms.bool(False),
00022 
00023     playback = cms.untracked.bool(False),
00024     useCurrentProcessOnly = cms.bool(False),
00025     input = cms.SecSource("PoolSource",
00026         nbPileupEvents = cms.PSet(
00027             sigmaInel = cms.double(80.0),
00028             Lumi = cms.double(0.5)
00029         ),
00030         type = cms.string('poisson'),
00031         sequential = cms.untracked.bool(False),
00032         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',
00033         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
00034         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
00035         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
00036         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
00037         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')
00038     ),
00039     cosmics = cms.SecSource("PoolSource",
00040         nbPileupEvents = cms.PSet(
00041             averageNumber = cms.double(1.6625e-05)
00042         ),
00043         seed = cms.int32(2345678),
00044         type = cms.string('poisson'),
00045         sequential = cms.untracked.bool(False),
00046         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',
00047         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
00048         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
00049         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
00050         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
00051         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root'
00052                                           )
00053     ),
00054     beamhalo_minus = cms.SecSource("PoolSource",
00055         nbPileupEvents = cms.PSet(
00056             averageNumber = cms.double(0.00040503)
00057         ),
00058         seed = cms.int32(3456789),
00059         type = cms.string('poisson'),
00060         sequential = cms.untracked.bool(False),
00061         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',
00062         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
00063         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
00064         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
00065         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
00066         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root'
00067                                           )
00068     ),
00069     beamhalo_plus = cms.SecSource("PoolSource",
00070         nbPileupEvents = cms.PSet(
00071             averageNumber = cms.double(0.00040503)
00072         ),
00073         seed = cms.int32(3456789),
00074         type = cms.string('poisson'),
00075         sequential = cms.untracked.bool(False),
00076         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',
00077         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/1A423C16-6099-DD11-9320-000423D9853C.root',
00078         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/5EDA8A7F-5D99-DD11-B1CD-001617C3B706.root',
00079         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/600D1E6A-5F99-DD11-A7D5-000423D9890C.root',
00080         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/68ECAE92-5F99-DD11-ACAB-000423D98E6C.root',
00081         '/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')
00082                                           
00083     ),
00084     mixObjects = cms.PSet(
00085         mixCH = cms.PSet(
00086             mixCaloHits
00087         ),
00088         mixTracks = cms.PSet(
00089             mixSimTracks
00090         ),
00091         mixVertices = cms.PSet(
00092             mixSimVertices
00093         ),
00094         mixSH = cms.PSet(
00095             mixSimHits
00096         ),
00097         mixHepMC = cms.PSet(
00098             mixHepMCProducts
00099         )
00100     )
00101 )
00102 
00103