Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def BTagProbabilityToDiscriminator(**kwargs):
0004   mod = cms.EDProducer('BTagProbabilityToDiscriminator',
0005     discriminators = cms.VPSet(
0006       cms.PSet(
0007         denominator = cms.VInputTag(),
0008         name = cms.string('BvsAll'),
0009         numerator = cms.VInputTag(
0010           'pfDeepCSVJetTags:probb',
0011           'pfDeepCSVJetTags:probbb'
0012         )
0013       ),
0014       cms.PSet(
0015         denominator = cms.VInputTag(
0016           'pfDeepCSVJetTags:probc',
0017           'pfDeepCSVJetTags:probb',
0018           'pfDeepCSVJetTags:probbb'
0019         ),
0020         name = cms.string('CvsB'),
0021         numerator = cms.VInputTag('pfDeepCSVJetTags:probc')
0022       ),
0023       cms.PSet(
0024         denominator = cms.VInputTag(
0025           'pfDeepCSVJetTags:probudsg',
0026           'pfDeepCSVJetTags:probc'
0027         ),
0028         name = cms.string('CvsL'),
0029         numerator = cms.VInputTag('pfDeepCSVJetTags:probc')
0030       )
0031     ),
0032     mightGet = cms.optional.untracked.vstring
0033   )
0034   for k,v in kwargs.items():
0035     setattr(mod, k, v)
0036   return mod