4 from RecoTauTag.RecoTau.RecoTauFixedConeProducer_cfi
import fixedConeRecoTaus
7 Defines producers and discriminants for the "FixedCone" PFTau
9 The sequence provided @ the end of the file,
11 ProduceAndDiscriminateFixedConePFTaus
13 produces the fixed cone PFTau and all its associated discriminants
15 Signal/Iso cone parameters:
16 SignalCone for tracks - 0.07 in DR from lead object
17 SignalCone for ECAL/HCAL - 0.07 in DR from lead object
18 Isolation cone (all types) - 0.50 in DR from lead object
21 fixedConePFTauProducer = copy.deepcopy(fixedConeRecoTaus)
25 fixedConePFTauDecayModeProducer = copy.deepcopy(pfTauDecayMode)
26 fixedConePFTauDecayModeProducer.PFTauProducer =
'fixedConePFTauProducer'
30 fixedConePFTauDecayModeIndexProducer = copy.deepcopy(pfTauDecayModeIndexProducer)
31 fixedConePFTauDecayModeIndexProducer.PFTauProducer = cms.InputTag(
"fixedConePFTauProducer")
32 fixedConePFTauDecayModeIndexProducer.PFTauDecayModeProducer = cms.InputTag(
"fixedConePFTauDecayModeProducer")
52 fixedConePFTauDiscriminationByLeadingTrackFinding = copy.deepcopy(pfRecoTauDiscriminationByLeadingTrackFinding)
53 setTauSource(fixedConePFTauDiscriminationByLeadingTrackFinding,
'fixedConePFTauProducer')
55 fixedConePFTauDiscriminationByLeadingTrackPtCut = copy.deepcopy(pfRecoTauDiscriminationByLeadingTrackPtCut)
56 setTauSource(fixedConePFTauDiscriminationByLeadingTrackPtCut,
'fixedConePFTauProducer')
59 fixedConePFTauDiscriminationByLeadingPionPtCut = copy.deepcopy(pfRecoTauDiscriminationByLeadingPionPtCut)
60 setTauSource(fixedConePFTauDiscriminationByLeadingPionPtCut,
'fixedConePFTauProducer')
63 fixedConePFTauDiscriminationByIsolation = copy.deepcopy(pfRecoTauDiscriminationByIsolation)
64 setTauSource(fixedConePFTauDiscriminationByIsolation,
'fixedConePFTauProducer')
66 fixedConePFTauDiscriminationByTrackIsolation = copy.deepcopy(pfRecoTauDiscriminationByTrackIsolation)
67 setTauSource(fixedConePFTauDiscriminationByTrackIsolation,
'fixedConePFTauProducer')
69 fixedConePFTauDiscriminationByECALIsolation = copy.deepcopy(pfRecoTauDiscriminationByECALIsolation)
70 setTauSource(fixedConePFTauDiscriminationByECALIsolation,
'fixedConePFTauProducer')
73 fixedConePFTauDiscriminationByIsolationUsingLeadingPion = copy.deepcopy(pfRecoTauDiscriminationByIsolationUsingLeadingPion)
74 setTauSource(fixedConePFTauDiscriminationByIsolationUsingLeadingPion,
'fixedConePFTauProducer')
76 fixedConePFTauDiscriminationByTrackIsolationUsingLeadingPion = copy.deepcopy(pfRecoTauDiscriminationByTrackIsolationUsingLeadingPion)
77 setTauSource(fixedConePFTauDiscriminationByTrackIsolationUsingLeadingPion,
'fixedConePFTauProducer')
79 fixedConePFTauDiscriminationByECALIsolationUsingLeadingPion = copy.deepcopy(pfRecoTauDiscriminationByECALIsolationUsingLeadingPion)
80 setTauSource(fixedConePFTauDiscriminationByECALIsolationUsingLeadingPion,
'fixedConePFTauProducer')
83 fixedConePFTauDiscriminationAgainstElectron = copy.deepcopy(pfRecoTauDiscriminationAgainstElectron)
84 setTauSource(fixedConePFTauDiscriminationAgainstElectron,
'fixedConePFTauProducer')
86 fixedConePFTauDiscriminationAgainstMuon = copy.deepcopy(pfRecoTauDiscriminationAgainstMuon)
87 setTauSource(fixedConePFTauDiscriminationAgainstMuon,
'fixedConePFTauProducer')
89 produceAndDiscriminateFixedConePFTaus = cms.Sequence(
90 fixedConePFTauProducer*
91 fixedConePFTauDiscriminationByLeadingTrackFinding*
92 fixedConePFTauDiscriminationByLeadingTrackPtCut*
93 fixedConePFTauDiscriminationByLeadingPionPtCut*
94 fixedConePFTauDiscriminationByIsolation*
95 fixedConePFTauDiscriminationByTrackIsolation*
96 fixedConePFTauDiscriminationByECALIsolation*
97 fixedConePFTauDiscriminationByIsolationUsingLeadingPion*
98 fixedConePFTauDiscriminationByTrackIsolationUsingLeadingPion*
99 fixedConePFTauDiscriminationByECALIsolationUsingLeadingPion*
100 fixedConePFTauDiscriminationAgainstElectron*
101 fixedConePFTauDiscriminationAgainstMuon