1 import FWCore.ParameterSet.Config
as cms
3 hltHpsSelectedPFTausMediumDitauWPDeepTau = cms.EDFilter(
"PFTauSelector",
4 src = cms.InputTag(
"hltHpsPFTauProducer" ),
5 cut = cms.string(
"pt > 35 && abs(eta) < 2.1" ),
6 discriminators = cms.VPSet(
8 discriminatorContainers = cms.VPSet(
9 cms.PSet( discriminator = cms.InputTag(
"hltHpsPFTauDeepTauProducer",
"VSjet" ),
10 rawValues = cms.vstring( ),
11 selectionCuts = cms.vdouble( ),
12 workingPoints = cms.vstring(
'double t1 = 0.649, t2 = 0.441, t3 = 0.05, x1 = 35, x2 = 100, x3 = 300; if (pt <= x1) return t1; if (pt >= x3) return t3; if (pt < x2) return (t2 - t1) / (x2 - x1) * (pt - x1) + t1; return (t3 - t2) / (x3 - x2) * (pt - x2) + t2;' )