File indexing completed on 2024-11-27 03:18:08
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005
0006
0007
0008
0009
0010 from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects
0011 from SimGeneral.MixingModule.mixPoolSource_cfi import *
0012 from SimGeneral.MixingModule.digitizers_cfi import *
0013
0014 mix = cms.EDProducer("MixingModule",
0015
0016
0017 readDB = cms.bool(True),
0018
0019 digitizers = cms.PSet(theDigitizers),
0020 LabelPlayback = cms.string(''),
0021 maxBunch = cms.int32(314159),
0022 minBunch = cms.int32(-314159),
0023
0024 bunchspace = cms.int32(314159),
0025 mixProdStep1 = cms.bool(False),
0026 mixProdStep2 = cms.bool(False),
0027
0028 playback = cms.untracked.bool(False),
0029 useCurrentProcessOnly = cms.bool(False),
0030
0031 input = cms.SecSource("EmbeddedRootSource",
0032 type = cms.string('readDB'),
0033 sequential = cms.untracked.bool(False),
0034 fileNames = FileNames
0035 ),
0036
0037 mixObjects = cms.PSet(theMixObjects)
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055 )
0056
0057
0058
0059 if mix.readDB == cms.bool(True):
0060 print(' ')
0061 print('MixingModule will be configured from db; this is mix.readDB : ',mix.readDB)
0062 else :
0063 print(' ')
0064 print('MixingModule is NOT going to be configured from db; this is mix.readDB : ',mix.readDB)