1 import FWCore.ParameterSet.Config
as cms
3 import RecoTauTag.RecoTau.RecoTauCleanerPlugins
as cleaners
4 import RecoTauTag.RecoTau.PFRecoTauDiscriminationByLeadingPionPtCut_cfi
as leadPion_cfi
5 from RecoTauTag.RecoTau.RecoTauCleaner_cfi
import RecoTauCleaner
9 Configuration for HPSTaNC taus 11 Authors: Michailis Bachtis (UW Madison), Evan Friis (UC Davis) 13 Tau is reconstructed from all combinatoric pairs, using Pair/Strip PiZeros. 14 Decay mode is selected by the TaNC discriminator 18 hpsTancRecoTaus = RecoTauCleaner.clone(
19 src = cms.InputTag(
"combinatoricRecoTaus"),
22 cleaners.leadPionFinding.clone(
24 "combinatoricRecoTausDiscriminationByLeadPionPtCut"),
27 src = cms.InputTag(
"combinatoricRecoTausDiscriminationByTaNC"),
30 cleaners.chargeIsolation,
31 cleaners.ecalIsolation,
35 combinatoricRecoTausDiscriminationByLeadPionPtCut = \
36 leadPion_cfi.pfRecoTauDiscriminationByLeadingPionPtCut.clone(
37 PFTauProducer = cms.InputTag(
"combinatoricRecoTaus")
40 combinatoricRecoTausDiscriminationByTaNC = cms.EDProducer(
41 "RecoTauMVADiscriminator",
42 discriminantOptions = cms.PSet(),
43 PFTauProducer = cms.InputTag(
"combinatoricRecoTaus"),
46 nCharged = cms.uint32(1),
47 nPiZeros = cms.uint32(0),
48 mvaLabel = cms.string(
"OneProngNoPiZero"),
51 nCharged = cms.uint32(1),
52 nPiZeros = cms.uint32(1),
53 mvaLabel = cms.string(
"OneProngOnePiZero"),
56 nCharged = cms.uint32(1),
57 nPiZeros = cms.uint32(2),
58 mvaLabel = cms.string(
"OneProngTwoPiZero"),
61 nCharged = cms.uint32(3),
62 nPiZeros = cms.uint32(0),
63 mvaLabel = cms.string(
"ThreeProngNoPiZero"),
66 nCharged = cms.uint32(3),
67 nPiZeros = cms.uint32(1),
68 mvaLabel = cms.string(
"ThreeProngOnePiZero"),
71 Prediscriminants = cms.PSet(
72 BooleanOperator = cms.string(
"and"),
74 cut = cms.double(0.5),
75 Producer = cms.InputTag(
76 "combinatoricRecoTausDiscriminationByLeadPionPtCut")
79 prefailValue = cms.double(-2.0),
80 dbLabel = cms.string(
''),
83 hpsTancRecoTausSequence = cms.Sequence(
84 combinatoricRecoTausDiscriminationByLeadPionPtCut +
85 combinatoricRecoTausDiscriminationByTaNC +