Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:06

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # configuration to model pileup for initial physics phase
0004 from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects
0005 from SimGeneral.MixingModule.mixPoolSource_cfi import *
0006 from SimGeneral.MixingModule.digitizers_cfi import *
0007 
0008 mix = cms.EDProducer("MixingModule",
0009     digitizers = cms.PSet(theDigitizers),
0010     LabelPlayback = cms.string(''),
0011     maxBunch = cms.int32(0),
0012     minBunch = cms.int32(0), ## in terms of 25 nsec
0013 
0014     bunchspace = cms.int32(50), ##ns
0015     mixProdStep1 = cms.bool(False),
0016     mixProdStep2 = cms.bool(False),
0017 
0018     playback = cms.untracked.bool(False),
0019     useCurrentProcessOnly = cms.bool(False),
0020 
0021     input = cms.SecSource("EmbeddedRootSource",
0022         type = cms.string('probFunction'),
0023         nbPileupEvents = cms.PSet(
0024           probFunctionVariable = cms.vint32(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24),
0025           probValue = cms.vdouble(0.0698146584,0.0698146584,0.0698146584,0.0698146584,0.0698146584,0.0698146584,0.0698146584,0.0698146584,0.0698146584,0.0698146584,0.0698146584,0.0630151648,0.0526654164,0.0402754482,0.0292988928,0.0194384503,0.0122016783,0.007207042,0.004003637,0.0020278322,0.0010739954,0.0004595759,0.0002229748,0.0001028162,4.58337152809607E-05),
0026           histoFileName = cms.untracked.string('histProbFunction.root'),
0027         ),
0028     sequential = cms.untracked.bool(False),
0029         fileNames = FileNames
0030     ),
0031     mixObjects = cms.PSet(theMixObjects)
0032 )
0033 
0034 
0035