1 import FWCore.ParameterSet.Config
as cms
12 looseShrikingConePFTaus = copy.deepcopy(shrinkingConePFTauProducer)
13 looseShrikingConePFTaus.LeadPFCand_minPt = cms.double(3.0)
15 thePFTauDiscByLeadTrkFinding = copy.deepcopy(pfRecoTauDiscriminationByLeadingTrackFinding)
16 thePFTauDiscByLeadTrkFinding.PFTauProducer = cms.InputTag(
'looseShrikingConePFTaus')
18 thePFTauDiscByIsolation = copy.deepcopy(pfRecoTauDiscriminationByIsolation)
19 thePFTauDiscByIsolation.PFTauProducer = cms.InputTag(
'looseShrikingConePFTaus')
20 thePFTauDiscByIsolation.Prediscriminants = cms.PSet(
21 BooleanOperator = cms.string(
"and"),
23 Producer = cms.InputTag(
'thePFTauDiscByLeadTrkFinding'),
28 PFTausSelected = cms.EDFilter(
"PFTauSelector",
29 src = cms.InputTag(
"looseShrikingConePFTaus"),
30 discriminators = cms.VPSet(
31 cms.PSet( discriminator=cms.InputTag(
"thePFTauDiscByIsolation"),
32 selectionCut=cms.double(0.5)
35 cut = cms.string(
'et > 15. && abs(eta) < 2.5')
38 PFTauSkimmed = cms.EDFilter(
"CandViewCountFilter",
39 src = cms.InputTag(
'PFTausSelected'),
40 minNumber = cms.uint32(1)
43 singlePfTauPt15QualitySeq = cms.Sequence(
44 looseShrikingConePFTaus+thePFTauDiscByLeadTrkFinding+thePFTauDiscByIsolation+PFTausSelected+PFTauSkimmed