Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # configuration to model pileup for initial physics phase
0004 from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects
0005 from SimGeneral.MixingModule.mixPoolSource_cfi import *
0006 
0007 FileNames = cms.untracked.vstring(['/store/relval/CMSSW_7_2_0_pre7/RelValQCD_Pt_80_120_13/GEN-SIM/PRE_LS172_V11-v1/00000/16547ECB-9C4B-E411-A815-0025905964BC.root', '/store/relval/CMSSW_7_2_0_pre7/RelValQCD_Pt_80_120_13/GEN-SIM/PRE_LS172_V11-v1/00000/86C3C326-9F4B-E411-903D-0025905A48EC.root', '/store/relval/CMSSW_7_2_0_pre7/RelValQCD_Pt_80_120_13/GEN-SIM/PRE_LS172_V11-v1/00000/C48D8223-9F4B-E411-BC37-0026189438DC.root', '/store/relval/CMSSW_7_2_0_pre7/RelValQCD_Pt_80_120_13/GEN-SIM/PRE_LS172_V11-v1/00000/D070AB62-9D4B-E411-9766-002618FDA207.root'])
0008 
0009 mix = cms.EDProducer("MixingModule",
0010     digitizers = cms.PSet(),
0011     LabelPlayback = cms.string(''),
0012     maxBunch = cms.int32(0),
0013     minBunch = cms.int32(0), ## in terms of 25 nsec
0014     bunchspace = cms.int32(1), ##ns
0015     mixProdStep1 = cms.bool(False),
0016     mixProdStep2 = cms.bool(False),
0017 
0018     playback = cms.untracked.bool(False),
0019     useCurrentProcessOnly = cms.bool(False),
0020 
0021     input = cms.SecSource("EmbeddedRootSource",
0022         nbPileupEvents = cms.PSet(
0023             averageNumber = cms.double(1.0)
0024         ),
0025         type = cms.string('fixed'),
0026                           sequential = cms.untracked.bool(False),
0027         fileNames = FileNames
0028     ),
0029 
0030     mixObjects = cms.PSet(
0031         mixHepMC = cms.PSet(
0032             input = cms.VInputTag(cms.InputTag("generatorSmeared","",cms.InputTag.skipCurrentProcess()),cms.InputTag("generator","unsmeared"),cms.InputTag("generator","",cms.InputTag.skipCurrentProcess())),
0033             makeCrossingFrame = cms.untracked.bool(True),
0034             type = cms.string('HepMCProduct')
0035             )
0036         ),
0037 )
0038 
0039 mixGen = cms.Sequence(mix)
0040 
0041