1 import FWCore.ParameterSet.Config
as cms
4 from RecoTauTag.RecoTau.PFTauDiscriminatorLogicalAndProducer_cfi
import PFTauDiscriminatorLogicalAndProducer
6 lowptpfTauDiscrByTrackIsolation = pfRecoTauDiscriminationByTrackIsolation.clone()
7 lowptpfTauDiscrByTrackIsolation.PFTauProducer = cms.InputTag(
'pfLayer0Taus')
8 lowptpfTauDiscrByTrackIsolation.Prediscriminants.leadTrack.Producer = cms.InputTag(
'fixedConePFTauDiscriminationByLeadingTrackFinding')
9 lowptpfTauDiscrByTrackIsolation.ApplySumPtCut = cms.bool(
True)
10 lowptpfTauDiscrByTrackIsolation.ApplyRelativeSumPtCut = cms.bool(
False)
11 lowptpfTauDiscrByTrackIsolation.maximumSumPtCut = cms.double(1.0)
12 lowptpfTauDiscrByTrackIsolation.applyOccupancyCut = cms.bool(
False)
13 lowptpfTauDiscrByTrackIsolation.qualityCuts.isolationQualityCuts.minTrackPt=cms.double(0.0)
15 lowptpfTauDiscrByRelTrackIsolation = pfRecoTauDiscriminationByTrackIsolation.clone()
16 lowptpfTauDiscrByRelTrackIsolation.PFTauProducer = cms.InputTag(
'pfLayer0Taus')
17 lowptpfTauDiscrByRelTrackIsolation.Prediscriminants.leadTrack.Producer = cms.InputTag(
'fixedConePFTauDiscriminationByLeadingTrackFinding')
18 lowptpfTauDiscrByRelTrackIsolation.ApplySumPtCut = cms.bool(
False)
19 lowptpfTauDiscrByRelTrackIsolation.ApplyRelativeSumPtCut = cms.bool(
True)
20 lowptpfTauDiscrByRelTrackIsolation.maximumSumPtCut = cms.double(0.05)
21 lowptpfTauDiscrByRelTrackIsolation.applyOccupancyCut = cms.bool(
True)
22 lowptpfTauDiscrByRelTrackIsolation.qualityCuts.isolationQualityCuts.minTrackPt=cms.double(0.0)
25 pfRecoTauByCharge = pfRecoTauDiscriminationByCharge.clone()
26 pfRecoTauByCharge.PFTauProducer = cms.InputTag(
'pfLayer0Taus')
27 pfRecoTauByCharge.ApplyOneOrThreeProngCut = cms.bool(
True)
30 DiscrLowPtTau = PFTauDiscriminatorLogicalAndProducer.clone(
31 PFTauProducer = cms.InputTag(
'pfLayer0Taus'),
32 Prediscriminants = cms.PSet(
33 BooleanOperator = cms.string(
"and"),
34 isCharge = cms.PSet( Producer = cms.InputTag(
'pfRecoTauByCharge'),
37 lowptrel = cms.PSet( Producer = cms.InputTag(
'lowptpfTauDiscrByRelTrackIsolation'),
40 lowpt = cms.PSet( Producer = cms.InputTag(
'lowptpfTauDiscrByRelTrackIsolation'),
44 PassValue = cms.double(1.),
45 FailValue = cms.double(0.)
49 TauDiscrForLowPt = cms.Sequence(
51 lowptpfTauDiscrByRelTrackIsolation+
52 lowptpfTauDiscrByTrackIsolation+