File indexing completed on 2025-02-07 14:24:12
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PFRecoTauDiscriminationAgainstMuonSimple(*args, **kwargs):
0004 mod = cms.EDProducer('PFRecoTauDiscriminationAgainstMuonSimple',
0005 PFTauProducer = cms.InputTag('pfRecoTauProducer'),
0006 Prediscriminants = cms.PSet(
0007 BooleanOperator = cms.string('and'),
0008 leadTrack = cms.PSet(
0009 cut = cms.required.double,
0010 Producer = cms.required.InputTag
0011 )
0012 ),
0013 IDWPdefinitions = cms.VPSet(
0014 cms.PSet(
0015 HoPMin = cms.double(0.2),
0016 IDname = cms.string('ByLooseMuonRejectionSimple'),
0017 doCaloMuonVeto = cms.bool(True),
0018 maxNumberOfHitsLast2Stations = cms.int32(-1),
0019 maxNumberOfMatches = cms.int32(1),
0020 maxNumberOfRPCMuons = cms.int32(-1),
0021 maxNumberOfSTAMuons = cms.int32(-1)
0022 )
0023 ),
0024 IDdefinitions = cms.VPSet(
0025 ),
0026 srcPatMuons = cms.InputTag('slimmedMuons'),
0027 dRmuonMatch = cms.double(0.3),
0028 dRmuonMatchLimitedToJetArea = cms.bool(False),
0029 minPtMatchedMuon = cms.double(5),
0030 maskMatchesDT = cms.vint32(
0031 0,
0032 0,
0033 0,
0034 0
0035 ),
0036 maskMatchesCSC = cms.vint32(
0037 1,
0038 0,
0039 0,
0040 0
0041 ),
0042 maskMatchesRPC = cms.vint32(
0043 0,
0044 0,
0045 0,
0046 0
0047 ),
0048 maskHitsDT = cms.vint32(
0049 0,
0050 0,
0051 0,
0052 0
0053 ),
0054 maskHitsCSC = cms.vint32(
0055 0,
0056 0,
0057 0,
0058 0
0059 ),
0060 maskHitsRPC = cms.vint32(
0061 0,
0062 0,
0063 0,
0064 0
0065 ),
0066 verbosity = cms.int32(0),
0067 mightGet = cms.optional.untracked.vstring
0068 )
0069 for a in args:
0070 mod.update_(a)
0071 mod.update_(kwargs)
0072 return mod