25 lst.append(
addCaloDiscriminator(process, tau,
"DiscriminationForChargedHiggsByLeadingTrackPtCut",
26 caloRecoTauDiscriminationByLeadingTrackPtCut.clone(
27 MinPtLeadingObject = cms.double(20.0),
31 caloRecoTauDiscriminationByCharge.clone()))
35 caloRecoTauDiscriminationByECALIsolation.clone()))
36 lst[-1].Prediscriminants.leadTrack.Producer = cms.InputTag(tau+
'DiscriminationByLeadingTrackFinding')
39 caloRecoTauDiscriminationAgainstMuon.clone()))
40 lst[-1].Prediscriminants.leadTrack.Producer = cms.InputTag(tau+
'DiscriminationByLeadingTrackFinding')
43 caloRecoTauDiscriminationByTauPolarization.clone()))
44 lst[-1].Prediscriminants.leadTrack.Producer = cms.InputTag(tau+
'DiscriminationByLeadingTrackFinding')
47 caloRecoTauDiscriminationByDeltaE.clone()))
48 lst[-1].Prediscriminants.leadTrack.Producer = cms.InputTag(tau+
'DiscriminationByLeadingTrackFinding')
51 caloRecoTauDiscriminationByInvMass.clone()))
52 lst[-1].Prediscriminants.leadTrack.Producer = cms.InputTag(tau+
'DiscriminationByLeadingTrackFinding')
55 caloRecoTauDiscriminationByFlightPathSignificance.clone()))
56 lst[-1].Prediscriminants.leadTrack.Producer = cms.InputTag(tau+
'DiscriminationByLeadingTrackFinding')
59 caloRecoTauDiscriminationByNProngs.clone(
60 nProngs = cms.uint32(1)
62 lst[-1].Prediscriminants.leadTrack.Producer = cms.InputTag(tau+
'DiscriminationByLeadingTrackFinding')
65 caloRecoTauDiscriminationByNProngs.clone(
66 nProngs = cms.uint32(3)
68 lst[-1].Prediscriminants.leadTrack.Producer = cms.InputTag(tau+
'DiscriminationByLeadingTrackFinding')
71 caloRecoTauDiscriminationByNProngs.clone(
72 nProngs = cms.uint32(3),
73 Prediscriminants = cms.PSet(
74 BooleanOperator = cms.string(
"and"),
76 Producer = cms.InputTag(tau+
'DiscriminationByLeadingTrackFinding'),
80 Producer = cms.InputTag(tau+
'DiscriminationByDeltaE'),
84 Producer = cms.InputTag(tau+
'DiscriminationByInvMass'),
87 flightPathSig = cms.PSet(
88 Producer = cms.InputTag(tau+
'DiscriminationByFlightPathSignificance'),
93 lst[-1].Prediscriminants.leadTrack.Producer = cms.InputTag(tau+
'DiscriminationByLeadingTrackFinding')
96 caloRecoTauDiscriminationByLeadingTrackFinding.clone(
97 Prediscriminants = cms.PSet(
98 BooleanOperator = cms.string(
"or"),
100 Producer = cms.InputTag(tau+
'DiscriminationBy1Prong'),
101 cut = cms.double(0.5)
103 threeProng = cms.PSet(
104 Producer = cms.InputTag(tau+
'DiscriminationForChargedHiggsBy3ProngCombined'),
105 cut = cms.double(0.5)
110 caloRecoTauDiscriminationByTrackIsolation.clone(
111 Prediscriminants = cms.PSet(
112 BooleanOperator = cms.string(
"and"),
113 leadingTrack = cms.PSet(
114 Producer = cms.InputTag(tau+
'DiscriminationForChargedHiggsByLeadingTrackPtCut'),
115 cut = cms.double(0.5)
118 Producer = cms.InputTag(tau+
'DiscriminationByCharge'),
119 cut = cms.double(0.5)
121 ecalIsolation = cms.PSet(
122 Producer = cms.InputTag(tau+
'DiscriminationForChargedHiggsByECALIsolation'),
123 cut = cms.double(0.5)
125 electronVeto = cms.PSet(
126 Producer = cms.InputTag(tau+
'DiscriminationAgainstElectron'),
127 cut = cms.double(0.5)
129 polarization = cms.PSet(
130 Producer = cms.InputTag(tau+
'DiscriminationByTauPolarization'),
131 cut = cms.double(0.5)
134 Producer = cms.InputTag(tau+
'DiscriminationForChargedHiggsBy1or3Prongs'),
135 cut = cms.double(0.5)
140 sequence = cms.Sequence()
144 process.__setattr__(tau+
"HplusDiscriminationSequence", sequence)
def addCaloDiscriminatorSequence(process, tau)
def addCaloDiscriminator(process, tau, name, module)