3 import RecoTauTag.RecoTau.RecoTauCleanerPlugins
as cleaners
4 import RecoTauTag.RecoTau.PFRecoTauDiscriminationByLeadingPionPtCut_cfi
as leadPion_cfi
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 = cms.EDProducer(
20 src = cms.InputTag(
"combinatoricRecoTaus"),
23 cleaners.leadPionFinding.clone(
25 "combinatoricRecoTausDiscriminationByLeadPionPtCut"),
28 src = cms.InputTag(
"combinatoricRecoTausDiscriminationByTaNC"),
31 cleaners.chargeIsolation,
32 cleaners.ecalIsolation,
36 combinatoricRecoTausDiscriminationByLeadPionPtCut = \
37 leadPion_cfi.pfRecoTauDiscriminationByLeadingPionPtCut.clone(
38 PFTauProducer = cms.InputTag(
"combinatoricRecoTaus")
41 combinatoricRecoTausDiscriminationByTaNC = cms.EDProducer(
42 "RecoTauMVADiscriminator",
43 discriminantOptions = cms.PSet(),
44 PFTauProducer = cms.InputTag(
"combinatoricRecoTaus"),
47 nCharged = cms.uint32(1),
48 nPiZeros = cms.uint32(0),
49 mvaLabel = cms.string(
"OneProngNoPiZero"),
52 nCharged = cms.uint32(1),
53 nPiZeros = cms.uint32(1),
54 mvaLabel = cms.string(
"OneProngOnePiZero"),
57 nCharged = cms.uint32(1),
58 nPiZeros = cms.uint32(2),
59 mvaLabel = cms.string(
"OneProngTwoPiZero"),
62 nCharged = cms.uint32(3),
63 nPiZeros = cms.uint32(0),
64 mvaLabel = cms.string(
"ThreeProngNoPiZero"),
67 nCharged = cms.uint32(3),
68 nPiZeros = cms.uint32(1),
69 mvaLabel = cms.string(
"ThreeProngOnePiZero"),
72 Prediscriminants = cms.PSet(
73 BooleanOperator = cms.string(
"and"),
75 cut = cms.double(0.5),
76 Producer = cms.InputTag(
77 "combinatoricRecoTausDiscriminationByLeadPionPtCut")
80 prefailValue = cms.double(-2.0),
81 dbLabel = cms.string(
''),
84 hpsTancRecoTausSequence = cms.Sequence(
85 combinatoricRecoTausDiscriminationByLeadPionPtCut +
86 combinatoricRecoTausDiscriminationByTaNC +