Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-08-27 22:59:22

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PATTauHybridProducer(**kwargs):
0004   mod = cms.EDProducer('PATTauHybridProducer',
0005     src = cms.InputTag('slimmedTaus'),
0006     jetSource = cms.InputTag('slimmedJetsUpdated'),
0007     dRMax = cms.double(0.4),
0008     jetPtMin = cms.double(20),
0009     jetEtaMax = cms.double(2.5),
0010     UTagLabel = cms.string('pfParticleNetAK4JetTags'),
0011     tagPrefix = cms.string('byUTag'),
0012     UTagScoreNames = cms.vstring(),
0013     UtagPtCorrName = cms.string('ptcorr'),
0014     tauScoreMin = cms.double(-1),
0015     vsJetMin = cms.double(-1),
0016     checkTauScoreIsBest = cms.bool(False),
0017     chargeAssignmentProbMin = cms.double(0.2),
0018     addGenJetMatch = cms.bool(True),
0019     genJetMatch = cms.InputTag('tauGenJetMatch'),
0020     usePFLeptonsAsChargedHadrons = cms.bool(True),
0021     mightGet = cms.optional.untracked.vstring
0022   )
0023   for k,v in kwargs.items():
0024     setattr(mod, k, v)
0025   return mod