CMS 3D CMS Logo

RecoTauTruthMatchedTauProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import RecoTauTag.RecoTau.RecoTauCleanerPlugins as cleaners
3 from RecoTauTag.RecoTau.RecoTauCleaner_cfi import RecoTauCleaner
4 
5 trueRecoTaus = RecoTauCleaner.clone(
6  src = cms.InputTag("combinatoricRecoTaus"),
7  cleaners = cms.VPSet(
8  cms.PSet(
9  name = cms.string("TruthDecayModeMatch"),
10  plugin = cms.string("RecoTauDecayModeTruthMatchPlugin"),
11  matching = cms.InputTag("recoTauTruthMatcher"),
12  ),
13  cms.PSet(
14  name = cms.string("TruthPtMatch"),
15  plugin = cms.string("RecoTauDistanceFromTruthPlugin"),
16  matching = cms.InputTag("recoTauTruthMatcher"),
17  ),
18  cleaners.tanc.clone(
19  src = cms.InputTag("combinatoricRecoTausDiscriminationByTaNC"),
20  ),
21  )
22 )
23