CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauDiscriminationAgainstElectronMVA_cfi.py
Go to the documentation of this file.
2 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
3 
4 pfRecoTauDiscriminationAgainstElectronMVA = cms.EDProducer(
5  "PFRecoTauDiscriminationAgainstElectronMVA",
6 
7  # tau collection to discriminate
8  PFTauProducer = cms.InputTag('pfRecoTauProducer'),
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("BDT"),
16  inputFileName1prongBL = cms.FileInPath("RecoTauTag/RecoTau/data/TMVAClassification_v2_X_0BL_BDT.weights.xml.gz"),
17  inputFileName1prongStripsWgsfBL = cms.FileInPath("RecoTauTag/RecoTau/data/TMVAClassification_v2_1_1BL_BDT.weights.xml.gz"),
18  inputFileName1prongStripsWOgsfBL = cms.FileInPath("RecoTauTag/RecoTau/data/TMVAClassification_v2_0_1BL_BDT.weights.xml.gz"),
19  inputFileName1prongEC = cms.FileInPath("RecoTauTag/RecoTau/data/TMVAClassification_v2_X_0EC_BDT.weights.xml.gz"),
20  inputFileName1prongStripsWgsfEC = cms.FileInPath("RecoTauTag/RecoTau/data/TMVAClassification_v2_1_1EC_BDT.weights.xml.gz"),
21  inputFileName1prongStripsWOgsfEC = cms.FileInPath("RecoTauTag/RecoTau/data/TMVAClassification_v2_0_1EC_BDT.weights.xml.gz"),
22 
23  returnMVA = cms.bool(False),
24  minMVA1prongBL = cms.double(0.054),
25  minMVA1prongStripsWgsfBL = cms.double(0.060),
26  minMVA1prongStripsWOgsfBL = cms.double(0.054),
27  minMVA1prongEC = cms.double(0.060),
28  minMVA1prongStripsWgsfEC = cms.double(0.053),
29  minMVA1prongStripsWOgsfEC = cms.double(0.049),
30 )