File indexing completed on 2024-08-27 22:59:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PFRecoTauDiscriminationAgainstMuonMVA(**kwargs):
0004 mod = cms.EDProducer('PFRecoTauDiscriminationAgainstMuonMVA',
0005 mvaMin = cms.double(0),
0006 mvaName = cms.string('againstMuonMVA'),
0007 PFTauProducer = cms.InputTag('pfTauProducer'),
0008 verbosity = cms.int32(0),
0009 returnMVA = cms.bool(True),
0010 inputFileName = cms.FileInPath('RecoTauTag/RecoTau/data/emptyMVAinputFile'),
0011 loadMVAfromDB = cms.bool(True),
0012 Prediscriminants = cms.PSet(
0013 BooleanOperator = cms.string('and'),
0014 leadTrack = cms.PSet(
0015 cut = cms.required.double,
0016 Producer = cms.required.InputTag
0017 )
0018 ),
0019 dRmuonMatch = cms.double(0.3),
0020 srcMuons = cms.InputTag('muons'),
0021 mightGet = cms.optional.untracked.vstring
0022 )
0023 for k,v in kwargs.items():
0024 setattr(mod, k, v)
0025 return mod