Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 process = cms.Process("PRODMIX")
0005 process.load("SimGeneral.DataMixingModule.mixOne_sim_on_sim_cfi")
0006 
0007 process.load("Configuration.EventContent.EventContent_cff")
0008 
0009 process.load("Configuration.StandardSequences.FakeConditions_cff")
0010 
0011 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0012 
0013 process.MessageLogger = cms.Service("MessageLogger",
0014      destinations = cms.untracked.vstring('cout'),
0015      cout = cms.untracked.PSet( threshold = cms.untracked.string("DEBUG") ),
0016      debugModules = cms.untracked.vstring('DataMixingModule')
0017 )
0018 
0019 
0020 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0021     moduleSeeds = cms.PSet(
0022         mix = cms.untracked.uint32(12345)
0023     )
0024 )
0025 
0026 process.Tracer = cms.Service("Tracer",
0027     indention = cms.untracked.string('$$')
0028 )
0029 
0030 process.source = cms.Source("PoolSource",
0031     fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_8/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V7_v1/0003/0A0241FB-9182-DD11-98E1-001617E30D40.root')
0032 )
0033 
0034 process.maxEvents = cms.untracked.PSet(
0035     input = cms.untracked.int32(3)
0036 )
0037 process.FEVT = cms.OutputModule("PoolOutputModule",
0038     outputCommands = cms.untracked.vstring('keep *'),
0039     fileName = cms.untracked.string('file:MixTest.root')
0040 )
0041 
0042 process.dump = cms.EDAnalyzer("EventContentAnalyzer")
0043 
0044 process.p = cms.Path(process.mix+process.dump)
0045 process.outpath = cms.EndPath(process.FEVT)
0046 process.schedule = cms.Schedule(process.p,process.outpath)
0047 
0048 
0049