Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-20 03:45:09

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