CMS 3D CMS Logo

PFRecoTauDiscriminationAgainstElectronMVA6_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
4 
5 pfRecoTauDiscriminationAgainstElectronMVA6 = cms.EDProducer("PFRecoTauDiscriminationAgainstElectronMVA6",
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  loadMVAfromDB = cms.bool(True),
17  returnMVA = cms.bool(True),
18 
19  mvaName_NoEleMatch_woGwoGSF_BL = cms.string("gbr_NoEleMatch_woGwoGSF_BL"),
20  mvaName_NoEleMatch_wGwoGSF_BL = cms.string("gbr_NoEleMatch_wGwoGSF_BL"),
21  mvaName_woGwGSF_BL = cms.string("gbr_woGwGSF_BL"),
22  mvaName_wGwGSF_BL = cms.string("gbr_wGwGSF_BL"),
23  mvaName_NoEleMatch_woGwoGSF_EC = cms.string("gbr_NoEleMatch_woGwoGSF_EC"),
24  mvaName_NoEleMatch_wGwoGSF_EC = cms.string("gbr_NoEleMatch_wGwoGSF_EC"),
25  mvaName_woGwGSF_EC = cms.string("gbr_woGwGSF_EC"),
26  mvaName_wGwGSF_EC = cms.string("gbr_wGwGSF_EC"),
27 
28  minMVANoEleMatchWOgWOgsfBL = cms.double(0.0),
29  minMVANoEleMatchWgWOgsfBL = cms.double(0.0),
30  minMVAWOgWgsfBL = cms.double(0.0),
31  minMVAWgWgsfBL = cms.double(0.0),
32  minMVANoEleMatchWOgWOgsfEC = cms.double(0.0),
33  minMVANoEleMatchWgWOgsfEC = cms.double(0.0),
34  minMVAWOgWgsfEC = cms.double(0.0),
35  minMVAWgWgsfEC = cms.double(0.0),
36 
37  srcGsfElectrons = cms.InputTag('gedGsfElectrons'),
38  vetoEcalCracks = cms.bool(True),
39  usePhiAtEcalEntranceExtrapolation = cms.bool(False),
40  verbosity = cms.int32(0)
41 )