File indexing completed on 2023-03-17 11:25:53
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("MCCand")
0004
0005 process.load("Configuration.StandardSequences.FakeConditions_cff")
0006 process.load("Configuration.StandardSequences.GeometryIdeal_cff")
0007 process.load("PhysicsTools.HepMCCandAlgos.genParticles_cfi")
0008 process.load("SimTracker.TrackHistory.GenTrackMatcher_cfi")
0009
0010 process.maxEvents = cms.untracked.PSet(
0011 input = cms.untracked.int32(100)
0012 )
0013 process.source = cms.Source("PoolSource",
0014 fileNames = cms.untracked.vstring('')
0015 )
0016
0017 process.out = cms.OutputModule("PoolOutputModule",
0018 outputCommands = cms.untracked.vstring('drop *',
0019 'keep recoTracks_ctfWithMaterialTracks_*_*',
0020 'keep *_genParticles_*_*',
0021 'keep *_trackMCMatch_*_*'),
0022 fileName = cms.untracked.string('out.root')
0023 )
0024
0025 process.p = cms.Path(process.genParticles*process.genTrackMatcher)
0026 process.ep = cms.EndPath(process.out)
0027 process.genParticles.saveBarCodes = True
0028
0029