Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoBTag.CTagging.charmTagsComputerCvsL_cfi import *
0004 
0005 charmTagsComputerCvsB = charmTagsComputerCvsL.clone(
0006    weightFile = 'RecoBTag/CTagging/data/c_vs_b_sklearn.weight.xml',   
0007    variables = c_vs_b_vars_vpset
0008    )
0009 
0010 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0011 phase1Pixel.toModify(charmTagsComputerCvsB, weightFile = 'RecoBTag/CTagging/data/c_vs_b_PhaseI.xml')
0012 
0013 #
0014 # Negative tagger
0015 #
0016 
0017 charmTagsNegativeComputerCvsL = charmTagsComputerCvsL.clone(
0018     slComputerCfg = dict(vertexFlip     = True,
0019              trackFlip      = True,
0020              SoftLeptonFlip = True,
0021              trackSelection = dict(sip3dSigMax = 0),
0022              trackPseudoSelection = dict(
0023                 sip3dSigMax = 0,
0024                 sip2dSigMin = -99999.9,
0025                 sip2dSigMax = -2.0   )
0026     )
0027 )
0028 charmTagsNegativeComputerCvsB = charmTagsComputerCvsB.clone(
0029     slComputerCfg = dict(vertexFlip     = True,
0030              trackFlip      = True,
0031              SoftLeptonFlip = True,
0032              trackSelection = dict(sip3dSigMax = 0),
0033              trackPseudoSelection = dict(
0034                 sip3dSigMax = 0,
0035                 sip2dSigMin = -99999.9,
0036                 sip2dSigMax = -2.0   )
0037     )
0038 )
0039 #
0040 # Positive tagger
0041 #
0042 
0043 charmTagsPositiveComputerCvsL = charmTagsComputerCvsL.clone(
0044     slComputerCfg = dict(trackSelection = dict(sip3dSigMin = 0),
0045                          trackPseudoSelection = dict(sip3dSigMin = 0))
0046 )
0047 charmTagsPositiveComputerCvsB = charmTagsComputerCvsB.clone(
0048     slComputerCfg = dict(trackSelection = dict(sip3dSigMin = 0),
0049                          trackPseudoSelection = dict(sip3dSigMin = 0))
0050 )