CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauDiscriminationAgainstElectron_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 pfRecoTauDiscriminationAgainstElectron = cms.EDProducer("PFRecoTauDiscriminationAgainstElectron",
5 
6  # tau collection to discriminate
7  PFTauProducer = cms.InputTag('pfRecoTauProducer'),
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  ApplyCut_EmFraction = cms.bool(False),
15  EmFraction_maxValue = cms.double(0.9),
16 
17  ApplyCut_HcalTotOverPLead = cms.bool(False),
18  HcalTotOverPLead_minValue = cms.double(0.1),
19 
20  ApplyCut_Hcal3x3OverPLead = cms.bool(False),
21  Hcal3x3OverPLead_minValue = cms.double(0.1),
22 
23  ApplyCut_HcalMaxOverPLead = cms.bool(False),
24  HcalMaxOverPLead_minValue = cms.double(0.1),
25 
26  ApplyCut_EOverPLead = cms.bool(False),
27  EOverPLead_maxValue = cms.double(1.8), ## Upper cut away window threshold#
28  EOverPLead_minValue = cms.double(0.8), ## Lower cut away window threshold
29 
30  ApplyCut_BremsRecoveryEOverPLead = cms.bool(False),
31  BremsRecoveryEOverPLead_minValue = cms.double(0.8), ## Lower cut away window threshold
32  BremsRecoveryEOverPLead_maxValue = cms.double(1.8), ##Upper cut away window threshold
33 
34  ApplyCut_ElectronPreID = cms.bool(False), # Electron PreID only
35 
36  ApplyCut_ElectronPreID_2D = cms.bool(False),
37  ElecPreID0_EOverPLead_maxValue = cms.double(0.95),
38  ElecPreID0_HOverPLead_minValue = cms.double(0.05),
39  ElecPreID1_EOverPLead_maxValue = cms.double(0.8),
40  ElecPreID1_HOverPLead_minValue = cms.double(0.15),
41 
42  ApplyCut_PFElectronMVA = cms.bool(True),
43  PFElectronMVA_maxValue = cms.double(-0.1),
44 
45  ApplyCut_EcalCrackCut = cms.bool(False),
46 
47  ApplyCut_BremCombined = cms.bool(False),
48  BremCombined_Fraction = cms.double(0.99),
49  BremCombined_HOP = cms.double(0.1),
50  BremCombined_Mass = cms.double(0.55),
51  BremCombined_StripSize = cms.double(0.03)
52 
53 
54 )
55 
56