CMS 3D CMS Logo

PATTauDiscriminationAgainstElectronMVA6_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 patTauDiscriminationAgainstElectronMVA6 = cms.EDProducer("PATTauDiscriminationAgainstElectronMVA6",
6  # tau collection to discriminate
7  PATTauProducer = cms.InputTag('slimmedTaus'),
8 
9  # Require leading pion ensures that:
10  # 1) these is at least one track above threshold (0.5 GeV) in the signal cone
11  # 2) a track OR a pi-zero in the signal cone has pT > 5 GeV
12  Prediscriminants = requireLeadTrack,
13 
14  method = cms.string("BDTG"),
15  loadMVAfromDB = cms.bool(True),
16  returnMVA = cms.bool(True),
17 
18  mvaName_NoEleMatch_woGwoGSF_BL = cms.string("gbr_NoEleMatch_woGwoGSF_BL"),
19  mvaName_NoEleMatch_wGwoGSF_BL = cms.string("gbr_NoEleMatch_wGwoGSF_BL"),
20  mvaName_woGwGSF_BL = cms.string("gbr_woGwGSF_BL"),
21  mvaName_wGwGSF_BL = cms.string("gbr_wGwGSF_BL"),
22  mvaName_NoEleMatch_woGwoGSF_EC = cms.string("gbr_NoEleMatch_woGwoGSF_EC"),
23  mvaName_NoEleMatch_wGwoGSF_EC = cms.string("gbr_NoEleMatch_wGwoGSF_EC"),
24  mvaName_woGwGSF_EC = cms.string("gbr_woGwGSF_EC"),
25  mvaName_wGwGSF_EC = cms.string("gbr_wGwGSF_EC"),
26 
27  minMVANoEleMatchWOgWOgsfBL = cms.double(0.0),
28  minMVANoEleMatchWgWOgsfBL = cms.double(0.0),
29  minMVAWOgWgsfBL = cms.double(0.0),
30  minMVAWgWgsfBL = cms.double(0.0),
31  minMVANoEleMatchWOgWOgsfEC = cms.double(0.0),
32  minMVANoEleMatchWgWOgsfEC = cms.double(0.0),
33  minMVAWOgWgsfEC = cms.double(0.0),
34  minMVAWgWgsfEC = cms.double(0.0),
35 
36  srcElectrons = cms.InputTag('slimmedElectrons'),
37  usePhiAtEcalEntranceExtrapolation = cms.bool(False)
38 )