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.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0007     moduleSeeds = cms.PSet(
0008         mix = cms.untracked.uint32(12345)
0009     )
0010 )
0011 
0012 process.MessageLogger = cms.Service("MessageLogger",
0013     cerr = cms.untracked.PSet(
0014         enable = cms.untracked.bool(False)
0015     ),
0016     cout = cms.untracked.PSet(
0017         default = cms.untracked.PSet(
0018             limit = cms.untracked.int32(0)
0019         ),
0020         enable = cms.untracked.bool(True)
0021     )
0022 )
0023 
0024 process.source = cms.Source("PoolSource",
0025 #    fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/cms/store/RelVal/2007/7/11/RelVal-RelVal160pre4SingleEPt35-1184176348/0000/5EF3794C-7530-DC11-833F-000423D6C8EE.root')
0026     fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/cms/store/relval/CMSSW_3_0_0_pre6/RelValSingleElectronPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_30X_v1/0005/28116A15-E9DD-DD11-9BA6-001617E30F4C.root')
0027 )
0028 
0029 process.maxEvents = cms.untracked.PSet(
0030     input = cms.untracked.int32(1)
0031 )
0032 
0033 process.out = cms.OutputModule("PoolOutputModule",
0034     outputCommands = cms.untracked.vstring('drop *_*_*_*', 
0035         'keep *CrossingFrame*_*_*_*'),
0036     fileName = cms.untracked.string('/tmp/Cum_xxx.root')
0037 )
0038 
0039 process.mix = cms.EDFilter("MixingModule",
0040     LabelPlayback = cms.string(''),
0041     
0042     maxEvents = cms.untracked.PSet(
0043         input = cms.untracked.int32(1)
0044     ),
0045     
0046     input = cms.SecSource("EmbeddedRootSource",
0047     
0048 #    fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/cms/store/RelVal/2007/7/11/RelVal-RelVal160pre4SingleEPt35-1184176348/0000/5EF3794C-7530-DC11-833F-000423D6C8EE.root'),
0049     fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/cms/store/relval/CMSSW_3_0_0_pre6/RelValSingleElectronPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_30X_v1/0005/28116A15-E9DD-DD11-9BA6-001617E30F4C.root'),
0050 
0051         seed = cms.int32(1234567),
0052         type = cms.string('fixed'),
0053         nbPileupEvents = cms.PSet(
0054             averageNumber = cms.double(1.0)
0055         ),
0056 
0057         maxEventsToSkip = cms.untracked.uint32(0),
0058         
0059     ),
0060     
0061     maxBunch = cms.int32(12345),
0062     minBunch = cms.int32(12345),
0063     bunchspace = cms.int32(25),
0064     Label = cms.string(''),
0065     
0066     mixObjects = cms.PSet(
0067         mixCH = cms.PSet(
0068             mixCaloHits
0069         ),
0070         mixTracks = cms.PSet(
0071             mixSimTracks
0072         ),
0073         mixVertices = cms.PSet(
0074             mixSimVertices
0075         ),
0076         mixSH = cms.PSet(
0077             mixSimHits
0078         ),
0079         mixHepMC = cms.PSet(
0080             mixHepMCProducts
0081         )
0082     )
0083 )
0084 
0085 process.p = cms.Path(process.mix)
0086 process.outpath = cms.EndPath(process.out)
0087 
0088