Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:34

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("testECALDigi")
0004 #Geometry
0005 #
0006 process.load("Geometry.CMSCommonData.cmsSimIdealGeometryXML_cfi")
0007 
0008 process.load("SimGeneral.MixingModule.mixNoPU_cfi")
0009 
0010 process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff")
0011 
0012 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0013 
0014 process.load("SimCalorimetry.Configuration.ecalDigiSequence_cff")
0015 
0016 process.Timing = cms.Service("Timing")
0017 
0018 process.MessageLogger = cms.Service("MessageLogger",
0019     cerr = cms.untracked.PSet(
0020         enable = cms.untracked.bool(False)
0021     ),
0022     cout = cms.untracked.PSet(
0023         INFO = cms.untracked.PSet(
0024             limit = cms.untracked.int32(-1)
0025         ),
0026         enable = cms.untracked.bool(True)
0027     )
0028 )
0029 
0030 process.maxEvents = cms.untracked.PSet(
0031     input = cms.untracked.int32(10)
0032 )
0033 process.source = cms.Source("PoolSource",
0034     debugFlag = cms.untracked.bool(True),
0035     debugVebosity = cms.untracked.uint32(10),
0036     fileNames = cms.untracked.vstring('file:simevent.root')
0037 )
0038 
0039 process.out = cms.OutputModule("PoolOutputModule",
0040     fileName = cms.untracked.string('digis.root')
0041 )
0042 
0043 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0044     moduleSeeds = cms.PSet(
0045         simEcalUnsuppressedDigis = cms.untracked.uint32(12345)
0046     )
0047 )
0048 
0049 process.randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")
0050 
0051 process.p = cms.Path(process.mix*process.randomEngineStateProducer*process.ecalDigiSequence)
0052 process.fine = cms.EndPath(process.out)
0053