Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("EcalSimRawData")
00004
00005
00006
00007
00008
00009 process.load("Configuration.StandardSequences.Digi_cff")
00010
00011 process.load("Configuration.StandardSequences.MixingNoPileUp_cff")
00012
00013
00014 process.load("SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cfi")
00015
00016
00017
00018
00019
00020
00021 process.load("SimCalorimetry.EcalElectronicsEmulation.EcalSimRawData_cfi")
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 process.load("Geometry.CMSCommonData.cmsSimIdealGeometryXML_cfi")
00037
00038
00039 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
00040
00041
00042 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
00043
00044 process.source = cms.source("EcalSimpleSource",
00045
00046 maxEvents = cms.untracked.int32(1),
00047
00048
00049
00050
00051 formula = cms.string(''),
00052
00053
00054
00055 simHitFormula = cms.string('(ieta0+ievt0)/100.'),
00056
00057
00058
00059
00060
00061
00062
00063 tpFormula = cms.string(''),
00064
00065 verbose = cms.untracked.bool(False)
00066 )
00067
00068 process.EcalTrivialConditionRetriever = cms.ESSource("EcalTrivialConditionRetriever")
00069
00070 process.out = cms.OutputModule("PoolOutputModule",
00071 fileName = cms.untracked.string('file:toto.root')
00072 )
00073
00074 process.p = cms.Path(process.mix*process.simEcalUnsuppressedDigis*process.simEcalTriggerPrimitiveDigis*process.simEcalDigis*process.EcalSimRawData)
00075 process.fine = cms.EndPath(process.out)
00076 process.simEcalTriggerPrimitiveDigis.Label = 'simEcalUnsuppressedDigis'
00077 process.simEcalTriggerPrimitiveDigis.InstanceEB = ''
00078 process.simEcalTriggerPrimitiveDigis.InstanceEE = ''
00079 process.ecalTriggerPrimitiveDigis.TcpOutput = True
00080 process.simEcalDigis.dumpFlags = 10
00081 process.simEcalDigis.trigPrimBypass = False
00082 process.simEcalDigis.writeSrFlags = True
00083
00084