test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiMixGEN_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # configuration to model pileup for initial physics phase
4 from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects
6 
7 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'])
8 
9 mix = cms.EDProducer("MixingModule",
10  digitizers = cms.PSet(),
11  LabelPlayback = cms.string(''),
12  maxBunch = cms.int32(0),
13  minBunch = cms.int32(0), ## in terms of 25 nsec
14  bunchspace = cms.int32(1), ##ns
15  mixProdStep1 = cms.bool(False),
16  mixProdStep2 = cms.bool(False),
17 
18  playback = cms.untracked.bool(False),
19  useCurrentProcessOnly = cms.bool(False),
20 
21  input = cms.SecSource("EmbeddedRootSource",
22  nbPileupEvents = cms.PSet(
23  averageNumber = cms.double(1.0)
24  ),
25  type = cms.string('fixed'),
26  sequential = cms.untracked.bool(False),
27  fileNames = FileNames
28  ),
29 
30  mixObjects = cms.PSet(
31  mixHepMC = cms.PSet(
32  input = cms.VInputTag(cms.InputTag("generatorSmeared","",cms.InputTag.skipCurrentProcess()),cms.InputTag("generator","unsmeared"),cms.InputTag("generator","",cms.InputTag.skipCurrentProcess())),
33  makeCrossingFrame = cms.untracked.bool(True),
34  type = cms.string('HepMCProduct')
35  )
36  ),
37 )
38 
39 mixGen = cms.Sequence(mix)
40 
41