CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauDiscriminationAgainstElectronMVA2_cfi.py
Go to the documentation of this file.
2 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
3 
4 pfRecoTauDiscriminationAgainstElectronMVA2 = cms.EDProducer(
5  "PFRecoTauDiscriminationAgainstElectronMVA2",
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("BDT"),
16 
17  inputFileName1prongNoEleMatchBL = \
18  cms.FileInPath('RecoTauTag/RecoTau/data/TMVAClassification_v5_NoEleMatch_Barrel_BDTG.weights.xml.gz'),
19  inputFileName1prongBL = \
20  cms.FileInPath('RecoTauTag/RecoTau/data/TMVAClassification_v5_woG_Barrel_BDTG.weights.xml.gz'),
21  inputFileName1prongStripsWOgsfBL = \
22  cms.FileInPath('RecoTauTag/RecoTau/data/TMVAClassification_v5_wGwoGSF_Barrel_BDTG.weights.xml.gz'),
23  inputFileName1prongStripsWgsfWOpfEleMvaBL = \
24  cms.FileInPath('RecoTauTag/RecoTau/data/TMVAClassification_v5_wGwGSFwoPFMVA_Barrel_BDTG.weights.xml.gz'),
25  inputFileName1prongStripsWgsfWpfEleMvaBL = \
26  cms.FileInPath('RecoTauTag/RecoTau/data/TMVAClassification_v5_wGwGSFwPFMVA_Barrel_BDTG.weights.xml.gz'),
27 
28  inputFileName1prongNoEleMatchEC = \
29  cms.FileInPath('RecoTauTag/RecoTau/data/TMVAClassification_v5_NoEleMatch_Endcap_BDTG.weights.xml.gz'),
30  inputFileName1prongEC = \
31  cms.FileInPath('RecoTauTag/RecoTau/data/TMVAClassification_v5_woG_Endcap_BDTG.weights.xml.gz'),
32  inputFileName1prongStripsWOgsfEC = \
33  cms.FileInPath('RecoTauTag/RecoTau/data/TMVAClassification_v5_wGwoGSF_Endcap_BDTG.weights.xml.gz'),
34  inputFileName1prongStripsWgsfWOpfEleMvaEC = \
35  cms.FileInPath('RecoTauTag/RecoTau/data/TMVAClassification_v5_wGwGSFwoPFMVA_Endcap_BDTG.weights.xml.gz'),
36  inputFileName1prongStripsWgsfWpfEleMvaEC = \
37  cms.FileInPath('RecoTauTag/RecoTau/data/TMVAClassification_v5_wGwGSFwPFMVA_Endcap_BDTG.weights.xml.gz'),
38 
39  returnMVA = cms.bool(True),
40 
41  minMVA1prongNoEleMatchBL = cms.double(0.0),
42  minMVA1prongBL = cms.double(0.0),
43  minMVA1prongStripsWOgsfBL = cms.double(0.0),
44  minMVA1prongStripsWgsfWOpfEleMvaBL = cms.double(0.0),
45  minMVA1prongStripsWgsfWpfEleMvaBL = cms.double(0.0),
46  minMVA1prongNoEleMatchEC = cms.double(0.0),
47  minMVA1prongEC = cms.double(0.0),
48  minMVA1prongStripsWOgsfEC = cms.double(0.0),
49  minMVA1prongStripsWgsfWOpfEleMvaEC = cms.double(0.0),
50  minMVA1prongStripsWgsfWpfEleMvaEC = cms.double(0.0),
51 
52  srcGsfElectrons = cms.InputTag('gsfElectrons')
53 )