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("EmptySource")
00045
00046 process.maxEvents = cms.untracked.PSet(
00047
00048 input = cms.untracked.int32(1)
00049 )
00050
00051 process.EcalSimpleProducer = cms.EDProducer("EcalSimpleProducer",
00052
00053
00054
00055
00056 formula = cms.string(''),
00057
00058
00059
00060 simHitFormula = cms.string('(ieta0+ievt0)/100.'),
00061
00062
00063
00064
00065
00066
00067
00068 tpFormula = cms.string(''),
00069
00070 verbose = cms.untracked.bool(False)
00071 )
00072
00073 process.EcalTrivialConditionRetriever = cms.ESSource("EcalTrivialConditionRetriever")
00074
00075 process.out = cms.OutputModule("PoolOutputModule",
00076 fileName = cms.untracked.string('file:toto.root')
00077 )
00078
00079 process.p = cms.Path(process.EcalSimpleProducer*process.mix*process.simEcalUnsuppressedDigis*process.simEcalTriggerPrimitiveDigis*process.simEcalDigis*process.EcalSimRawData)
00080 process.fine = cms.EndPath(process.out)
00081 process.simEcalTriggerPrimitiveDigis.Label = 'simEcalUnsuppressedDigis'
00082 process.simEcalTriggerPrimitiveDigis.InstanceEB = ''
00083 process.simEcalTriggerPrimitiveDigis.InstanceEE = ''
00084 process.ecalTriggerPrimitiveDigis.TcpOutput = True
00085 process.simEcalDigis.dumpFlags = 10
00086 process.simEcalDigis.trigPrimBypass = False
00087 process.simEcalDigis.writeSrFlags = True
00088
00089