1 import FWCore.ParameterSet.Config
as cms
4 from RecoBTag.CTagging.training_settings
import c_vs_l_vars_vpset, c_vs_b_vars_vpset
6 charmTagsComputerCvsL = cms.ESProducer(
7 'CharmTaggerESProducer',
9 slComputerCfg = cms.PSet(
10 **sl_cfg.candidateCombinedSecondaryVertexSoftLeptonComputer.parameters_()
12 weightFile = cms.FileInPath(
'RecoBTag/CTagging/data/c_vs_udsg.weight.xml'),
13 variables = c_vs_l_vars_vpset,
14 computer = cms.ESInputTag(
'combinedSecondaryVertexSoftLeptonComputer'),
15 tagInfos = cms.VInputTag(
16 cms.InputTag(
'pfImpactParameterTagInfos'),
17 cms.InputTag(
'pfInclusiveSecondaryVertexFinderCvsLTagInfos'),
18 cms.InputTag(
'softPFMuonsTagInfos'),
19 cms.InputTag(
'softPFElectronsTagInfos'),
21 mvaName = cms.string(
'BDT'),
22 useCondDB = cms.bool(
False),
23 gbrForestLabel = cms.string(
''),
24 useGBRForest = cms.bool(
True),
25 useAdaBoost = cms.bool(
False)
28 charmTagsComputerCvsB = charmTagsComputerCvsL.clone(
29 weightFile = cms.FileInPath(
'RecoBTag/CTagging/data/c_vs_b.weight.xml'),
30 variables = c_vs_b_vars_vpset