Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:54

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PFRecoTauDiscriminationByNProngs(**kwargs):
0004   mod = cms.EDProducer('PFRecoTauDiscriminationByNProngs',
0005     qualityCuts = cms.PSet(
0006       signalQualityCuts = cms.PSet(
0007         minTrackPt = cms.double(0.5),
0008         maxTrackChi2 = cms.double(100),
0009         maxTransverseImpactParameter = cms.double(0.1),
0010         maxDeltaZ = cms.double(0.4),
0011         maxDeltaZToLeadTrack = cms.double(-1),
0012         minTrackVertexWeight = cms.double(-1),
0013         minTrackPixelHits = cms.uint32(0),
0014         minTrackHits = cms.uint32(3),
0015         minGammaEt = cms.double(1),
0016         useTracksInsteadOfPFHadrons = cms.optional.bool,
0017         minNeutralHadronEt = cms.double(30)
0018       ),
0019       isolationQualityCuts = cms.PSet(
0020         minTrackPt = cms.double(1),
0021         maxTrackChi2 = cms.double(100),
0022         maxTransverseImpactParameter = cms.double(0.03),
0023         maxDeltaZ = cms.double(0.2),
0024         maxDeltaZToLeadTrack = cms.double(-1),
0025         minTrackVertexWeight = cms.double(-1),
0026         minTrackPixelHits = cms.uint32(0),
0027         minTrackHits = cms.uint32(8),
0028         minGammaEt = cms.double(1.5),
0029         useTracksInsteadOfPFHadrons = cms.optional.bool
0030       ),
0031       vxAssocQualityCuts = cms.PSet(
0032         minTrackPt = cms.double(0.5),
0033         maxTrackChi2 = cms.double(100),
0034         maxTransverseImpactParameter = cms.double(0.1),
0035         minTrackVertexWeight = cms.double(-1),
0036         minTrackPixelHits = cms.uint32(0),
0037         minTrackHits = cms.uint32(3),
0038         minGammaEt = cms.double(1),
0039         useTracksInsteadOfPFHadrons = cms.optional.bool
0040       ),
0041       primaryVertexSrc = cms.InputTag('offlinePrimaryVertices'),
0042       pvFindingAlgo = cms.string('closestInDeltaZ'),
0043       vertexTrackFiltering = cms.bool(False),
0044       recoverLeadingTrk = cms.bool(False),
0045       leadingTrkOrPFCandOption = cms.string('leadPFCand')
0046     ),
0047     Prediscriminants = cms.PSet(
0048       BooleanOperator = cms.string('and')
0049     ),
0050     BooleanOutput = cms.bool(True),
0051     PFTauProducer = cms.InputTag('combinatoricRecoTaus'),
0052     MinN = cms.uint32(1),
0053     MaxN = cms.uint32(0),
0054     mightGet = cms.optional.untracked.vstring
0055   )
0056   for k,v in kwargs.items():
0057     setattr(mod, k, v)
0058   return mod