CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoTauTag/TauTagTools/python/PFTauMatching_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 pfTauMatcher = cms.EDProducer(
00004     "PFTauMatcher",
00005     src = cms.InputTag("your_collection"),
00006     matched = cms.InputTag("hpsTancTaus"),
00007     mcPdgId     = cms.vint32(),                      # n/a
00008     mcStatus    = cms.vint32(),                      # n/a
00009     checkCharge = cms.bool(True),                    # Require charge is correct
00010     maxDeltaR   = cms.double(0.15),                  # Minimum deltaR for the match
00011     maxDPtRel   = cms.double(3.0),                   # Minimum deltaPt/Pt for the match
00012     resolveAmbiguities    = cms.bool(False),         # Forbid two RECO objects to match to the same GEN object
00013     resolveByMatchQuality = cms.bool(False),         # False = just match input in order; True = pick lowest deltaR pair first
00014 )
00015 
00016 candViewMatchedToPFTauRefSelector = cms.EDFilter(
00017     "CandViewPFTauMatchRefSelector",
00018     src = cms.InputTag("kinematicSignalJets"),
00019     matching = cms.InputTag("pfTauMatcher"),
00020     # keep events with no matches
00021     filter = cms.bool(False)
00022 )