test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiMix_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
7 
8 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'])
9 
10 # How to??
11 #for a in self.aliases: delattr(self, a)
12 # here??
13 
14 mix = cms.EDProducer("MixingModule",
15  digitizers = cms.PSet(theDigitizers),
16  LabelPlayback = cms.string('mix'),
17  maxBunch = cms.int32(0),
18  minBunch = cms.int32(0), ## in terms of 25 nsec
19 
20  bunchspace = cms.int32(1), ##ns
21  mixProdStep1 = cms.bool(False),
22  mixProdStep2 = cms.bool(False),
23 
24  playback = cms.untracked.bool(True),
25  useCurrentProcessOnly = cms.bool(False),
26 
27  input = cms.SecSource("EmbeddedRootSource",
28  nbPileupEvents = cms.PSet(
29  averageNumber = cms.double(1.0)
30  ),
31  type = cms.string('fixed'),
32  sequential = cms.untracked.bool(False),
33  fileNames = FileNames
34  ),
35  mixObjects = cms.PSet(theMixObjects)
36 )
37 
38 
39