Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # configuration to model pileup for initial physics phase
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 # How to??
0011 #for a in self.aliases: delattr(self, a)
0012 # here??
0013 
0014 mix = cms.EDProducer("MixingModule",
0015     digitizers = cms.PSet(theDigitizers),
0016     LabelPlayback = cms.string('mix'),
0017     maxBunch = cms.int32(0),
0018     minBunch = cms.int32(0), ## in terms of 25 nsec
0019 
0020     bunchspace = cms.int32(1), ##ns
0021     mixProdStep1 = cms.bool(False),
0022     mixProdStep2 = cms.bool(False),
0023 
0024     playback = cms.untracked.bool(True),
0025     useCurrentProcessOnly = cms.bool(False),
0026 
0027     input = cms.SecSource("EmbeddedRootSource",
0028         nbPileupEvents = cms.PSet(
0029             averageNumber = cms.double(1.0)
0030         ),
0031         type = cms.string('fixed'),
0032                           sequential = cms.untracked.bool(False),
0033         fileNames = FileNames
0034     ),
0035     mixObjects = cms.PSet(theMixObjects)
0036 )
0037 
0038 mix.mixObjects.mixHepMC.makeCrossingFrame = True
0039 
0040