Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:03

0001 ## Starting with a skeleton process which gets imported with the following line
0002 from PhysicsTools.PatAlgos.patTemplate_cfg import *
0003 
0004 ## ---
0005 ## Use proper input
0006 ## ---
0007 from PhysicsTools.PatExamples.samplesCERN_cff import *
0008 process.source.fileNames = zjetsRECO
0009 
0010 
0011 ## ---
0012 ## Adjust inputs if necessary
0013 ## ---
0014 #from PhysicsTools.PatAlgos.tools.cmsswVersionTools import run36xOn35xInput
0015 #run36xOn35xInput(process)
0016 
0017 ## This might be needed when running on 383 rereco'ed data
0018 #process.load("RecoJets.Configuration.GenJetParticles_cff")
0019 #process.load("RecoJets.Configuration.RecoGenJets_cff")
0020 
0021 #process.p0 = cms.Path(
0022 #    process.genJetParticles *
0023 #    process.ak5GenJets
0024 #)
0025 
0026 ## ---
0027 ## Determine number of events to be processed
0028 ## ---
0029 process.maxEvents.input = 100
0030 
0031 ## ---
0032 ## Adaptations to the event content
0033 ## ---
0034 process.p = cms.Path(
0035     process.patDefaultSequence
0036 )
0037 
0038 ## Switch embedding to false
0039 process.patMuons.embedStandAloneMuon = False
0040 process.patMuons.embedCombinedMuon = False
0041 process.patMuons.embedTrack = False
0042 
0043 ## Keep tracks and track extras instead
0044 process.out.outputCommands+= [
0045     "keep *_globalMuons_*_*",
0046     "keep *_generalTracks_*_*",
0047     "keep *_standAloneMuons_*_*"
0048     ]