Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 ## import skeleton process
0002 from PhysicsTools.PatAlgos.patTemplate_cfg import *
0003 
0004 ## ---
0005 ## Adjust inputs if necessary
0006 ## ---
0007 #from PhysicsTools.PatAlgos.tools.cmsswVersionTools import run36xOn35xInput
0008 #run36xOn35xInput(process)
0009 
0010 ## --- 
0011 ## adjust workflow to need in TopPAG
0012 ## ---
0013 from PhysicsTools.PatAlgos.tools.coreTools import *
0014 removeCleaning(process)
0015 removeMCMatching(process, ['All'])
0016 removeSpecificPATObjects(process, ['Photons','Taus'])
0017 
0018 ## ---
0019 ## adjust content
0020 ## ---
0021 process.patMuons.usePV      = False
0022 process.patMuons.embedTrack = True
0023 
0024 ## define event content
0025 from PhysicsTools.PatAlgos.patEventContent_cff import patEventContentNoCleaning
0026 process.out.outputCommands = cms.untracked.vstring('drop *', *patEventContentNoCleaning ) 
0027 process.out.outputCommands+= [ 'keep edmTriggerResults_*_*_*',
0028                                'keep *_offlinePrimaryVertices_*_*'
0029                                ] 
0030 
0031 process.p = cms.Path(
0032     process.patDefaultSequence
0033     )