File indexing completed on 2024-04-06 12:30:38
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects
0005 from SimGeneral.MixingModule.mixPoolSource_cfi import *
0006 from SimGeneral.MixingModule.digitizers_cfi import *
0007
0008 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'])
0009
0010 mixGen = cms.EDProducer("MixingModule",
0011 digitizers = cms.PSet(),
0012 LabelPlayback = cms.string(''),
0013 maxBunch = cms.int32(0),
0014 minBunch = cms.int32(0),
0015 bunchspace = cms.int32(1),
0016 mixProdStep1 = cms.bool(False),
0017 mixProdStep2 = cms.bool(False),
0018
0019 playback = cms.untracked.bool(False),
0020 useCurrentProcessOnly = cms.bool(False),
0021
0022 input = cms.SecSource("EmbeddedRootSource",
0023 nbPileupEvents = cms.PSet(
0024 averageNumber = cms.double(1.0)
0025 ),
0026 type = cms.string('fixed'),
0027 sequential = cms.untracked.bool(False),
0028 fileNames = FileNames
0029 ),
0030
0031 mixObjects = cms.PSet(
0032 mixHepMC = cms.PSet(
0033 input = cms.VInputTag(cms.InputTag("generatorSmeared","",cms.InputTag.skipCurrentProcess()),cms.InputTag("generator","unsmeared"),cms.InputTag("generator","",cms.InputTag.skipCurrentProcess())),
0034 makeCrossingFrame = cms.untracked.bool(True),
0035 type = cms.string('HepMCProduct')
0036 )
0037 ),
0038 )
0039
0040
0041
0042
0043
0044 mix = cms.EDProducer("MixingModule",
0045 digitizers = cms.PSet(theDigitizers),
0046 LabelPlayback = cms.string('mixGen'),
0047 maxBunch = cms.int32(0),
0048 minBunch = cms.int32(0),
0049
0050 bunchspace = cms.int32(1),
0051 mixProdStep1 = cms.bool(False),
0052 mixProdStep2 = cms.bool(False),
0053
0054 playback = cms.untracked.bool(True),
0055 useCurrentProcessOnly = cms.bool(False),
0056
0057 input = cms.SecSource("EmbeddedRootSource",
0058 nbPileupEvents = cms.PSet(
0059 averageNumber = cms.double(1.0)
0060 ),
0061 type = cms.string('fixed'),
0062 sequential = cms.untracked.bool(False),
0063 fileNames = FileNames
0064 ),
0065 mixObjects = cms.PSet(theMixObjects)
0066 )
0067
0068 mixVal = mixGen.clone(playback = cms.untracked.bool(True),LabelPlayback = cms.string('mixGen'))
0069