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