CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ## RECO-Truth standard matching criteria
00004 tauTruthMatchingReqs = cms.PSet(
00005     maxDPtRel = cms.double(10000000.0),                 #don't apply a Pt resolution cut
00006     resolveByMatchQuality = cms.bool(True),
00007     resolveAmbiguities = cms.bool(True),
00008     maxDeltaR = cms.double(0.15)
00009 )
00010 qcdTruthMatchingReqs = cms.PSet(
00011     maxDPtRel = cms.double(10000000.0),
00012     resolveByMatchQuality = cms.bool(True),
00013     resolveAmbiguities = cms.bool(True),
00014     maxDeltaR = cms.double(0.3)
00015 )
00016 
00017 #########################
00018 #  Tau Truth matchers   #
00019 #########################
00020 
00021 matchMCTausInsideOut = cms.EDProducer("PFTauDecayModeTruthMatcher",
00022     tauTruthMatchingReqs,
00023     src = cms.InputTag("makeMCTauDecayModes"),
00024     matched = cms.InputTag("pfRecoTauProducerInsideOut")
00025 )
00026 
00027 matchMCTausShrinkingCone = cms.EDProducer("PFTauDecayModeTruthMatcher",
00028     tauTruthMatchingReqs,
00029     src = cms.InputTag("makeMCTauDecayModes"),
00030     matched = cms.InputTag("shrinkingConePFTauProducer")
00031 )
00032 
00033 matchMCTaus = cms.Sequence(matchMCTausShrinkingCone)
00034 
00035 #########################
00036 #  QCD Truth matchers   #
00037 #########################
00038 
00039 matchMCQCDInsideOut = cms.EDProducer("PFTauDecayModeTruthMatcher",
00040     qcdTruthMatchingReqs,
00041     src = cms.InputTag("makeMCQCDTauDecayModes"),
00042     matched = cms.InputTag("pfRecoTauProducerInsideOut")
00043 )
00044 
00045 matchMCQCDShrinkingCone = cms.EDProducer("PFTauDecayModeTruthMatcher",
00046     qcdTruthMatchingReqs,
00047     src = cms.InputTag("makeMCQCDTauDecayModes"),
00048     matched = cms.InputTag("shrinkingConePFTauProducer")
00049 )
00050 
00051 matchMCQCD = cms.Sequence(matchMCQCDShrinkingCone)
00052