Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005
00006
00007
00008
00009
00010 from SimGeneral.MixingModule.mixObjects_cfi import *
00011 from SimGeneral.MixingModule.mixPoolSource_cfi import *
00012
00013 mix = cms.EDProducer("MixingModule",
00014
00015
00016 readDB = cms.bool(True),
00017
00018 LabelPlayback = cms.string(''),
00019
00020 maxBunch = cms.int32(314159),
00021 minBunch = cms.int32(-314159),
00022 bunchspace = cms.int32(314159),
00023
00024 mixProdStep1 = cms.bool(False),
00025 mixProdStep2 = cms.bool(False),
00026
00027 playback = cms.untracked.bool(False),
00028 useCurrentProcessOnly = cms.bool(False),
00029
00030 input = cms.SecSource("PoolSource",
00031 type = cms.string('readDB'),
00032 sequential = cms.untracked.bool(False),
00033 fileNames = FileNames
00034 ),
00035
00036 mixObjects = cms.PSet(
00037 mixCH = cms.PSet(
00038 mixCaloHits
00039 ),
00040 mixTracks = cms.PSet(
00041 mixSimTracks
00042 ),
00043 mixVertices = cms.PSet(
00044 mixSimVertices
00045 ),
00046 mixSH = cms.PSet(
00047 mixSimHits
00048 ),
00049 mixHepMC = cms.PSet(
00050 mixHepMCProducts
00051 )
00052 )
00053 )
00054
00055
00056
00057 if mix.readDB == cms.bool(True):
00058 print ' '
00059 print 'MixingModule will be configured from db; this is mix.readDB : ',mix.readDB
00060 else :
00061 print ' '
00062 print 'MixingModule is NOT going to be configured from db; this is mix.readDB : ',mix.readDB