Skip to content

Commit

Permalink
Merge pull request #42649 from hsert/tauHLTPhase2_dev_backportCMSSW_1…
Browse files Browse the repository at this point in the history
…3_1_X

FirstVersionsofDiTauHLTPaths_forPhase2 [13_1_X]
  • Loading branch information
cmsbuild authored Aug 24, 2023
2 parents cfb756f + e2c2781 commit b046993
Show file tree
Hide file tree
Showing 34 changed files with 1,386 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 )
)
Original file line number Diff line number Diff line change
@@ -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 )
)
Original file line number Diff line number Diff line change
@@ -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 )
)
)
)
Original file line number Diff line number Diff line change
@@ -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 )
)
Original file line number Diff line number Diff line change
@@ -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 )
)
Original file line number Diff line number Diff line change
@@ -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(
)
)
Loading

0 comments on commit b046993

Please sign in to comment.