CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mixWithPU_cfi.py
Go to the documentation of this file.
2 
4 #from FastSimulation.Configuration.mixOnlyGenParticles_cfi import *
5 
6 mixGenPU = cms.EDProducer("MixingModule",
7  digitizers = cms.PSet(),
8  LabelPlayback = cms.string(''),
9  maxBunch = cms.int32(0),
10  minBunch = cms.int32(0),
11  bunchspace = cms.int32(25),
12  checktof = cms.bool(False),
13  playback = cms.untracked.bool(False),
14  mixProdStep1 = cms.bool(False),
15  mixProdStep2 = cms.bool(False),
16  input = cms.SecSource("PoolSource",
17  type = cms.string('probFunction'),
18  nbPileupEvents = cms.PSet(
19  probFunctionVariable = cms.vint32(),
20  probValue = cms.vdouble(),
21  histoFileName = cms.untracked.string('histProbFunction.root'),
22  ),
23  sequential = cms.untracked.bool(False),
24  manage_OOT = cms.untracked.bool(False), ## manage out-of-time pileup
25  ## setting this to True means that the out-of-time pileup
26  ## will have a different distribution than in-time, given
27  ## by what is described on the next line:
28  OOT_type = cms.untracked.string('None'), ## generate OOT with a Poisson matching the number chosen for in-time
29  #OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
30  #intFixed_OOT = cms.untracked.int32(2),
31  fileNames = cms.untracked.vstring('/store/relval/CMSSW_5_3_6-START53_V14/RelValProdMinBias/GEN-SIM-RAW/v2/00000/4677049F-042A-E211-8525-0026189438E8.root',
32  '/store/relval/CMSSW_5_3_6-START53_V14/RelValProdMinBias/GEN-SIM-RAW/v2/00000/52000D8A-032A-E211-BC94-00304867BFA8.root'), # these files are stored at CERN; if you are running elsewhere, or these files are not available anymore, you can generate your own minimum bias events to be fed as input to the mixing module, with the following command: cmsDriver.py MinBias_8TeV_cfi --conditions auto:startup -s GEN --datatier GEN -n 10000 --eventcontent RAWSIM
33  ),
34  mixObjects = cms.PSet(
35 # mixSH = cms.PSet(
36 # mixSimHits
37 # ),
38 # mixVertices = cms.PSet(
39 # mixSimVertices
40 # ),
41 # mixCH = cms.PSet(
42 # mixCaloHits
43 # ),
44 # mixMuonTracks = cms.PSet(
45 # mixMuonSimTracks
46 # ),
47 # mixTracks = cms.PSet(
48 # mixSimTracks
49 # ),
50  mixHepMC = cms.PSet(
51  mixHepMCProducts
52  )
53  )
54 )
55 
56