test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauDiscriminationAgainstElectronMVA4GBR_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
3 
4 pfRecoTauDiscriminationAgainstElectronMVA4GBR = cms.EDProducer(
5  "PFRecoTauDiscriminationAgainstElectronMVA4GBR",
6 
7  # tau collection to discriminate
8  PFTauProducer = cms.InputTag('pfTauProducer'),
9 
10  # Require leading pion ensures that:
11  # 1) these is at least one track above threshold (0.5 GeV) in the signal cone
12  # 2) a track OR a pi-zero in the signal cone has pT > 5 GeV
13  Prediscriminants = requireLeadTrack,
14 
15  method = cms.string("BDTG"),
16 
17  gbrFile = cms.FileInPath('RecoTauTag/RecoTau/data/gbrDiscriminationAgainstElectronMVA4_v18.root'),
18 
19  returnMVA = cms.bool(True),
20 
21  minMVANoEleMatchWOgWOgsfBL = cms.double(0.0),
22  minMVANoEleMatchWOgWgsfBL = cms.double(0.0),
23  minMVANoEleMatchWgWOgsfBL = cms.double(0.0),
24  minMVANoEleMatchWgWgsfBL = cms.double(0.0),
25  minMVAWOgWOgsfBL = cms.double(0.0),
26  minMVAWOgWgsfBL = cms.double(0.0),
27  minMVAWgWOgsfBL = cms.double(0.0),
28  minMVAWgWgsfBL = cms.double(0.0),
29  minMVANoEleMatchWOgWOgsfEC = cms.double(0.0),
30  minMVANoEleMatchWOgWgsfEC = cms.double(0.0),
31  minMVANoEleMatchWgWOgsfEC = cms.double(0.0),
32  minMVANoEleMatchWgWgsfEC = cms.double(0.0),
33  minMVAWOgWOgsfEC = cms.double(0.0),
34  minMVAWOgWgsfEC = cms.double(0.0),
35  minMVAWgWOgsfEC = cms.double(0.0),
36  minMVAWgWgsfEC = cms.double(0.0),
37 
38  srcGsfElectrons = cms.InputTag('gedGsfElectrons')
39 )