File indexing completed on 2024-11-23 03:28:27
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PFRecoTauDiscriminationByIsolationContainer(*args, **kwargs):
0004 mod = cms.EDProducer('PFRecoTauDiscriminationByIsolationContainer',
0005 PFTauProducer = cms.InputTag('pfRecoTauProducer'),
0006 qualityCuts = cms.PSet(
0007 signalQualityCuts = cms.PSet(
0008 minTrackPt = cms.double(0.5),
0009 maxTrackChi2 = cms.double(100),
0010 maxTransverseImpactParameter = cms.double(0.1),
0011 maxDeltaZ = cms.double(0.4),
0012 maxDeltaZToLeadTrack = cms.double(-1),
0013 minTrackVertexWeight = cms.double(-1),
0014 minTrackPixelHits = cms.uint32(0),
0015 minTrackHits = cms.uint32(3),
0016 minGammaEt = cms.double(1),
0017 useTracksInsteadOfPFHadrons = cms.optional.bool,
0018 minNeutralHadronEt = cms.double(30)
0019 ),
0020 isolationQualityCuts = cms.PSet(
0021 minTrackPt = cms.double(1),
0022 maxTrackChi2 = cms.double(100),
0023 maxTransverseImpactParameter = cms.double(0.03),
0024 maxDeltaZ = cms.double(0.2),
0025 maxDeltaZToLeadTrack = cms.double(-1),
0026 minTrackVertexWeight = cms.double(-1),
0027 minTrackPixelHits = cms.uint32(0),
0028 minTrackHits = cms.uint32(8),
0029 minGammaEt = cms.double(1.5),
0030 useTracksInsteadOfPFHadrons = cms.optional.bool
0031 ),
0032 vxAssocQualityCuts = cms.PSet(
0033 minTrackPt = cms.double(0.5),
0034 maxTrackChi2 = cms.double(100),
0035 maxTransverseImpactParameter = cms.double(0.1),
0036 minTrackVertexWeight = cms.double(-1),
0037 minTrackPixelHits = cms.uint32(0),
0038 minTrackHits = cms.uint32(3),
0039 minGammaEt = cms.double(1),
0040 useTracksInsteadOfPFHadrons = cms.optional.bool
0041 ),
0042 primaryVertexSrc = cms.InputTag('offlinePrimaryVertices'),
0043 pvFindingAlgo = cms.string('closestInDeltaZ'),
0044 vertexTrackFiltering = cms.bool(False),
0045 recoverLeadingTrk = cms.bool(False),
0046 leadingTrkOrPFCandOption = cms.string('leadPFCand')
0047 ),
0048 minTauPtForNoIso = cms.double(-99),
0049 vertexSrc = cms.InputTag('offlinePrimaryVertices'),
0050 rhoConeSize = cms.double(0.5),
0051 rhoProducer = cms.InputTag('fixedGridRhoFastjetAll'),
0052 footprintCorrections = cms.VPSet(
0053 ),
0054 deltaBetaFactor = cms.string('0.38'),
0055 applyFootprintCorrection = cms.bool(False),
0056 Prediscriminants = cms.PSet(
0057 BooleanOperator = cms.string('and'),
0058 leadTrack = cms.PSet(
0059 cut = cms.double(0.5),
0060 Producer = cms.InputTag('pfRecoTauDiscriminationByLeadingTrackFinding')
0061 ),
0062 decayMode = cms.PSet(
0063 cut = cms.double(0.5),
0064 Producer = cms.InputTag('hpsPFTauDiscriminationByDecayModeFindingNewDMs')
0065 ),
0066 preIso = cms.PSet(
0067 cut = cms.double(0.5),
0068 Producer = cms.InputTag('hpsPFTauDiscriminationByLooseChargedIsolation')
0069 )
0070 ),
0071 verbosity = cms.int32(0),
0072 deltaBetaPUTrackPtCutOverride = cms.bool(False),
0073 applyRhoCorrection = cms.bool(False),
0074 WeightECALIsolation = cms.double(1),
0075 rhoUEOffsetCorrection = cms.double(1),
0076 deltaBetaPUTrackPtCutOverride_val = cms.double(-1.5),
0077 isoConeSizeForDeltaBeta = cms.double(0.5),
0078 customOuterCone = cms.double(-1),
0079 particleFlowSrc = cms.InputTag('particleFlow'),
0080 IDdefinitions = cms.VPSet(
0081 ),
0082 IDWPdefinitions = cms.VPSet(
0083 ),
0084 mightGet = cms.optional.untracked.vstring
0085 )
0086 for a in args:
0087 mod.update_(a)
0088 mod.update_(kwargs)
0089 return mod