00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 import FWCore.ParameterSet.Config as cms
00014
00015 process = cms.Process("RESTORE")
00016
00017
00018 process.load("Configuration.StandardSequences.Simulation_cff")
00019
00020 process.load("Configuration.StandardSequences.FakeConditions_cff")
00021
00022 process.load("Configuration.StandardSequences.Geometry_cff")
00023
00024 process.load("Configuration.StandardSequences.MagneticField_cff")
00025
00026 process.load("Configuration.StandardSequences.MixingNoPileUp_cff")
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 process.load("recoLocalTracker.Configuration.RecoLocalTracker_cff")
00043
00044 process.load("recoLocalMuon.Configuration.RecoLocalMuon_cff")
00045
00046 process.load("recoLocalCalo.Configuration.RecoLocalCalo_cff")
00047
00048
00049
00050
00051
00052 process.load("Configuration.eventContent.EventContent_cff")
00053
00054 process.maxEvents = cms.untracked.PSet(
00055 input = cms.untracked.int32(-1)
00056 )
00057 process.MessageLogger = cms.Service("MessageLogger",
00058 cout = cms.untracked.PSet(
00059 default = cms.untracked.PSet(
00060 limit = cms.untracked.int32(0)
00061 ),
00062
00063
00064 SimG4CoreApplication = cms.untracked.PSet(
00065 limit = cms.untracked.int32(-1)
00066 )
00067 ),
00068 categories = cms.untracked.vstring('FwkJob', 'SimG4CoreApplication'),
00069 destinations = cms.untracked.vstring('cout')
00070 )
00071
00072 process.Timing = cms.Service("Timing")
00073
00074 process.source = cms.Source("PoolSource",
00075 skipEvents = cms.untracked.uint32(3),
00076
00077
00078 fileNames = cms.untracked.vstring('file:H190ZZ4mu_detsim_digi.root')
00079 )
00080
00081 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
00082 restoreStateLabel = cms.untracked.string('rndmStore'),
00083
00084
00085
00086
00087
00088
00089 moduleSeeds = cms.PSet(
00090 g4SimHits = cms.untracked.uint32(1),
00091 ecalUnsuppressedDigis = cms.untracked.uint32(1),
00092 muonCSCDigis = cms.untracked.uint32(1),
00093 mix = cms.untracked.uint32(1),
00094 siPixelDigis = cms.untracked.uint32(1),
00095
00096
00097
00098
00099
00100
00101
00102
00103 VtxSmeared = cms.untracked.uint32(1),
00104 hcalUnsuppressedDigis = cms.untracked.uint32(1),
00105 muonDTDigis = cms.untracked.uint32(1),
00106 siStripDigis = cms.untracked.uint32(1),
00107 muonRPCDigis = cms.untracked.uint32(1)
00108 )
00109 )
00110
00111 process.RndmStoreFEVT = cms.PSet(
00112 outputCommands = cms.untracked.vstring('drop *_*_*_Sim', 'keep RandomEngineStates_*_*_* ')
00113 )
00114 process.USER = cms.OutputModule("PoolOutputModule",
00115 process.FEVTSIMEventContent,
00116 fileName = cms.untracked.string('restore_rndm_H190ZZ4mu_detsim_digi.root')
00117 )
00118
00119 process.p1 = cms.Path(process.g4SimHits)
00120 process.p2 = cms.Path(process.pdigi)
00121 process.outpath = cms.EndPath(process.USER)
00122 process.schedule = cms.Schedule(process.p1,process.p2,process.outpath)
00123
00124 process.FEVTSIMEventContent.outputCommands.extend(process.RndmStoreFEVT.outputCommands)
00125