Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:58:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 softPFElectronCommon = cms.PSet(
0004     useCondDB = cms.bool(True),
0005     gbrForestLabel = cms.string("btag_SoftPFElectron_BDT"),
0006     weightFile = cms.FileInPath('RecoBTag/SoftLepton/data/SoftPFElectron_BDT.weights.xml.gz'),
0007     useGBRForest = cms.bool(True),
0008     useAdaBoost = cms.bool(False)
0009 )
0010 
0011 softPFMuonCommon = cms.PSet(
0012     useCondDB = cms.bool(True),
0013     gbrForestLabel = cms.string("btag_SoftPFMuon_BDT"),
0014     weightFile = cms.FileInPath('RecoBTag/SoftLepton/data/SoftPFMuon_BDT.weights.xml.gz'),
0015     useGBRForest = cms.bool(True),
0016     useAdaBoost = cms.bool(True)
0017 )
0018 
0019 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0020 run3_common.toModify(
0021     softPFElectronCommon,
0022     useCondDB = cms.bool(False),
0023 ).toModify(
0024     softPFMuonCommon,
0025     useCondDB = cms.bool(False),
0026 )
0027 
0028 softPFElectronComputer = cms.ESProducer("ElectronTaggerESProducer",
0029     softPFElectronCommon,
0030     ipSign = cms.string("any"),
0031 )
0032 
0033 negativeSoftPFElectronComputer = cms.ESProducer("ElectronTaggerESProducer",
0034     softPFElectronCommon,
0035     ipSign = cms.string("negative")
0036 )
0037 
0038 positiveSoftPFElectronComputer = cms.ESProducer("ElectronTaggerESProducer",
0039     softPFElectronCommon,
0040     ipSign = cms.string("positive")
0041 )
0042 
0043 softPFMuonComputer = cms.ESProducer("MuonTaggerESProducer",
0044     softPFMuonCommon,
0045     ipSign = cms.string("any")
0046 )
0047 
0048 negativeSoftPFMuonComputer = cms.ESProducer("MuonTaggerESProducer",
0049     softPFMuonCommon,
0050     ipSign = cms.string("negative")
0051 )
0052 
0053 positiveSoftPFMuonComputer = cms.ESProducer("MuonTaggerESProducer",
0054     softPFMuonCommon,
0055     ipSign = cms.string("positive")
0056 )