Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:42

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from SimGeneral.MixingModule.mixObjects_cfi import *
0004 
0005 process = cms.Process("PRODVAL1")
0006 process.load("DQM.SiStripCommon.DaqMonitorROOTBackEnd_cfi")
0007 
0008 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0009     moduleSeeds = cms.PSet(
0010         mix = cms.untracked.uint32(56789)
0011     )
0012 )
0013 
0014 process.MessageLogger = cms.Service("MessageLogger",
0015     cerr = cms.untracked.PSet(
0016         enable = cms.untracked.bool(False)
0017     ),
0018     cout = cms.untracked.PSet(
0019         default = cms.untracked.PSet(
0020             limit = cms.untracked.int32(0)
0021         ),
0022         enable = cms.untracked.bool(True)
0023     )
0024 )
0025 
0026 process.source = cms.Source("PoolSource",
0027    fileNames = cms.untracked.vstring(
0028     '/store/relval/CMSSW_3_1_0_pre4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_30X_v1/0003/3AA6EEA4-3B16-DE11-B35F-001617C3B654.root')
0029 
0030 )
0031 
0032 process.maxEvents = cms.untracked.PSet(
0033     input = cms.untracked.int32(1)
0034 )
0035 
0036 process.mix = cms.EDProducer("MixingModule",
0037     LabelPlayback = cms.string(''),
0038     
0039     maxEvents = cms.untracked.PSet(
0040         input = cms.untracked.int32(1)
0041     ),
0042     
0043     input = cms.SecSource("EmbeddedRootSource",
0044     fileNames = cms.untracked.vstring(
0045     '/store/relval/CMSSW_3_1_0_pre4/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_30X_v1/0003/3AA6EEA4-3B16-DE11-B35F-001617C3B654.root'),
0046 
0047         seed = cms.int32(1234567),
0048         type = cms.string('fixed'),
0049         nbPileupEvents = cms.PSet(
0050             averageNumber = cms.double(1.0)
0051         ),
0052 
0053         maxEventsToSkip = cms.untracked.uint32(0),
0054         
0055     ),
0056     
0057     maxBunch = cms.int32(12345),
0058     minBunch = cms.int32(12345),
0059     bunchspace = cms.int32(25),
0060     checktof = cms.bool(False),
0061     Label = cms.string(''),
0062     
0063     mixObjects = cms.PSet(
0064         mixCH = cms.PSet(
0065             mixCaloHits
0066         ),
0067         mixTracks = cms.PSet(
0068             mixSimTracks
0069         ),
0070         mixVertices = cms.PSet(
0071             mixSimVertices
0072         ),
0073         mixSH = cms.PSet(
0074             mixSimHits
0075         ),
0076         mixHepMC = cms.PSet(
0077             mixHepMCProducts
0078         )
0079     )
0080 )
0081 
0082 process.test = cms.EDAnalyzer("TestSuite",
0083     maxBunch = cms.int32(34567),
0084     BunchNr = cms.int32(12345),
0085     minBunch = cms.int32(23456),
0086     fileName = cms.string('histos.root')
0087 )
0088 
0089 process.p = cms.Path(process.mix+process.test)
0090 #process.outpath = cms.EndPath(process.out)
0091 
0092