From e2c2781fe5de5f9280d0f8b0f3aca6f5d2df7267 Mon Sep 17 00:00:00 2001 From: hsert Date: Sun, 9 Jul 2023 13:43:05 +0200 Subject: [PATCH] First versions of ditau HLT paths for Phase2 with charged isolation and DeepTau Isolation (using Run2 training) are added. --- .../modules/hltAK4PFJetsForTaus_cfi.py | 87 +++++++++++++ ...ltFixedGridRhoProducerFastjetAllTau_cfi.py | 7 ++ .../modules/hltHpsCombinatoricRecoTaus_cfi.py | 116 ++++++++++++++++++ ...psDoublePFTau35MediumDitauWPDeepTau_cfi.py | 14 +++ ...Tau40TrackPt1MediumChargedIsolation_cfi.py | 14 +++ ...sPFTauBasicDiscriminatorsForDeepTau_cfi.py | 106 ++++++++++++++++ ...auBasicDiscriminatorsdR03ForDeepTau_cfi.py | 106 ++++++++++++++++ .../modules/hltHpsPFTauDeepTauProducer_cfi.py | 33 +++++ ...criminationByDecayModeFindingNewDMs_cfi.py | 101 +++++++++++++++ ...sOrRelChargedIsolationDiscriminator_cfi.py | 18 +++ ...soluteChargedIsolationDiscriminator_cfi.py | 95 ++++++++++++++ ...lativeChargedIsolationDiscriminator_cfi.py | 95 ++++++++++++++ ...FTauPrimaryVertexProducerForDeepTau_cfi.py | 62 ++++++++++ .../hltHpsPFTauProducerSansRefs_cfi.py | 39 ++++++ .../modules/hltHpsPFTauProducer_cfi.py | 5 + ...auSecondaryVertexProducerForDeepTau_cfi.py | 5 + ...ltHpsPFTauTrackFindingDiscriminator_cfi.py | 8 ++ .../hltHpsPFTauTrackPt1Discriminator_cfi.py | 8 ++ .../HLT_75e33/modules/hltHpsPFTauTrack_cfi.py | 14 +++ ...ransverseImpactParametersForDeepTau_cfi.py | 9 ++ ...sSelectedPFTausMediumDitauWPDeepTau_cfi.py | 15 +++ .../hltHpsSelectedPFTausTrackFinding_cfi.py | 13 ++ ...FTausTrackPt1MediumChargedIsolation_cfi.py | 16 +++ .../hltHpsSelectionDiscriminator_cfi.py | 102 +++++++++++++++ ...tsRecoTauChargedHadronsWithNeutrals_cfi.py | 115 +++++++++++++++++ .../HLT_75e33/modules/hltPFTauPiZeros_cfi.py | 49 ++++++++ .../modules/hltPreDoublePFTauHPS_cfi.py | 7 ++ .../modules/hltTauPFJets08Region_cfi.py | 11 ++ ...leMediumChargedIsoPFTauHPS40_eta2p1_cfi.py | 25 ++++ ...oubleMediumDeepTauPFTauHPS35_eta2p1_cfi.py | 25 ++++ .../HLTHPSDeepTauPFTauSequence_cfi.py | 21 ++++ ...HLTHPSMediumChargedIsoPFTauSequence_cfi.py | 11 ++ .../HLT_75e33/sequences/HLTPFTauHPS_cfi.py | 27 ++++ .../Configuration/python/HLT_75e33_cff.py | 7 ++ 34 files changed, 1386 insertions(+) create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltAK4PFJetsForTaus_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltFixedGridRhoProducerFastjetAllTau_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsCombinatoricRecoTaus_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsDoublePFTau35MediumDitauWPDeepTau_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsDoublePFTau40TrackPt1MediumChargedIsolation_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauBasicDiscriminatorsForDeepTau_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauBasicDiscriminatorsdR03ForDeepTau_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauDeepTauProducer_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauDiscriminationByDecayModeFindingNewDMs_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumAbsOrRelChargedIsolationDiscriminator_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumAbsoluteChargedIsolationDiscriminator_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumRelativeChargedIsolationDiscriminator_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauPrimaryVertexProducerForDeepTau_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauProducerSansRefs_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauProducer_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauSecondaryVertexProducerForDeepTau_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrackFindingDiscriminator_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrackPt1Discriminator_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrack_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTransverseImpactParametersForDeepTau_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausMediumDitauWPDeepTau_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausTrackFinding_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausTrackPt1MediumChargedIsolation_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectionDiscriminator_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsTauPFJetsRecoTauChargedHadronsWithNeutrals_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltPFTauPiZeros_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltPreDoublePFTauHPS_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltTauPFJets08Region_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/paths/HLT_DoubleMediumChargedIsoPFTauHPS40_eta2p1_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/paths/HLT_DoubleMediumDeepTauPFTauHPS35_eta2p1_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/sequences/HLTHPSDeepTauPFTauSequence_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/sequences/HLTHPSMediumChargedIsoPFTauSequence_cfi.py create mode 100644 HLTrigger/Configuration/python/HLT_75e33/sequences/HLTPFTauHPS_cfi.py diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltAK4PFJetsForTaus_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltAK4PFJetsForTaus_cfi.py new file mode 100644 index 0000000000000..560c950031956 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltAK4PFJetsForTaus_cfi.py @@ -0,0 +1,87 @@ +import FWCore.ParameterSet.Config as cms + +hltAK4PFJetsForTaus = cms.EDProducer( "FastjetJetProducer", + useMassDropTagger = cms.bool( False ), + useFiltering = cms.bool( False ), + useDynamicFiltering = cms.bool( False ), + useTrimming = cms.bool( False ), + usePruning = cms.bool( False ), + useCMSBoostedTauSeedingAlgorithm = cms.bool( False ), + useKtPruning = cms.bool( False ), + useConstituentSubtraction = cms.bool( False ), + useSoftDrop = cms.bool( False ), + correctShape = cms.bool( False ), + UseOnlyVertexTracks = cms.bool( False ), + UseOnlyOnePV = cms.bool( False ), + muCut = cms.double( -1.0 ), + yCut = cms.double( -1.0 ), + rFilt = cms.double( -1.0 ), + rFiltFactor = cms.double( -1.0 ), + trimPtFracMin = cms.double( -1.0 ), + zcut = cms.double( -1.0 ), + rcut_factor = cms.double( -1.0 ), + csRho_EtaMax = cms.double( -1.0 ), + csRParam = cms.double( -1.0 ), + beta = cms.double( -1.0 ), + R0 = cms.double( -1.0 ), + gridMaxRapidity = cms.double( -1.0 ), + gridSpacing = cms.double( -1.0 ), + DzTrVtxMax = cms.double( 0.0 ), + DxyTrVtxMax = cms.double( 0.0 ), + MaxVtxZ = cms.double( 15.0 ), + subjetPtMin = cms.double( -1.0 ), + muMin = cms.double( -1.0 ), + muMax = cms.double( -1.0 ), + yMin = cms.double( -1.0 ), + yMax = cms.double( -1.0 ), + dRMin = cms.double( -1.0 ), + dRMax = cms.double( -1.0 ), + maxDepth = cms.int32( -1 ), + nFilt = cms.int32( -1 ), + MinVtxNdof = cms.int32( 0 ), + src = cms.InputTag( "particleFlowTmp" ), + srcPVs = cms.InputTag( "hltPhase2PixelVertices" ), + jetType = cms.string( "PFJet" ), + jetAlgorithm = cms.string( "AntiKt" ), + rParam = cms.double( 0.4 ), + inputEtMin = cms.double( 0.0 ), + inputEMin = cms.double( 0.0 ), + jetPtMin = cms.double( 0.0 ), + doPVCorrection = cms.bool( False ), + doAreaFastjet = cms.bool( False ), + doRhoFastjet = cms.bool( False ), + doPUOffsetCorr = cms.bool( False ), + puPtMin = cms.double( 10.0 ), + nSigmaPU = cms.double( 1.0 ), + radiusPU = cms.double( 0.4 ), + subtractorName = cms.string( "" ), + useExplicitGhosts = cms.bool( False ), + doAreaDiskApprox = cms.bool( True ), + voronoiRfact = cms.double( -9.0 ), + Rho_EtaMax = cms.double( 4.4 ), + Ghost_EtaMax = cms.double( 6.0 ), + Active_Area_Repeats = cms.int32( 5 ), + GhostArea = cms.double( 0.01 ), + restrictInputs = cms.bool( False ), + maxInputs = cms.uint32( 1 ), + writeCompound = cms.bool( False ), + writeJetsWithConst = cms.bool( False ), + doFastJetNonUniform = cms.bool( False ), + useDeterministicSeed = cms.bool( True ), + minSeed = cms.uint32( 0 ), + verbosity = cms.int32( 0 ), + puWidth = cms.double( 0.0 ), + nExclude = cms.uint32( 0 ), + maxBadEcalCells = cms.uint32( 9999999 ), + maxBadHcalCells = cms.uint32( 9999999 ), + maxProblematicEcalCells = cms.uint32( 9999999 ), + maxProblematicHcalCells = cms.uint32( 9999999 ), + maxRecoveredEcalCells = cms.uint32( 9999999 ), + maxRecoveredHcalCells = cms.uint32( 9999999 ), + puCenters = cms.vdouble( ), + applyWeight = cms.bool( False ), + srcWeights = cms.InputTag( "" ), + minimumTowersFraction = cms.double( 0.0 ), + jetCollInstanceName = cms.string( "" ), + sumRecHits = cms.bool( False ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltFixedGridRhoProducerFastjetAllTau_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltFixedGridRhoProducerFastjetAllTau_cfi.py new file mode 100644 index 0000000000000..e694da9eb74af --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltFixedGridRhoProducerFastjetAllTau_cfi.py @@ -0,0 +1,7 @@ +import FWCore.ParameterSet.Config as cms + +hltFixedGridRhoProducerFastjetAllTau = cms.EDProducer( "FixedGridRhoProducerFastjet", + pfCandidatesTag = cms.InputTag( "particleFlowTmp" ), + maxRapidity = cms.double( 5.0 ), + gridSpacing = cms.double( 0.55 ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsCombinatoricRecoTaus_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsCombinatoricRecoTaus_cfi.py new file mode 100644 index 0000000000000..f2f94a482769c --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsCombinatoricRecoTaus_cfi.py @@ -0,0 +1,116 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsCombinatoricRecoTaus = cms.EDProducer( "RecoTauProducer", + piZeroSrc = cms.InputTag( "hltPFTauPiZeros" ), + jetRegionSrc = cms.InputTag( "hltTauPFJets08Region" ), + maxJetAbsEta = cms.double( 2.5 ), + outputSelection = cms.string( "leadPFChargedHadrCand().isNonnull()" ), + chargedHadronSrc = cms.InputTag( "hltHpsTauPFJetsRecoTauChargedHadronsWithNeutrals" ), + minJetPt = cms.double( 14.0 ), + jetSrc = cms.InputTag( "hltAK4PFJets" ), + builders = cms.VPSet( + cms.PSet( decayModes = cms.VPSet( + cms.PSet( maxPiZeros = cms.uint32( 0 ), + maxTracks = cms.uint32( 6 ), + nPiZeros = cms.uint32( 0 ), + nCharged = cms.uint32( 1 ) + ), + cms.PSet( maxPiZeros = cms.uint32( 6 ), + maxTracks = cms.uint32( 6 ), + nCharged = cms.uint32( 1 ), + nPiZeros = cms.uint32( 1 ) + ), + cms.PSet( maxPiZeros = cms.uint32( 5 ), + maxTracks = cms.uint32( 6 ), + nCharged = cms.uint32( 1 ), + nPiZeros = cms.uint32( 2 ) + ), + cms.PSet( maxPiZeros = cms.uint32( 0 ), + maxTracks = cms.uint32( 6 ), + nCharged = cms.uint32( 2 ), + nPiZeros = cms.uint32( 0 ) + ), + cms.PSet( maxPiZeros = cms.uint32( 3 ), + maxTracks = cms.uint32( 6 ), + nCharged = cms.uint32( 2 ), + nPiZeros = cms.uint32( 1 ) + ), + cms.PSet( maxPiZeros = cms.uint32( 0 ), + maxTracks = cms.uint32( 6 ), + nCharged = cms.uint32( 3 ), + nPiZeros = cms.uint32( 0 ) + ), + cms.PSet( maxPiZeros = cms.uint32( 3 ), + maxTracks = cms.uint32( 6 ), + nCharged = cms.uint32( 3 ), + nPiZeros = cms.uint32( 1 ) + ) + ), + isolationConeSize = cms.double( 0.5 ), + minAbsPhotonSumPt_insideSignalCone = cms.double( 2.5 ), + minAbsPhotonSumPt_outsideSignalCone = cms.double( 1.0E9 ), + minRelPhotonSumPt_insideSignalCone = cms.double( 0.1 ), + minRelPhotonSumPt_outsideSignalCone = cms.double( 1.0E9 ), + name = cms.string( "combinatoric" ), + pfCandSrc = cms.InputTag( "particleFlowTmp" ), + plugin = cms.string( "RecoTauBuilderCombinatoricPlugin" ), + qualityCuts = cms.PSet( + isolationQualityCuts = cms.PSet( + maxDeltaZ = cms.double( 0.2 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.03 ), + minGammaEt = cms.double( 1.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackPt = cms.double( 1.0 ), + minTrackVertexWeight = cms.double( -1.0 ) + ), + leadingTrkOrPFCandOption = cms.string( "leadPFCand" ), + primaryVertexSrc = cms.InputTag( "hltPhase2PixelVertices" ), + pvFindingAlgo = cms.string( "closestInDeltaZ" ), + recoverLeadingTrk = cms.bool( False ), + signalQualityCuts = cms.PSet( + maxDeltaZ = cms.double( 0.4 ), + maxTrackChi2 = cms.double( 1000.0 ), + maxTransverseImpactParameter = cms.double( 0.2 ), + minGammaEt = cms.double( 0.5 ), + minNeutralHadronEt = cms.double( 30.0 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackPt = cms.double( 0.5 ), + minTrackVertexWeight = cms.double( -1.0 ) + ), + vertexTrackFiltering = cms.bool( False ), + vxAssocQualityCuts = cms.PSet( + maxTrackChi2 = cms.double( 1000.0 ), + maxTransverseImpactParameter = cms.double( 0.2 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackPt = cms.double( 0.5 ), + minTrackVertexWeight = cms.double( -1.0 ) + ) + ), + signalConeSize = cms.string( "max(min(0.1, 3.0/pt()), 0.05)" ) + ) + ), + buildNullTaus = cms.bool( False ), + verbosity = cms.int32( 0 ), + modifiers = cms.VPSet( + cms.PSet( DataType = cms.string( "AOD" ), + EcalStripSumE_deltaEta = cms.double( 0.03 ), + EcalStripSumE_deltaPhiOverQ_maxValue = cms.double( 0.5 ), + EcalStripSumE_deltaPhiOverQ_minValue = cms.double( -0.1 ), + EcalStripSumE_minClusEnergy = cms.double( 0.1 ), + ElectronPreIDProducer = cms.InputTag( "elecpreid" ), + maximumForElectrionPreIDOutput = cms.double( -0.1 ), + name = cms.string( "elec_rej" ), + plugin = cms.string( "RecoTauElectronRejectionPlugin" ), + ElecPreIDLeadTkMatch_maxDR = cms.double( 0.01 ) + ), + cms.PSet( name = cms.string( "tau_mass" ), + plugin = cms.string( "PFRecoTauMassPlugin" ), + verbosity = cms.int32( 0 ) + ) + ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsDoublePFTau35MediumDitauWPDeepTau_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsDoublePFTau35MediumDitauWPDeepTau_cfi.py new file mode 100644 index 0000000000000..dde146d967682 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsDoublePFTau35MediumDitauWPDeepTau_cfi.py @@ -0,0 +1,14 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsDoublePFTau35MediumDitauWPDeepTau = cms.EDFilter( "HLT1PFTau", + saveTags = cms.bool( True ), + inputTag = cms.InputTag( "hltHpsSelectedPFTausMediumDitauWPDeepTau" ), + triggerType = cms.int32( 84 ), + MinE = cms.double( -1.0 ), + MinPt = cms.double( 35.0 ), + MinMass = cms.double( -1.0 ), + MaxMass = cms.double( -1.0 ), + MinEta = cms.double( -1.0 ), + MaxEta = cms.double( 2.1 ), + MinN = cms.int32( 2 ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsDoublePFTau40TrackPt1MediumChargedIsolation_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsDoublePFTau40TrackPt1MediumChargedIsolation_cfi.py new file mode 100644 index 0000000000000..68de421b55dc7 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsDoublePFTau40TrackPt1MediumChargedIsolation_cfi.py @@ -0,0 +1,14 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsDoublePFTau40TrackPt1MediumChargedIsolation = cms.EDFilter( "HLT1PFTau", + saveTags = cms.bool( True ), + inputTag = cms.InputTag( "hltHpsSelectedPFTausTrackPt1MediumChargedIsolation" ), + triggerType = cms.int32( 84 ), + MinE = cms.double( -1.0 ), + MinPt = cms.double( 40.0 ), + MinMass = cms.double( -1.0 ), + MaxMass = cms.double( -1.0 ), + MinEta = cms.double( -1.0 ), + MaxEta = cms.double( 2.1 ), + MinN = cms.int32( 2 ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauBasicDiscriminatorsForDeepTau_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauBasicDiscriminatorsForDeepTau_cfi.py new file mode 100644 index 0000000000000..cda6da102baf1 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauBasicDiscriminatorsForDeepTau_cfi.py @@ -0,0 +1,106 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauBasicDiscriminatorsForDeepTau = cms.EDProducer( "PFRecoTauDiscriminationByIsolationContainer", + PFTauProducer = cms.InputTag( "hltHpsPFTauProducer" ), + qualityCuts = cms.PSet( + signalQualityCuts = cms.PSet( + minTrackPt = cms.double( 0.5 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.1 ), + maxDeltaZ = cms.double( 0.4 ), + maxDeltaZToLeadTrack = cms.double( -1.0 ), + minTrackVertexWeight = cms.double( -1.0 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackHits = cms.uint32( 3 ), + minGammaEt = cms.double( 1.0 ), + minNeutralHadronEt = cms.double( 30.0 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + isolationQualityCuts = cms.PSet( + minTrackPt = cms.double( 1.0 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.03 ), + maxDeltaZ = cms.double( 0.2 ), + maxDeltaZToLeadTrack = cms.double( -1.0 ), + minTrackVertexWeight = cms.double( -1.0 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackHits = cms.uint32( 8 ), + minGammaEt = cms.double( 1.5 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + vxAssocQualityCuts = cms.PSet( + minTrackPt = cms.double( 0.5 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.1 ), + minTrackVertexWeight = cms.double( -1.0 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackHits = cms.uint32( 3 ), + minGammaEt = cms.double( 1.0 ) + ), + primaryVertexSrc = cms.InputTag( "hltPhase2PixelVertices" ), + pvFindingAlgo = cms.string( "closestInDeltaZ" ), + vertexTrackFiltering = cms.bool( False ), + recoverLeadingTrk = cms.bool( False ), + leadingTrkOrPFCandOption = cms.string( "leadPFCand" ) + ), + minTauPtForNoIso = cms.double( -99.0 ), + vertexSrc = cms.InputTag( "hltPhase2PixelVertices" ), + rhoConeSize = cms.double( 0.5 ), + rhoProducer = cms.InputTag( "hltFixedGridRhoProducerFastjetAllTau" ), + footprintCorrections = cms.VPSet( + cms.PSet( selection = cms.string( "decayMode() = 0" ), + offset = cms.string( "0.0" ) + ), + cms.PSet( selection = cms.string( "decayMode() = 1 || decayMode() = 2" ), + offset = cms.string( "0.0" ) + ), + cms.PSet( selection = cms.string( "decayMode() = 5" ), + offset = cms.string( "2.7" ) + ), + cms.PSet( selection = cms.string( "decayMode() = 6" ), + offset = cms.string( "0.0" ) + ), + cms.PSet( selection = cms.string( "decayMode() = 10" ), + offset = cms.string( "max(2.0, 0.22*pt() - 2.0)" ) + ) + ), + deltaBetaFactor = cms.string( "0.2000" ), + applyFootprintCorrection = cms.bool( False ), + Prediscriminants = cms.PSet( BooleanOperator = cms.string( "and" ) ), + verbosity = cms.int32( 0 ), + deltaBetaPUTrackPtCutOverride = cms.bool( True ), + applyRhoCorrection = cms.bool( False ), + WeightECALIsolation = cms.double( 1.0 ), + rhoUEOffsetCorrection = cms.double( 1.0 ), + deltaBetaPUTrackPtCutOverride_val = cms.double( 0.5 ), + isoConeSizeForDeltaBeta = cms.double( 0.8 ), + customOuterCone = cms.double( 0.5 ), + particleFlowSrc = cms.InputTag( "particleFlowTmp" ), + IDdefinitions = cms.VPSet( + cms.PSet( IDname = cms.string( "ChargedIsoPtSum" ), + ApplyDiscriminationByTrackerIsolation = cms.bool( True ), + storeRawSumPt = cms.bool( True ) + ), + cms.PSet( IDname = cms.string( "NeutralIsoPtSum" ), + ApplyDiscriminationByECALIsolation = cms.bool( True ), + storeRawSumPt = cms.bool( True ) + ), + cms.PSet( IDname = cms.string( "NeutralIsoPtSumWeight" ), + ApplyDiscriminationByWeightedECALIsolation = cms.bool( True ), + storeRawSumPt = cms.bool( True ), + UseAllPFCandsForWeights = cms.bool( True ) + ), + cms.PSet( IDname = cms.string( "TauFootprintCorrection" ), + storeRawFootprintCorrection = cms.bool( True ) + ), + cms.PSet( IDname = cms.string( "PhotonPtSumOutsideSignalCone" ), + storeRawPhotonSumPt_outsideSignalCone = cms.bool( True ) + ), + cms.PSet( IDname = cms.string( "PUcorrPtSum" ), + applyDeltaBetaCorrection = cms.bool( True ), + storeRawPUsumPt = cms.bool( True ) + ) + ), + IDWPdefinitions = cms.VPSet( + ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauBasicDiscriminatorsdR03ForDeepTau_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauBasicDiscriminatorsdR03ForDeepTau_cfi.py new file mode 100644 index 0000000000000..80195c7168deb --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauBasicDiscriminatorsdR03ForDeepTau_cfi.py @@ -0,0 +1,106 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauBasicDiscriminatorsdR03ForDeepTau = cms.EDProducer( "PFRecoTauDiscriminationByIsolationContainer", + PFTauProducer = cms.InputTag( "hltHpsPFTauProducer" ), + qualityCuts = cms.PSet( + signalQualityCuts = cms.PSet( + minTrackPt = cms.double( 0.5 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.1 ), + maxDeltaZ = cms.double( 0.4 ), + maxDeltaZToLeadTrack = cms.double( -1.0 ), + minTrackVertexWeight = cms.double( -1.0 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackHits = cms.uint32( 3 ), + minGammaEt = cms.double( 1.0 ), + minNeutralHadronEt = cms.double( 30.0 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + isolationQualityCuts = cms.PSet( + minTrackPt = cms.double( 1.0 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.03 ), + maxDeltaZ = cms.double( 0.2 ), + maxDeltaZToLeadTrack = cms.double( -1.0 ), + minTrackVertexWeight = cms.double( -1.0 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackHits = cms.uint32( 8 ), + minGammaEt = cms.double( 1.5 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + vxAssocQualityCuts = cms.PSet( + minTrackPt = cms.double( 0.5 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.1 ), + minTrackVertexWeight = cms.double( -1.0 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackHits = cms.uint32( 3 ), + minGammaEt = cms.double( 1.0 ) + ), + primaryVertexSrc = cms.InputTag( "hltPhase2PixelVertices" ), + pvFindingAlgo = cms.string( "closestInDeltaZ" ), + vertexTrackFiltering = cms.bool( False ), + recoverLeadingTrk = cms.bool( False ), + leadingTrkOrPFCandOption = cms.string( "leadPFCand" ) + ), + minTauPtForNoIso = cms.double( -99.0 ), + vertexSrc = cms.InputTag( "hltPhase2PixelVertices" ), + rhoConeSize = cms.double( 0.5 ), + rhoProducer = cms.InputTag( "hltFixedGridRhoProducerFastjetAllTau" ), + footprintCorrections = cms.VPSet( + cms.PSet( selection = cms.string( "decayMode() = 0" ), + offset = cms.string( "0.0" ) + ), + cms.PSet( selection = cms.string( "decayMode() = 1 || decayMode() = 2" ), + offset = cms.string( "0.0" ) + ), + cms.PSet( selection = cms.string( "decayMode() = 5" ), + offset = cms.string( "2.7" ) + ), + cms.PSet( selection = cms.string( "decayMode() = 6" ), + offset = cms.string( "0.0" ) + ), + cms.PSet( selection = cms.string( "decayMode() = 10" ), + offset = cms.string( "max(2.0, 0.22*pt() - 2.0)" ) + ) + ), + deltaBetaFactor = cms.string( "0.2000" ), + applyFootprintCorrection = cms.bool( False ), + Prediscriminants = cms.PSet( BooleanOperator = cms.string( "and" ) ), + verbosity = cms.int32( 0 ), + deltaBetaPUTrackPtCutOverride = cms.bool( True ), + applyRhoCorrection = cms.bool( False ), + WeightECALIsolation = cms.double( 1.0 ), + rhoUEOffsetCorrection = cms.double( 1.0 ), + deltaBetaPUTrackPtCutOverride_val = cms.double( 0.5 ), + isoConeSizeForDeltaBeta = cms.double( 0.8 ), + customOuterCone = cms.double( 0.3 ), + particleFlowSrc = cms.InputTag( "particleFlowTmp" ), + IDdefinitions = cms.VPSet( + cms.PSet( IDname = cms.string( "ChargedIsoPtSum" ), + ApplyDiscriminationByTrackerIsolation = cms.bool( True ), + storeRawSumPt = cms.bool( True ) + ), + cms.PSet( IDname = cms.string( "NeutralIsoPtSum" ), + ApplyDiscriminationByECALIsolation = cms.bool( True ), + storeRawSumPt = cms.bool( True ) + ), + cms.PSet( IDname = cms.string( "NeutralIsoPtSumWeight" ), + ApplyDiscriminationByWeightedECALIsolation = cms.bool( True ), + storeRawSumPt = cms.bool( True ), + UseAllPFCandsForWeights = cms.bool( True ) + ), + cms.PSet( IDname = cms.string( "TauFootprintCorrection" ), + storeRawFootprintCorrection = cms.bool( True ) + ), + cms.PSet( IDname = cms.string( "PhotonPtSumOutsideSignalCone" ), + storeRawPhotonSumPt_outsideSignalCone = cms.bool( True ) + ), + cms.PSet( IDname = cms.string( "PUcorrPtSum" ), + applyDeltaBetaCorrection = cms.bool( True ), + storeRawPUsumPt = cms.bool( True ) + ) + ), + IDWPdefinitions = cms.VPSet( + ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauDeepTauProducer_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauDeepTauProducer_cfi.py new file mode 100644 index 0000000000000..63011520f5598 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauDeepTauProducer_cfi.py @@ -0,0 +1,33 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauDeepTauProducer = cms.EDProducer( "DeepTauId", + electrons = cms.InputTag( "default" ), + muons = cms.InputTag( "default" ), + taus = cms.InputTag( "hltHpsPFTauProducer" ), + pfcands = cms.InputTag( "particleFlowTmp" ), + vertices = cms.InputTag( "hltPhase2PixelVertices" ), + rho = cms.InputTag( "hltFixedGridRhoProducerFastjetAllTau" ), + graph_file = cms.vstring( 'core:RecoTauTag/TrainingFiles/data/DeepTauId/deepTau_2017v2p6_e6_core.pb', + 'inner:RecoTauTag/TrainingFiles/data/DeepTauId/deepTau_2017v2p6_e6_inner.pb', + 'outer:RecoTauTag/TrainingFiles/data/DeepTauId/deepTau_2017v2p6_e6_outer.pb' ), + mem_mapped = cms.bool( False ), + year = cms.uint32( 2017 ), + version = cms.uint32( 2 ), + sub_version = cms.uint32( 1 ), + debug_level = cms.int32( 0 ), + disable_dxy_pca = cms.bool( True ), + disable_hcalFraction_workaround = cms.bool( False ), + disable_CellIndex_workaround = cms.bool( False ), + save_inputs = cms.bool( False ), + is_online = cms.bool( True ), + VSeWP = cms.vstring( '-1.' ), + VSmuWP = cms.vstring( '-1.' ), + VSjetWP = 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;', + 'double t1 = 0.7045, t2 = 0.7029, t3 = 0.05, x1 = 30, 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;', + 'double t1 = 0.5419, t2 = 0.4837, t3 = 0.050, x1 = 27, 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;', + 'double t1 = 0.6072, t2 = 0.125, x1 = 180, x2 = 500; if (pt <= x1) return t1; if (pt >= x2) return t2; return (t2 - t1) / (x2 - x1) * (pt - x1) + t1;' ), + basicTauDiscriminators = cms.untracked.InputTag( "hltHpsPFTauBasicDiscriminatorsForDeepTau" ), + basicTauDiscriminatorsdR03 = cms.untracked.InputTag( "hltHpsPFTauBasicDiscriminatorsdR03ForDeepTau" ), + pfTauTransverseImpactParameters = cms.InputTag( "hltHpsPFTauTransverseImpactParametersForDeepTau" ), + Prediscriminants = cms.PSet( BooleanOperator = cms.string( "and" ) ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauDiscriminationByDecayModeFindingNewDMs_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauDiscriminationByDecayModeFindingNewDMs_cfi.py new file mode 100644 index 0000000000000..da9bb46af580c --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauDiscriminationByDecayModeFindingNewDMs_cfi.py @@ -0,0 +1,101 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauDiscriminationByDecayModeFindingNewDMs = cms.EDProducer( "PFRecoTauDiscriminationByHPSSelection", + PFTauProducer = cms.InputTag( "hltHpsPFTauProducer" ), + verbosity = cms.int32( 0 ), + minTauPt = cms.double( 18.0 ), + Prediscriminants = cms.PSet( BooleanOperator = cms.string( "and" ) ), + decayModes = cms.VPSet( + cms.PSet( maxMass = cms.string( "1." ), + nPiZeros = cms.uint32( 0 ), + minMass = cms.double( -1000.0 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nTracksMin = cms.uint32( 1 ), + nCharged = cms.uint32( 1 ), + applyBendCorrection = cms.PSet( + phi = cms.bool( True ), + eta = cms.bool( True ), + mass = cms.bool( True ) + ) + ), + cms.PSet( maxMass = cms.string( "max(1.72, min(1.72*sqrt(pt/100.), 4.2))" ), + nPiZeros = cms.uint32( 1 ), + minMass = cms.double( 0.0 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nTracksMin = cms.uint32( 1 ), + nCharged = cms.uint32( 1 ), + assumeStripMass = cms.double( 0.1349 ), + applyBendCorrection = cms.PSet( + phi = cms.bool( True ), + eta = cms.bool( True ), + mass = cms.bool( True ) + ) + ), + cms.PSet( minPi0Mass = cms.double( 0.0 ), + maxMass = cms.string( "max(1.72, min(1.72*sqrt(pt/100.), 4.0))" ), + maxPi0Mass = cms.double( 0.8 ), + nPiZeros = cms.uint32( 2 ), + minMass = cms.double( 0.4 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nTracksMin = cms.uint32( 1 ), + nCharged = cms.uint32( 1 ), + assumeStripMass = cms.double( 0.0 ), + applyBendCorrection = cms.PSet( + phi = cms.bool( True ), + eta = cms.bool( True ), + mass = cms.bool( True ) + ) + ), + cms.PSet( maxMass = cms.string( "1.2" ), + nPiZeros = cms.uint32( 0 ), + minMass = cms.double( 0.0 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nTracksMin = cms.uint32( 2 ), + nCharged = cms.uint32( 2 ), + applyBendCorrection = cms.PSet( + phi = cms.bool( True ), + eta = cms.bool( False ), + mass = cms.bool( True ) + ) + ), + cms.PSet( maxMass = cms.string( "max(1.6, min(1.6*sqrt(pt/100.), 4.0))" ), + minMass = cms.double( 0.0 ), + nCharged = cms.uint32( 2 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nPiZeros = cms.uint32( 1 ), + nTracksMin = cms.uint32( 2 ), + applyBendCorrection = cms.PSet( + eta = cms.bool( False ), + phi = cms.bool( True ), + mass = cms.bool( True ) + ) + ), + cms.PSet( maxMass = cms.string( "1.6" ), + minMass = cms.double( 0.7 ), + nCharged = cms.uint32( 3 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nPiZeros = cms.uint32( 0 ), + nTracksMin = cms.uint32( 2 ), + applyBendCorrection = cms.PSet( + eta = cms.bool( False ), + phi = cms.bool( True ), + mass = cms.bool( True ) + ) + ), + cms.PSet( nCharged = cms.uint32( 3 ), + nPiZeros = cms.uint32( 1 ), + nTracksMin = cms.uint32( 2 ), + minMass = cms.double( 0.9 ), + maxMass = cms.string( "1.6" ), + applyBendCorrection = cms.PSet( + eta = cms.bool( False ), + phi = cms.bool( False ), + mass = cms.bool( False ) + ), + nChargedPFCandsMin = cms.uint32( 1 ) + ) + ), + matchingCone = cms.double( 0.5 ), + minPixelHits = cms.int32( 0 ), + requireTauChargedHadronsToBeChargedPFCands = cms.bool( False ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumAbsOrRelChargedIsolationDiscriminator_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumAbsOrRelChargedIsolationDiscriminator_cfi.py new file mode 100644 index 0000000000000..70722214efa8c --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumAbsOrRelChargedIsolationDiscriminator_cfi.py @@ -0,0 +1,18 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauMediumAbsOrRelChargedIsolationDiscriminator = cms.EDProducer( "PFTauDiscriminatorLogicalAndProducer", + Prediscriminants = cms.PSet( + BooleanOperator = cms.string( "or" ), + discr1 = cms.PSet( + cut = cms.double( 0.5 ), + Producer = cms.InputTag( "hltHpsPFTauMediumAbsoluteChargedIsolationDiscriminator" ) + ), + discr2 = cms.PSet( + cut = cms.double( 0.5 ), + Producer = cms.InputTag( "hltHpsPFTauMediumRelativeChargedIsolationDiscriminator" ) + ) + ), + PassValue = cms.double( 1.0 ), + FailValue = cms.double( 0.0 ), + PFTauProducer = cms.InputTag( "hltHpsPFTauProducer" ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumAbsoluteChargedIsolationDiscriminator_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumAbsoluteChargedIsolationDiscriminator_cfi.py new file mode 100644 index 0000000000000..f6bb8a1dc303f --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumAbsoluteChargedIsolationDiscriminator_cfi.py @@ -0,0 +1,95 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauMediumAbsoluteChargedIsolationDiscriminator = cms.EDProducer( "PFRecoTauDiscriminationByIsolation", + storeRawFootprintCorrection = cms.bool( False ), + PFTauProducer = cms.InputTag( "hltHpsPFTauProducer" ), + storeRawOccupancy = cms.bool( False ), + maximumSumPtCut = cms.double( 3.7 ), + qualityCuts = cms.PSet( + vertexTrackFiltering = cms.bool( False ), + isolationQualityCuts = cms.PSet( + maxDeltaZ = cms.double( 0.2 ), + minTrackPt = cms.double( 0.5 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.1 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + primaryVertexSrc = cms.InputTag( "hltPhase2PixelVertices" ), + recoverLeadingTrk = cms.bool( False ), + signalQualityCuts = cms.PSet( + maxDeltaZ = cms.double( 0.2 ), + minTrackPt = cms.double( 0.0 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + maxTrackChi2 = cms.double( 1000.0 ), + maxTransverseImpactParameter = cms.double( 0.2 ), + useTracksInsteadOfPFHadrons = cms.bool( False ), + minNeutralHadronEt = cms.double( 1.0 ) + ), + vxAssocQualityCuts = cms.PSet( + minTrackPt = cms.double( 0.0 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + maxTrackChi2 = cms.double( 1000.0 ), + maxTransverseImpactParameter = cms.double( 0.2 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + pvFindingAlgo = cms.string( "closestInDeltaZ" ) + ), + minTauPtForNoIso = cms.double( -99.0 ), + maxAbsPhotonSumPt_outsideSignalCone = cms.double( 1.0E9 ), + vertexSrc = cms.InputTag( "NotUsed" ), + applySumPtCut = cms.bool( True ), + rhoConeSize = cms.double( 0.357 ), + ApplyDiscriminationByTrackerIsolation = cms.bool( True ), + storeRawPhotonSumPt_outsideSignalCone = cms.bool( False ), + rhoProducer = cms.InputTag( "NotUsed" ), + enableHGCalWorkaround = cms.bool( False ), + footprintCorrections = cms.VPSet( + cms.PSet( offset = cms.string( "0.0" ), + selection = cms.string( "decayMode() = 0" ) + ), + cms.PSet( offset = cms.string( "0.0" ), + selection = cms.string( "decayMode() = 1 || decayMode() = 2" ) + ), + cms.PSet( offset = cms.string( "2.7" ), + selection = cms.string( "decayMode() = 5" ) + ), + cms.PSet( offset = cms.string( "0.0" ), + selection = cms.string( "decayMode() = 6" ) + ), + cms.PSet( offset = cms.string( "max(2.0, 0.22*pt() - 2.0)" ), + selection = cms.string( "decayMode() = 10" ) + ) + ), + deltaBetaFactor = cms.string( "0.38" ), + applyFootprintCorrection = cms.bool( False ), + UseAllPFCandsForWeights = cms.bool( False ), + relativeSumPtCut = cms.double( 0.03 ), + Prediscriminants = cms.PSet( BooleanOperator = cms.string( "and" ) ), + maximumOccupancy = cms.uint32( 0 ), + verbosity = cms.int32( 0 ), + applyOccupancyCut = cms.bool( False ), + applyDeltaBetaCorrection = cms.bool( False ), + applyRelativeSumPtCut = cms.bool( False ), + storeRawPUsumPt = cms.bool( False ), + applyPhotonPtSumOutsideSignalConeCut = cms.bool( False ), + deltaBetaPUTrackPtCutOverride = cms.bool( True ), + ApplyDiscriminationByWeightedECALIsolation = cms.bool( False ), + storeRawSumPt = cms.bool( False ), + ApplyDiscriminationByECALIsolation = cms.bool( False ), + applyRhoCorrection = cms.bool( False ), + WeightECALIsolation = cms.double( 0.33333 ), + rhoUEOffsetCorrection = cms.double( 0.0 ), + maxRelPhotonSumPt_outsideSignalCone = cms.double( 0.1 ), + deltaBetaPUTrackPtCutOverride_val = cms.double( 0.5 ), + isoConeSizeForDeltaBeta = cms.double( 0.3 ), + relativeSumPtOffset = cms.double( 0.0 ), + customOuterCone = cms.double( -1.0 ), + particleFlowSrc = cms.InputTag( "particleFlowTmp" ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumRelativeChargedIsolationDiscriminator_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumRelativeChargedIsolationDiscriminator_cfi.py new file mode 100644 index 0000000000000..24c63e7b847aa --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauMediumRelativeChargedIsolationDiscriminator_cfi.py @@ -0,0 +1,95 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauMediumRelativeChargedIsolationDiscriminator = cms.EDProducer( "PFRecoTauDiscriminationByIsolation", + storeRawFootprintCorrection = cms.bool( False ), + PFTauProducer = cms.InputTag( "hltHpsPFTauProducer" ), + storeRawOccupancy = cms.bool( False ), + maximumSumPtCut = cms.double( 2.0 ), + qualityCuts = cms.PSet( + vertexTrackFiltering = cms.bool( False ), + isolationQualityCuts = cms.PSet( + maxDeltaZ = cms.double( 0.2 ), + minTrackPt = cms.double( 0.5 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.1 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + primaryVertexSrc = cms.InputTag( "hltPhase2PixelVertices" ), + recoverLeadingTrk = cms.bool( False ), + signalQualityCuts = cms.PSet( + maxDeltaZ = cms.double( 0.2 ), + minTrackPt = cms.double( 0.0 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + maxTrackChi2 = cms.double( 1000.0 ), + maxTransverseImpactParameter = cms.double( 0.2 ), + useTracksInsteadOfPFHadrons = cms.bool( False ), + minNeutralHadronEt = cms.double( 1.0 ) + ), + vxAssocQualityCuts = cms.PSet( + minTrackPt = cms.double( 0.0 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + maxTrackChi2 = cms.double( 1000.0 ), + maxTransverseImpactParameter = cms.double( 0.2 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + pvFindingAlgo = cms.string( "closestInDeltaZ" ) + ), + minTauPtForNoIso = cms.double( -99.0 ), + maxAbsPhotonSumPt_outsideSignalCone = cms.double( 1.0E9 ), + vertexSrc = cms.InputTag( "NotUsed" ), + applySumPtCut = cms.bool( False ), + rhoConeSize = cms.double( 0.5 ), + ApplyDiscriminationByTrackerIsolation = cms.bool( True ), + storeRawPhotonSumPt_outsideSignalCone = cms.bool( False ), + rhoProducer = cms.InputTag( "hltFixedGridRhoFastjetAll" ), + enableHGCalWorkaround = cms.bool( False ), + footprintCorrections = cms.VPSet( + cms.PSet( offset = cms.string( "0.0" ), + selection = cms.string( "decayMode() = 0" ) + ), + cms.PSet( offset = cms.string( "0.0" ), + selection = cms.string( "decayMode() = 1 || decayMode() = 2" ) + ), + cms.PSet( offset = cms.string( "2.7" ), + selection = cms.string( "decayMode() = 5" ) + ), + cms.PSet( offset = cms.string( "0.0" ), + selection = cms.string( "decayMode() = 6" ) + ), + cms.PSet( offset = cms.string( "max(2.0, 0.22*pt() - 2.0)" ), + selection = cms.string( "decayMode() = 10" ) + ) + ), + deltaBetaFactor = cms.string( "0.38" ), + applyFootprintCorrection = cms.bool( False ), + UseAllPFCandsForWeights = cms.bool( False ), + relativeSumPtCut = cms.double( 0.05 ), + Prediscriminants = cms.PSet( BooleanOperator = cms.string( "and" ) ), + maximumOccupancy = cms.uint32( 0 ), + verbosity = cms.int32( 0 ), + applyOccupancyCut = cms.bool( False ), + applyDeltaBetaCorrection = cms.bool( False ), + applyRelativeSumPtCut = cms.bool( True ), + storeRawPUsumPt = cms.bool( False ), + applyPhotonPtSumOutsideSignalConeCut = cms.bool( False ), + deltaBetaPUTrackPtCutOverride = cms.bool( True ), + ApplyDiscriminationByWeightedECALIsolation = cms.bool( False ), + storeRawSumPt = cms.bool( False ), + ApplyDiscriminationByECALIsolation = cms.bool( False ), + applyRhoCorrection = cms.bool( False ), + WeightECALIsolation = cms.double( 1.0 ), + rhoUEOffsetCorrection = cms.double( 1.0 ), + maxRelPhotonSumPt_outsideSignalCone = cms.double( 0.1 ), + deltaBetaPUTrackPtCutOverride_val = cms.double( 0.5 ), + isoConeSizeForDeltaBeta = cms.double( 0.3 ), + relativeSumPtOffset = cms.double( 60.0 ), + customOuterCone = cms.double( -1.0 ), + particleFlowSrc = cms.InputTag( "particleFlowTmp" ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauPrimaryVertexProducerForDeepTau_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauPrimaryVertexProducerForDeepTau_cfi.py new file mode 100644 index 0000000000000..a35529eaae532 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauPrimaryVertexProducerForDeepTau_cfi.py @@ -0,0 +1,62 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauPrimaryVertexProducerForDeepTau = cms.EDProducer( "PFTauPrimaryVertexProducer", + qualityCuts = cms.PSet( + signalQualityCuts = cms.PSet( + minTrackPt = cms.double( 0.5 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.1 ), + maxDeltaZ = cms.double( 0.4 ), + maxDeltaZToLeadTrack = cms.double( -1.0 ), + minTrackVertexWeight = cms.double( -1.0 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackHits = cms.uint32( 3 ), + minGammaEt = cms.double( 1.0 ), + minNeutralHadronEt = cms.double( 30.0 ) + ), + isolationQualityCuts = cms.PSet( + minTrackPt = cms.double( 1.0 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.03 ), + maxDeltaZ = cms.double( 0.2 ), + maxDeltaZToLeadTrack = cms.double( -1.0 ), + minTrackVertexWeight = cms.double( -1.0 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackHits = cms.uint32( 8 ), + minGammaEt = cms.double( 1.5 ) + ), + vxAssocQualityCuts = cms.PSet( + minTrackPt = cms.double( 0.5 ), + maxTrackChi2 = cms.double( 100.0 ), + maxTransverseImpactParameter = cms.double( 0.1 ), + minTrackVertexWeight = cms.double( -1.0 ), + minTrackPixelHits = cms.uint32( 0 ), + minTrackHits = cms.uint32( 3 ), + minGammaEt = cms.double( 1.0 ) + ), + primaryVertexSrc = cms.InputTag( "hltPhase2PixelVertices" ), + + pvFindingAlgo = cms.string( "closestInDeltaZ" ), + vertexTrackFiltering = cms.bool( False ), + recoverLeadingTrk = cms.bool( False ), + leadingTrkOrPFCandOption = cms.string( "leadPFCand" ) + ), + cut = cms.string( "pt > 18.0 & abs(eta)<2.4" ), + Algorithm = cms.int32( 0 ), + RemoveElectronTracks = cms.bool( False ), + RemoveMuonTracks = cms.bool( False ), + useBeamSpot = cms.bool( True ), + useSelectedTaus = cms.bool( False ), + beamSpot = cms.InputTag( "hltOnlineBeamSpot" ), + ElectronTag = cms.InputTag( "hltEgammaCandidates" ), + PFTauTag = cms.InputTag( "hltHpsPFTauProducer" ), + + MuonTag = cms.InputTag( "hltMuons" ), + PVTag = cms.InputTag( "hltPhase2PixelVertices" ), + + discriminators = cms.VPSet( + cms.PSet( discriminator = cms.InputTag( "hltHpsPFTauDiscriminationByDecayModeFindingNewDMs" ), + selectionCut = cms.double( 0.5 ) + ) + ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauProducerSansRefs_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauProducerSansRefs_cfi.py new file mode 100644 index 0000000000000..2e0ed255d3b08 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauProducerSansRefs_cfi.py @@ -0,0 +1,39 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauProducerSansRefs = cms.EDProducer( "RecoTauCleaner", + outputSelection = cms.string( "" ), + cleaners = cms.VPSet( + cms.PSet( name = cms.string( "HPS_Select" ), + plugin = cms.string( "RecoTauDiscriminantCleanerPlugin" ), + src = cms.InputTag( "hltHpsSelectionDiscriminator" ) + ), + cms.PSet( name = cms.string( "killSoftTwoProngTaus" ), + plugin = cms.string( "RecoTauSoftTwoProngTausCleanerPlugin" ), + minTrackPt = cms.double( 5.0 ) + ), + cms.PSet( name = cms.string( "ChargedHadronMultiplicity" ), + plugin = cms.string( "RecoTauChargedHadronMultiplicityCleanerPlugin" ) + ), + cms.PSet( name = cms.string( "Pt" ), + plugin = cms.string( "RecoTauStringCleanerPlugin" ), + selection = cms.string( "leadPFCand().isNonnull()" ), + selectionFailValue = cms.double( 1000.0 ), + selectionPassFunction = cms.string( "-pt()" ), + tolerance = cms.double( 0.01 ) + ), + cms.PSet( name = cms.string( "StripMultiplicity" ), + plugin = cms.string( "RecoTauStringCleanerPlugin" ), + selection = cms.string( "leadPFCand().isNonnull()" ), + selectionFailValue = cms.double( 1000.0 ), + selectionPassFunction = cms.string( "-signalPiZeroCandidates().size()" ) + ), + cms.PSet( name = cms.string( "CombinedIsolation" ), + plugin = cms.string( "RecoTauStringCleanerPlugin" ), + selection = cms.string( "leadPFCand().isNonnull()" ), + selectionFailValue = cms.double( 1000.0 ), + selectionPassFunction = cms.string( "isolationPFChargedHadrCandsPtSum() + isolationPFGammaCandsEtSum()" ) + ) + ), + verbosity = cms.int32( 0 ), + src = cms.InputTag( "hltHpsCombinatoricRecoTaus" ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauProducer_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauProducer_cfi.py new file mode 100644 index 0000000000000..d82b72c966986 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauProducer_cfi.py @@ -0,0 +1,5 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauProducer = cms.EDProducer( "RecoTauPiZeroUnembedder", + src = cms.InputTag( "hltHpsPFTauProducerSansRefs" ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauSecondaryVertexProducerForDeepTau_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauSecondaryVertexProducerForDeepTau_cfi.py new file mode 100644 index 0000000000000..3c872ac8c0054 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauSecondaryVertexProducerForDeepTau_cfi.py @@ -0,0 +1,5 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauSecondaryVertexProducerForDeepTau = cms.EDProducer( "PFTauSecondaryVertexProducer", + PFTauTag = cms.InputTag( "hltHpsPFTauProducer" ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrackFindingDiscriminator_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrackFindingDiscriminator_cfi.py new file mode 100644 index 0000000000000..d559c4492d0be --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrackFindingDiscriminator_cfi.py @@ -0,0 +1,8 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauTrackFindingDiscriminator = cms.EDProducer( "PFRecoTauDiscriminationByLeadingObjectPtCut", + MinPtLeadingObject = cms.double( 0.0 ), + Prediscriminants = cms.PSet( BooleanOperator = cms.string( "and" ) ), + UseOnlyChargedHadrons = cms.bool( True ), + PFTauProducer = cms.InputTag( "hltHpsPFTauProducer" ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrackPt1Discriminator_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrackPt1Discriminator_cfi.py new file mode 100644 index 0000000000000..0db7c52a9df67 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrackPt1Discriminator_cfi.py @@ -0,0 +1,8 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauTrackPt1Discriminator = cms.EDProducer( "PFRecoTauDiscriminationByLeadingObjectPtCut", + MinPtLeadingObject = cms.double( 1.0 ), + Prediscriminants = cms.PSet( BooleanOperator = cms.string( "and" ) ), + UseOnlyChargedHadrons = cms.bool( True ), + PFTauProducer = cms.InputTag( "hltHpsPFTauProducer" ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrack_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrack_cfi.py new file mode 100644 index 0000000000000..575a855ffd810 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTrack_cfi.py @@ -0,0 +1,14 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsPFTauTrack = cms.EDFilter( "HLT1PFTau", + saveTags = cms.bool( True ), + inputTag = cms.InputTag( "hltHpsPFTauProducer" ), + triggerType = cms.int32( 84 ), + MinE = cms.double( -1.0 ), + MinPt = cms.double( 0.0 ), + MinMass = cms.double( -1.0 ), + MaxMass = cms.double( -1.0 ), + MinEta = cms.double( -1.0 ), + MaxEta = cms.double( 2.5 ), + MinN = cms.int32( 1 ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTransverseImpactParametersForDeepTau_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTransverseImpactParametersForDeepTau_cfi.py new file mode 100644 index 0000000000000..f60ef46766c44 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsPFTauTransverseImpactParametersForDeepTau_cfi.py @@ -0,0 +1,9 @@ +import FWCore.ParameterSet.Config as cms + + +hltHpsPFTauTransverseImpactParametersForDeepTau = cms.EDProducer( "PFTauTransverseImpactParameters", + PFTauPVATag = cms.InputTag( "hltHpsPFTauPrimaryVertexProducerForDeepTau" ), + useFullCalculation = cms.bool( True ), + PFTauTag = cms.InputTag( "hltHpsPFTauProducer" ), + PFTauSVATag = cms.InputTag( "hltHpsPFTauSecondaryVertexProducerForDeepTau" ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausMediumDitauWPDeepTau_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausMediumDitauWPDeepTau_cfi.py new file mode 100644 index 0000000000000..d8bfce649886c --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausMediumDitauWPDeepTau_cfi.py @@ -0,0 +1,15 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsSelectedPFTausMediumDitauWPDeepTau = cms.EDFilter( "PFTauSelector", + src = cms.InputTag( "hltHpsPFTauProducer" ), + cut = cms.string( "pt > 35 && abs(eta) < 2.1" ), + discriminators = cms.VPSet( + ), + discriminatorContainers = cms.VPSet( + cms.PSet( discriminator = cms.InputTag( "hltHpsPFTauDeepTauProducer", "VSjet" ), + rawValues = cms.vstring( ), + selectionCuts = cms.vdouble( ), + 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;' ) + ) + ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausTrackFinding_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausTrackFinding_cfi.py new file mode 100644 index 0000000000000..dcfd3f7c094cd --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausTrackFinding_cfi.py @@ -0,0 +1,13 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsSelectedPFTausTrackFinding = cms.EDFilter( "PFTauSelector", + src = cms.InputTag( "hltHpsPFTauProducer" ), + cut = cms.string( "pt > 0" ), + discriminators = cms.VPSet( + cms.PSet( discriminator = cms.InputTag( "hltHpsPFTauTrackFindingDiscriminator" ), + selectionCut = cms.double( 0.5 ) + ) + ), + discriminatorContainers = cms.VPSet( + ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausTrackPt1MediumChargedIsolation_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausTrackPt1MediumChargedIsolation_cfi.py new file mode 100644 index 0000000000000..f22a9b4ee8f51 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectedPFTausTrackPt1MediumChargedIsolation_cfi.py @@ -0,0 +1,16 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsSelectedPFTausTrackPt1MediumChargedIsolation = cms.EDFilter( "PFTauSelector", + src = cms.InputTag( "hltHpsPFTauProducer" ), + cut = cms.string( "pt > 0" ), + discriminators = cms.VPSet( + #cms.PSet( discriminator = cms.InputTag( "hltHpsPFTauTrackPt1Discriminator" ), + #selectionCut = cms.double( 0.01 ) + #), + cms.PSet( discriminator = cms.InputTag( "hltHpsPFTauMediumAbsOrRelChargedIsolationDiscriminator" ), + selectionCut = cms.double( 0.5 ) + ) + ), + discriminatorContainers = cms.VPSet( + ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectionDiscriminator_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectionDiscriminator_cfi.py new file mode 100644 index 0000000000000..41687ae6b5dc7 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsSelectionDiscriminator_cfi.py @@ -0,0 +1,102 @@ +import FWCore.ParameterSet.Config as cms + + +hltHpsSelectionDiscriminator = cms.EDProducer( "PFRecoTauDiscriminationByHPSSelection", + PFTauProducer = cms.InputTag( "hltHpsCombinatoricRecoTaus" ), + verbosity = cms.int32( 0 ), + minTauPt = cms.double( 0.0 ), + Prediscriminants = cms.PSet( BooleanOperator = cms.string( "and" ) ), + decayModes = cms.VPSet( + cms.PSet( maxMass = cms.string( "1." ), + nPiZeros = cms.uint32( 0 ), + minMass = cms.double( -1000.0 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nTracksMin = cms.uint32( 1 ), + nCharged = cms.uint32( 1 ), + applyBendCorrection = cms.PSet( + phi = cms.bool( True ), + eta = cms.bool( True ), + mass = cms.bool( True ) + ) + ), + cms.PSet( maxMass = cms.string( "max(1.72, min(1.72*sqrt(pt/100.), 4.2))" ), + nPiZeros = cms.uint32( 1 ), + minMass = cms.double( 0.0 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nTracksMin = cms.uint32( 1 ), + nCharged = cms.uint32( 1 ), + assumeStripMass = cms.double( 0.1349 ), + applyBendCorrection = cms.PSet( + phi = cms.bool( True ), + eta = cms.bool( True ), + mass = cms.bool( True ) + ) + ), + cms.PSet( minPi0Mass = cms.double( 0.0 ), + maxMass = cms.string( "max(1.72, min(1.72*sqrt(pt/100.), 4.0))" ), + maxPi0Mass = cms.double( 0.8 ), + nPiZeros = cms.uint32( 2 ), + minMass = cms.double( 0.4 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nTracksMin = cms.uint32( 1 ), + nCharged = cms.uint32( 1 ), + assumeStripMass = cms.double( 0.0 ), + applyBendCorrection = cms.PSet( + phi = cms.bool( True ), + eta = cms.bool( True ), + mass = cms.bool( True ) + ) + ), + cms.PSet( maxMass = cms.string( "1.2" ), + nPiZeros = cms.uint32( 0 ), + minMass = cms.double( 0.0 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nTracksMin = cms.uint32( 2 ), + nCharged = cms.uint32( 2 ), + applyBendCorrection = cms.PSet( + phi = cms.bool( True ), + eta = cms.bool( False ), + mass = cms.bool( True ) + ) + ), + cms.PSet( maxMass = cms.string( "max(1.6, min(1.6*sqrt(pt/100.), 4.0))" ), + minMass = cms.double( 0.0 ), + nCharged = cms.uint32( 2 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nPiZeros = cms.uint32( 1 ), + nTracksMin = cms.uint32( 2 ), + applyBendCorrection = cms.PSet( + eta = cms.bool( False ), + phi = cms.bool( True ), + mass = cms.bool( True ) + ) + ), + cms.PSet( maxMass = cms.string( "1.6" ), + minMass = cms.double( 0.7 ), + nCharged = cms.uint32( 3 ), + nChargedPFCandsMin = cms.uint32( 1 ), + nPiZeros = cms.uint32( 0 ), + nTracksMin = cms.uint32( 2 ), + applyBendCorrection = cms.PSet( + eta = cms.bool( False ), + phi = cms.bool( True ), + mass = cms.bool( True ) + ) + ), + cms.PSet( nCharged = cms.uint32( 3 ), + nPiZeros = cms.uint32( 1 ), + nTracksMin = cms.uint32( 2 ), + minMass = cms.double( 0.9 ), + maxMass = cms.string( "1.6" ), + applyBendCorrection = cms.PSet( + eta = cms.bool( False ), + phi = cms.bool( False ), + mass = cms.bool( False ) + ), + nChargedPFCandsMin = cms.uint32( 1 ) + ) + ), + matchingCone = cms.double( 0.5 ), + minPixelHits = cms.int32( 0 ), + requireTauChargedHadronsToBeChargedPFCands = cms.bool( False ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsTauPFJetsRecoTauChargedHadronsWithNeutrals_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsTauPFJetsRecoTauChargedHadronsWithNeutrals_cfi.py new file mode 100644 index 0000000000000..e8a69a9c627dd --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltHpsTauPFJetsRecoTauChargedHadronsWithNeutrals_cfi.py @@ -0,0 +1,115 @@ +import FWCore.ParameterSet.Config as cms + +hltHpsTauPFJetsRecoTauChargedHadronsWithNeutrals = cms.EDProducer( "PFRecoTauChargedHadronProducer", + ranking = cms.VPSet( + cms.PSet( selectionFailValue = cms.double( 1000.0 ), + plugin = cms.string( "PFRecoTauChargedHadronStringQuality" ), + selection = cms.string( "algoIs(\'kChargedPFCandidate\')" ), + name = cms.string( "ChargedPFCandidate" ), + selectionPassFunction = cms.string( "-pt" ) + ), + cms.PSet( selectionFailValue = cms.double( 1000.0 ), + plugin = cms.string( "PFRecoTauChargedHadronStringQuality" ), + selection = cms.string( "algoIs(\'kPFNeutralHadron\')" ), + name = cms.string( "ChargedPFCandidate" ), + selectionPassFunction = cms.string( "-pt" ) + ) + ), + verbosity = cms.int32( 0 ), + maxJetAbsEta = cms.double( 99.0 ), + outputSelection = cms.string( "pt > 0.5" ), + minJetPt = cms.double( -1.0 ), + jetSrc = cms.InputTag( "hltAK4PFJets" ), + builders = cms.VPSet( + cms.PSet( minBlockElementMatchesNeutralHadron = cms.int32( 2 ), + dRmergeNeutralHadronWrtNeutralHadron = cms.double( 0.01 ), + dRmergePhotonWrtNeutralHadron = cms.double( 0.01 ), + dRmergePhotonWrtOther = cms.double( 0.005 ), + qualityCuts = cms.PSet( + vertexTrackFiltering = cms.bool( False ), + primaryVertexSrc = cms.InputTag( "hltPhase2PixelVertices" ), + recoverLeadingTrk = cms.bool( False ), + signalQualityCuts = cms.PSet( + minNeutralHadronEt = cms.double( 30.0 ), + maxDeltaZ = cms.double( 0.2 ), + minTrackPt = cms.double( 0.0 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + maxTrackChi2 = cms.double( 1000.0 ), + maxTransverseImpactParameter = cms.double( 0.2 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + vxAssocQualityCuts = cms.PSet( + minTrackPt = cms.double( 0.0 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + maxTrackChi2 = cms.double( 1000.0 ), + maxTransverseImpactParameter = cms.double( 0.2 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + pvFindingAlgo = cms.string( "closestInDeltaZ" ) + ), + dRmergeNeutralHadronWrtOther = cms.double( 0.005 ), + maxUnmatchedBlockElementsNeutralHadron = cms.int32( 1 ), + dRmergePhotonWrtElectron = cms.double( 0.005 ), + minMergeGammaEt = cms.double( 0.0 ), + minBlockElementMatchesPhoton = cms.int32( 2 ), + dRmergePhotonWrtChargedHadron = cms.double( 0.005 ), + plugin = cms.string( "PFRecoTauChargedHadronFromPFCandidatePlugin" ), + dRmergeNeutralHadronWrtChargedHadron = cms.double( 0.005 ), + minMergeChargedHadronPt = cms.double( 100.0 ), + maxUnmatchedBlockElementsPhoton = cms.int32( 1 ), + name = cms.string( "chargedPFCandidates" ), + dRmergeNeutralHadronWrtElectron = cms.double( 0.05 ), + chargedHadronCandidatesParticleIds = cms.vint32( 1, 2, 3 ), + minMergeNeutralHadronEt = cms.double( 0.0 ) + ), + cms.PSet( minBlockElementMatchesNeutralHadron = cms.int32( 2 ), + dRmergeNeutralHadronWrtNeutralHadron = cms.double( 0.01 ), + dRmergePhotonWrtNeutralHadron = cms.double( 0.01 ), + dRmergePhotonWrtOther = cms.double( 0.005 ), + qualityCuts = cms.PSet( + vertexTrackFiltering = cms.bool( False ), + primaryVertexSrc = cms.InputTag( "hltPhase2PixelVertices" ), + recoverLeadingTrk = cms.bool( False ), + signalQualityCuts = cms.PSet( + minNeutralHadronEt = cms.double( 30.0 ), + maxDeltaZ = cms.double( 0.2 ), + minTrackPt = cms.double( 0.0 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + maxTrackChi2 = cms.double( 1000.0 ), + maxTransverseImpactParameter = cms.double( 0.2 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + vxAssocQualityCuts = cms.PSet( + minTrackPt = cms.double( 0.0 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + maxTrackChi2 = cms.double( 1000.0 ), + maxTransverseImpactParameter = cms.double( 0.2 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + pvFindingAlgo = cms.string( "closestInDeltaZ" ) + ), + dRmergeNeutralHadronWrtOther = cms.double( 0.005 ), + dRmergePhotonWrtElectron = cms.double( 0.005 ), + minMergeGammaEt = cms.double( 0.0 ), + dRmergePhotonWrtChargedHadron = cms.double( 0.005 ), + plugin = cms.string( "PFRecoTauChargedHadronFromPFCandidatePlugin" ), + dRmergeNeutralHadronWrtChargedHadron = cms.double( 0.005 ), + minMergeChargedHadronPt = cms.double( 0.0 ), + maxUnmatchedBlockElementsPhoton = cms.int32( 1 ), + name = cms.string( "PFNeutralHadrons" ), + dRmergeNeutralHadronWrtElectron = cms.double( 0.05 ), + chargedHadronCandidatesParticleIds = cms.vint32( 5 ), + minMergeNeutralHadronEt = cms.double( 0.0 ), + maxUnmatchedBlockElementsNeutralHadron = cms.int32( 1 ), + minBlockElementMatchesPhoton = cms.int32( 2 ) + ) + ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltPFTauPiZeros_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltPFTauPiZeros_cfi.py new file mode 100644 index 0000000000000..490efbdb01902 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltPFTauPiZeros_cfi.py @@ -0,0 +1,49 @@ +import FWCore.ParameterSet.Config as cms + +hltPFTauPiZeros = cms.EDProducer( "RecoTauPiZeroProducer", + massHypothesis = cms.double( 0.136 ), + ranking = cms.VPSet( + cms.PSet( selectionFailValue = cms.double( 1000.0 ), + plugin = cms.string( "RecoTauPiZeroStringQuality" ), + selection = cms.string( "algoIs('kStrips')" ), + name = cms.string( "InStrip" ), + selectionPassFunction = cms.string( "abs(mass() - 0.13579)" ) + ) + ), + verbosity = cms.int32( 0 ), + maxJetAbsEta = cms.double( 99.0 ), + outputSelection = cms.string( "pt > 0" ), + minJetPt = cms.double( -1.0 ), + jetSrc = cms.InputTag( "hltAK4PFJets" ), + builders = cms.VPSet( + cms.PSet( minGammaEtStripSeed = cms.double( 0.5 ), + applyElecTrackQcuts = cms.bool( False ), + stripCandidatesParticleIds = cms.vint32( 2, 4 ), + makeCombinatoricStrips = cms.bool( False ), + stripPhiAssociationDistance = cms.double( 0.2 ), + qualityCuts = cms.PSet( + vertexTrackFiltering = cms.bool( False ), + primaryVertexSrc = cms.InputTag( "hltPhase2PixelVertices" ), + recoverLeadingTrk = cms.bool( False ), + signalQualityCuts = cms.PSet( + maxDeltaZ = cms.double( 0.2 ), + minTrackPt = cms.double( 0.0 ), + minGammaEt = cms.double( 0.5 ), + minTrackHits = cms.uint32( 3 ), + minTrackPixelHits = cms.uint32( 0 ), + maxTrackChi2 = cms.double( 1000.0 ), + maxTransverseImpactParameter = cms.double( 0.2 ), + useTracksInsteadOfPFHadrons = cms.bool( False ) + ), + pvFindingAlgo = cms.string( "closestInDeltaZ" ) + ), + maxStripBuildIterations = cms.int32( -1 ), + updateStripAfterEachDaughter = cms.bool( False ), + stripEtaAssociationDistance = cms.double( 0.05 ), + minStripEt = cms.double( 1.0 ), + plugin = cms.string( "RecoTauPiZeroStripPlugin2" ), + minGammaEtStripAdd = cms.double( 0.0 ), + name = cms.string( "s" ) + ) + ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltPreDoublePFTauHPS_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltPreDoublePFTauHPS_cfi.py new file mode 100644 index 0000000000000..c262623569891 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltPreDoublePFTauHPS_cfi.py @@ -0,0 +1,7 @@ + +import FWCore.ParameterSet.Config as cms + +hltPreDoublePFTauHPS = cms.EDFilter("HLTPrescaler", + L1GtReadoutRecordTag = cms.InputTag("hltGtStage2Digis"), + offset = cms.uint32(0) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltTauPFJets08Region_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltTauPFJets08Region_cfi.py new file mode 100644 index 0000000000000..083765854b56b --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltTauPFJets08Region_cfi.py @@ -0,0 +1,11 @@ +import FWCore.ParameterSet.Config as cms + +hltTauPFJets08Region = cms.EDProducer( "RecoTauJetRegionProducer", + src = cms.InputTag( "hltAK4PFJets" ), + deltaR = cms.double( 0.8 ), + pfCandAssocMapSrc = cms.InputTag( "" ), + verbosity = cms.int32( 0 ), + maxJetAbsEta = cms.double( 99.0 ), + minJetPt = cms.double( -1.0 ), + pfCandSrc = cms.InputTag( "particleFlowTmp" ) +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/paths/HLT_DoubleMediumChargedIsoPFTauHPS40_eta2p1_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/paths/HLT_DoubleMediumChargedIsoPFTauHPS40_eta2p1_cfi.py new file mode 100644 index 0000000000000..e2ae604975ae4 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/paths/HLT_DoubleMediumChargedIsoPFTauHPS40_eta2p1_cfi.py @@ -0,0 +1,25 @@ +import FWCore.ParameterSet.Config as cms + +from ..modules.hltPreDoublePFTauHPS_cfi import * +from ..sequences.HLTBeginSequence_cfi import * +from ..sequences.HLTEndSequence_cfi import * +from ..sequences.HLTParticleFlowSequence_cfi import * +from ..sequences.HLTAK4PFJetsReconstruction_cfi import * +from ..sequences.HLTPFTauHPS_cfi import * +from ..modules.hltAK4PFJetsForTaus_cfi import * +from ..sequences.HLTHPSMediumChargedIsoPFTauSequence_cfi import * +from ..modules.hltHpsSelectedPFTausTrackPt1MediumChargedIsolation_cfi import * +from ..modules.hltHpsDoublePFTau40TrackPt1MediumChargedIsolation_cfi import * + +HLT_DoubleMediumChargedIsoPFTauHPS40_eta2p1 = cms.Path( + HLTBeginSequence + + hltPreDoublePFTauHPS + + HLTParticleFlowSequence + + HLTAK4PFJetsReconstruction + + hltAK4PFJetsForTaus + + HLTPFTauHPS + + HLTHPSMediumChargedIsoPFTauSequence + + hltHpsSelectedPFTausTrackPt1MediumChargedIsolation + + hltHpsDoublePFTau40TrackPt1MediumChargedIsolation + + HLTEndSequence +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/paths/HLT_DoubleMediumDeepTauPFTauHPS35_eta2p1_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/paths/HLT_DoubleMediumDeepTauPFTauHPS35_eta2p1_cfi.py new file mode 100644 index 0000000000000..b2e8e9b7c3fe6 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/paths/HLT_DoubleMediumDeepTauPFTauHPS35_eta2p1_cfi.py @@ -0,0 +1,25 @@ +import FWCore.ParameterSet.Config as cms + +from ..modules.hltPreDoublePFTauHPS_cfi import * +from ..sequences.HLTBeginSequence_cfi import * +from ..sequences.HLTEndSequence_cfi import * +from ..sequences.HLTParticleFlowSequence_cfi import * +from ..sequences.HLTAK4PFJetsReconstruction_cfi import * +from ..sequences.HLTPFTauHPS_cfi import * +from ..modules.hltAK4PFJetsForTaus_cfi import * +from ..sequences.HLTHPSDeepTauPFTauSequence_cfi import * +from ..modules.hltHpsSelectedPFTausMediumDitauWPDeepTau_cfi import * +from ..modules.hltHpsDoublePFTau35MediumDitauWPDeepTau_cfi import * + +HLT_DoubleMediumDeepTauPFTauHPS35_eta2p1 = cms.Path( + HLTBeginSequence + + hltPreDoublePFTauHPS + + HLTParticleFlowSequence + + HLTAK4PFJetsReconstruction + + hltAK4PFJetsForTaus + + HLTPFTauHPS + + HLTHPSDeepTauPFTauSequence + + hltHpsSelectedPFTausMediumDitauWPDeepTau + + hltHpsDoublePFTau35MediumDitauWPDeepTau + + HLTEndSequence +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/sequences/HLTHPSDeepTauPFTauSequence_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/sequences/HLTHPSDeepTauPFTauSequence_cfi.py new file mode 100644 index 0000000000000..b2cba639846de --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/sequences/HLTHPSDeepTauPFTauSequence_cfi.py @@ -0,0 +1,21 @@ +import FWCore.ParameterSet.Config as cms + +from ..modules.hltHpsPFTauDiscriminationByDecayModeFindingNewDMs_cfi import * +from ..modules.hltHpsPFTauPrimaryVertexProducerForDeepTau_cfi import * +from ..modules.hltHpsPFTauSecondaryVertexProducerForDeepTau_cfi import * +from ..modules.hltHpsPFTauTransverseImpactParametersForDeepTau_cfi import * +from ..modules.hltFixedGridRhoProducerFastjetAllTau_cfi import * +from ..modules.hltHpsPFTauBasicDiscriminatorsForDeepTau_cfi import * +from ..modules.hltHpsPFTauBasicDiscriminatorsdR03ForDeepTau_cfi import * +from ..modules.hltHpsPFTauDeepTauProducer_cfi import * + +HLTHPSDeepTauPFTauSequence = cms.Sequence( + hltHpsPFTauDiscriminationByDecayModeFindingNewDMs + + hltHpsPFTauPrimaryVertexProducerForDeepTau + + hltHpsPFTauSecondaryVertexProducerForDeepTau + + hltHpsPFTauTransverseImpactParametersForDeepTau + + hltFixedGridRhoProducerFastjetAllTau + + hltHpsPFTauBasicDiscriminatorsForDeepTau + + hltHpsPFTauBasicDiscriminatorsdR03ForDeepTau + + hltHpsPFTauDeepTauProducer +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/sequences/HLTHPSMediumChargedIsoPFTauSequence_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/sequences/HLTHPSMediumChargedIsoPFTauSequence_cfi.py new file mode 100644 index 0000000000000..b3690f08494a5 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/sequences/HLTHPSMediumChargedIsoPFTauSequence_cfi.py @@ -0,0 +1,11 @@ +import FWCore.ParameterSet.Config as cms + +from ..modules.hltHpsPFTauMediumAbsoluteChargedIsolationDiscriminator_cfi import * +from ..modules.hltHpsPFTauMediumRelativeChargedIsolationDiscriminator_cfi import * +from ..modules.hltHpsPFTauMediumAbsOrRelChargedIsolationDiscriminator_cfi import * + +HLTHPSMediumChargedIsoPFTauSequence = cms.Sequence( + hltHpsPFTauMediumAbsoluteChargedIsolationDiscriminator + + hltHpsPFTauMediumRelativeChargedIsolationDiscriminator + + hltHpsPFTauMediumAbsOrRelChargedIsolationDiscriminator +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/sequences/HLTPFTauHPS_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/sequences/HLTPFTauHPS_cfi.py new file mode 100644 index 0000000000000..c5695aa89b549 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/sequences/HLTPFTauHPS_cfi.py @@ -0,0 +1,27 @@ +import FWCore.ParameterSet.Config as cms + +from ..modules.hltTauPFJets08Region_cfi import * +from ..modules.hltHpsTauPFJetsRecoTauChargedHadronsWithNeutrals_cfi import * +from ..modules.hltPFTauPiZeros_cfi import * +from ..modules.hltHpsCombinatoricRecoTaus_cfi import * +from ..modules.hltHpsSelectionDiscriminator_cfi import * +from ..modules.hltHpsPFTauProducerSansRefs_cfi import * +from ..modules.hltHpsPFTauProducer_cfi import * +from ..modules.hltHpsPFTauDiscriminationByDecayModeFindingNewDMs_cfi import * +from ..modules.hltHpsPFTauTrackFindingDiscriminator_cfi import * +from ..modules.hltHpsSelectedPFTausTrackFinding_cfi import * +from ..modules.hltHpsPFTauTrack_cfi import * + +HLTPFTauHPS = cms.Sequence( + hltTauPFJets08Region + + hltHpsTauPFJetsRecoTauChargedHadronsWithNeutrals + + hltPFTauPiZeros + + hltHpsCombinatoricRecoTaus + + hltHpsSelectionDiscriminator + + hltHpsPFTauProducerSansRefs + + hltHpsPFTauProducer + + hltHpsPFTauDiscriminationByDecayModeFindingNewDMs + + hltHpsPFTauTrackFindingDiscriminator + + hltHpsSelectedPFTausTrackFinding + + hltHpsPFTauTrack +) diff --git a/HLTrigger/Configuration/python/HLT_75e33_cff.py b/HLTrigger/Configuration/python/HLT_75e33_cff.py index 3e64cfbbd2da8..d8df18de06a2f 100644 --- a/HLTrigger/Configuration/python/HLT_75e33_cff.py +++ b/HLTrigger/Configuration/python/HLT_75e33_cff.py @@ -92,6 +92,10 @@ fragment.load("HLTrigger/Configuration/HLT_75e33/eventsetup/trackdnn_source_cfi") fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_AK4PFPuppiJet520_cfi") + +fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_DoubleMediumChargedIsoPFTauHPS40_eta2p1_cfi") +fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_DoubleMediumDeepTauPFTauHPS35_eta2p1_cfi") + fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_Diphoton30_23_IsoCaloId_L1Seeded_cfi") fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_Diphoton30_23_IsoCaloId_Unseeded_cfi") fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_DoubleEle23_12_Iso_L1Seeded_cfi") @@ -283,6 +287,9 @@ fragment.HLT_DoubleEle23_12_Iso_L1Seeded, fragment.HLT_Diphoton30_23_IsoCaloId_L1Seeded, + fragment.HLT_DoubleMediumChargedIsoPFTauHPS40_eta2p1, + fragment.HLT_DoubleMediumDeepTauPFTauHPS35_eta2p1, + ### Removed temporarily until final decision on L1T tau Phase-2 #fragment.L1T_DoubleNNTau52, #fragment.L1T_SingleNNTau150,