1 from __future__
import print_function
2 import FWCore.ParameterSet.Config
as cms
15 mix = cms.EDProducer(
"MixingModule",
18 readDB = cms.bool(
True),
20 digitizers = cms.PSet(theDigitizers),
21 LabelPlayback = cms.string(
''),
22 maxBunch = cms.int32(314159),
23 minBunch = cms.int32(-314159),
25 bunchspace = cms.int32(314159),
26 mixProdStep1 = cms.bool(
False),
27 mixProdStep2 = cms.bool(
False),
29 playback = cms.untracked.bool(
False),
30 useCurrentProcessOnly = cms.bool(
False),
32 input = cms.SecSource(
"EmbeddedRootSource",
33 type = cms.string(
'readDB'),
34 sequential = cms.untracked.bool(
False),
38 mixObjects = cms.PSet(theMixObjects)
60 if mix.readDB == cms.bool(
True):
62 print(
'MixingModule will be configured from db; this is mix.readDB : ',mix.readDB)
65 print(
'MixingModule is NOT going to be configured from db; this is mix.readDB : ',mix.readDB)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)