Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-15 22:20:45

0001 ## import skeleton process
0002 from PhysicsTools.PatAlgos.patTemplate_cfg import *
0003 
0004 ## to run in scheduled mode uncomment the following lines
0005 #process.load("PhysicsTools.PatAlgos.patSequences_cff")
0006 #process.p = cms.Path(
0007 #    process.patDefaultSequence
0008 #    )
0009 
0010 ## to run in un-scheduled mode uncomment the following lines
0011 process.load("PhysicsTools.PatAlgos.producersLayer1.patCandidates_cff")
0012 patAlgosToolsTask.add(process.patCandidatesTask)
0013 # Temporary customize to the unit tests that fail due to old input samples
0014 process.patTaus.skipMissingTauID = True
0015 process.patMuons.addTriggerMatching = False
0016 
0017 process.load("PhysicsTools.PatAlgos.selectionLayer1.selectedPatCandidates_cff")
0018 patAlgosToolsTask.add(process.selectedPatCandidatesTask)
0019 
0020 #process.Tracer = cms.Service("Tracer")
0021 process.p = cms.Path(
0022     process.selectedPatCandidates
0023     )
0024 
0025 process.patLowPtElectrons.addElectronID = False
0026 process.patLowPtElectrons.electronSource = "gedGsfElectrons"
0027 process.patLowPtElectrons.genParticleMatch = "electronMatch"
0028 process.selectedPatLowPtElectrons.cut = "pt>99999."
0029 
0030 process.filteredDisplacedMuons.srcMuons = "muons"
0031 process.selectedPatDisplacedMuons.cut = "pt>99999."
0032 
0033 ## ------------------------------------------------------
0034 #  In addition you usually want to change the following
0035 #  parameters:
0036 ## ------------------------------------------------------
0037 #
0038 #   process.GlobalTag.globaltag =  ...    ##  (according to https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideFrontierConditions)
0039 #                                         ##
0040 from PhysicsTools.PatAlgos.patInputFiles_cff import filesRelValProdTTbarAODSIM
0041 process.source.fileNames = filesRelValProdTTbarAODSIM
0042 #                                         ##
0043 process.maxEvents.input = 100
0044 #                                         ##
0045 #   process.out.outputCommands = [ ... ]  ##  (e.g. taken from PhysicsTools/PatAlgos/python/patEventContent_cff.py)
0046 #                                         ##
0047 process.out.fileName = 'IntegrationTest.root'
0048 #                                         ##
0049 #   process.options.wantSummary = False   ##  (to suppress the long output at the end of the job)