Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 from RecoBTag.Combined.pfDeepCSVTagInfos_cfi import pfDeepCSVTagInfos
0003 from RecoBTag.Combined.pfDeepCMVATagInfos_cfi import pfDeepCMVATagInfos
0004 from RecoBTag.Combined.pfDeepCSVJetTags_cfi import pfDeepCSVJetTags 
0005 from RecoBTag.Combined.pfDeepCSVDiscriminatorsJetTags_cfi import pfDeepCSVDiscriminatorsJetTags
0006 from RecoBTag.Combined.pfDeepCMVAJetTags_cfi import pfDeepCMVAJetTags
0007 from RecoBTag.Combined.pfDeepCMVADiscriminatorsJetTags_cfi import pfDeepCMVADiscriminatorsJetTags
0008 
0009 ##
0010 ## Negative and positive taggers for light SF estimation
0011 ##
0012 
0013 pfDeepCSVNegativeTagInfos = pfDeepCSVTagInfos.clone(
0014     svTagInfos='pfInclusiveSecondaryVertexFinderNegativeTagInfos',
0015     computer = dict(
0016         vertexFlip = True,
0017         trackFlip = True,
0018         trackSelection = dict( 
0019             sip3dSigMax = 10.0
0020             ),
0021         trackPseudoSelection = dict(
0022             sip3dSigMax = 10.0,
0023             sip2dSigMin = -99999.9,
0024             sip2dSigMax = -2.0
0025             )
0026         )
0027     )
0028 
0029 pfNegativeDeepCSVJetTags = pfDeepCSVJetTags.clone(
0030     src='pfDeepCSVNegativeTagInfos'
0031     )
0032 
0033 pfDeepCSVPositiveTagInfos = pfDeepCSVTagInfos.clone(
0034     computer = dict(
0035         trackSelection = dict( 
0036             sip3dSigMin = 0
0037             ),
0038         trackPseudoSelection = dict(
0039             sip3dSigMin = 0
0040             )
0041         )
0042 
0043     )
0044 
0045 pfPositiveDeepCSVJetTags = pfDeepCSVJetTags.clone(
0046     src='pfDeepCSVPositiveTagInfos'
0047     )
0048 
0049 # Deep CMVA
0050 pfDeepCMVANegativeTagInfos = pfDeepCMVATagInfos.clone(
0051     deepNNTagInfos = 'pfDeepCSVNegativeTagInfos'
0052     )
0053     
0054 pfNegativeDeepCMVAJetTags = pfDeepCMVAJetTags.clone(
0055     src='pfDeepCMVANegativeTagInfos'
0056     )
0057 
0058 pfDeepCMVAPositiveTagInfos = pfDeepCMVATagInfos.clone(
0059     deepNNTagInfos = 'pfDeepCSVPositiveTagInfos'
0060     )
0061 pfPositiveDeepCMVAJetTags = pfDeepCMVAJetTags.clone(
0062     src='pfDeepCMVAPositiveTagInfos'
0063     )
0064 
0065 
0066 
0067 ## Deep CSV+CMVA sequence, not complete as it would need the IP and SV tag infos
0068 pfDeepCSVTask = cms.Task(
0069     pfDeepCSVTagInfos,
0070     pfDeepCMVATagInfos, #SKIP for the moment
0071     pfDeepCSVJetTags,
0072     pfDeepCMVAJetTags
0073 )
0074 
0075 pfDeepCSV = cms.Sequence(pfDeepCSVTask)