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  LabelPlayback = cms.string(''),
8  maxBunch = cms.int32(0),
9  minBunch = cms.int32(0),
10  bunchspace = cms.int32(25),
11  checktof = cms.bool(False),
12  playback = cms.untracked.bool(False),
13  mixProdStep1 = cms.bool(False),
14  mixProdStep2 = cms.bool(False),
15  input = cms.SecSource("PoolSource",
16  type = cms.string('probFunction'),
17  nbPileupEvents = cms.PSet(
18  probFunctionVariable = cms.vint32(),
19  probValue = cms.vdouble(),
20  histoFileName = cms.untracked.string('histProbFunction.root'),
21  ),
22  sequential = cms.untracked.bool(False),
23  manage_OOT = cms.untracked.bool(False), ## manage out-of-time pileup
24  ## setting this to True means that the out-of-time pileup
25  ## will have a different distribution than in-time, given
26  ## by what is described on the next line:
27  OOT_type = cms.untracked.string('None'), ## generate OOT with a Poisson matching the number chosen for in-time
28  #OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
29  #intFixed_OOT = cms.untracked.int32(2),
30  fileNames = cms.untracked.vstring('/store/relval/CMSSW_5_3_6-START53_V14/RelValProdMinBias/GEN-SIM-RAW/v2/00000/4677049F-042A-E211-8525-0026189438E8.root',
31  '/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
32  ),
33  mixObjects = cms.PSet(
34 # mixSH = cms.PSet(
35 # mixSimHits
36 # ),
37 # mixVertices = cms.PSet(
38 # mixSimVertices
39 # ),
40 # mixCH = cms.PSet(
41 # mixCaloHits
42 # ),
43 # mixMuonTracks = cms.PSet(
44 # mixMuonSimTracks
45 # ),
46 # mixTracks = cms.PSet(
47 # mixSimTracks
48 # ),
49  mixHepMC = cms.PSet(
50  mixHepMCProducts
51  )
52  )
53 )
54 
55