00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("Sim")
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 process.load("Configuration.StandardSequences.Services_cff")
00015
00016 process.load("Configuration.StandardSequences.Geometry_cff")
00017
00018 process.load("Configuration.StandardSequences.MagneticField_cff")
00019
00020 process.load("Configuration.StandardSequences.FakeConditions_cff")
00021
00022 process.load("FWCore.MessageService.MessageLogger_cfi")
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 process.load("Configuration.StandardSequences.Simulation_cff")
00034
00035
00036 process.load("Configuration.eventContent.EventContent_cff")
00037
00038 process.maxEvents = cms.untracked.PSet(
00039 input = cms.untracked.int32(1)
00040 )
00041 process.source = cms.Source("PoolSource",
00042 catalog = cms.untracked.string('PoolFileCatalog.xml'),
00043 fileNames = cms.untracked.vstring('file:gen.root')
00044 )
00045
00046 process.FEVT = cms.OutputModule("PoolOutputModule",
00047 process.FEVTSIMEventContent,
00048 fileName = cms.untracked.string(' sim.root')
00049 )
00050
00051 process.p1 = cms.Path(process.psim)
00052 process.outpath = cms.EndPath(process.FEVT)
00053 process.schedule = cms.Schedule(process.p1,process.outpath)
00054
00055