CMS 3D CMS Logo

slimmedMuons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 slimmedMuons = cms.EDProducer("PATMuonSlimmer",
4  src = cms.InputTag("selectedPatMuons"),
5  linkToPackedPFCandidates = cms.bool(True),
6  pfCandidates = cms.VInputTag(cms.InputTag("particleFlow")),
7  packedPFCandidates = cms.VInputTag(cms.InputTag("packedPFCandidates")),
8  saveTeVMuons = cms.string("pt > 100"), # you can put a cut to slim selectively, e.g. pt > 10
9  dropDirectionalIso = cms.string("0"),
10  dropPfP4 = cms.string("1"),
11  slimCaloVars = cms.string("1"),
12  slimKinkVars = cms.string("1"),
13  slimCaloMETCorr = cms.string("1"),
14  slimMatches = cms.string("1"),
15  segmentsMuonSelection = cms.string("pt > 50"), #segments are needed for EXO analysis looking at TOF and for very high pt from e.g. Z'
16  saveSegments = cms.bool(True),
17  modifyMuons = cms.bool(True),
18  modifierConfig = cms.PSet( modifications = cms.VPSet() )
19 )
20