CMS 3D CMS Logo

PFRecoTauDiscriminationAgainstElectron2_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 pfRecoTauDiscriminationAgainstElectron2 = cms.EDProducer("PFRecoTauDiscriminationAgainstElectron2",
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  #cuts to be applied
15  keepTausInEcalCrack = cms.bool(True),
16  rejectTausInEcalCrack = cms.bool(False),
17  etaCracks = cms.vstring("0.0:0.018","0.423:0.461","0.770:0.806","1.127:1.163","1.460:1.558"),
18 
19  applyCut_hcal3x3OverPLead = cms.bool(True),
20  applyCut_leadPFChargedHadrEoP = cms.bool(True),
21  applyCut_GammaEtaMom = cms.bool(False),
22  applyCut_GammaPhiMom = cms.bool(False),
23  applyCut_GammaEnFrac = cms.bool(True),
24  applyCut_HLTSpecific = cms.bool(True),
25 
26  LeadPFChargedHadrEoP_barrel_min = cms.double(0.99),
27  LeadPFChargedHadrEoP_barrel_max = cms.double(1.01),
28  Hcal3x3OverPLead_barrel_max = cms.double(0.2),
29  GammaEtaMom_barrel_max = cms.double(1.5),
30  GammaPhiMom_barrel_max = cms.double(1.5),
31  GammaEnFrac_barrel_max = cms.double(0.15),
32  LeadPFChargedHadrEoP_endcap_min1 = cms.double(0.7),
33  LeadPFChargedHadrEoP_endcap_max1 = cms.double(1.3),
34  LeadPFChargedHadrEoP_endcap_min2 = cms.double(0.99),
35  LeadPFChargedHadrEoP_endcap_max2 = cms.double(1.01),
36  Hcal3x3OverPLead_endcap_max = cms.double(0.1),
37  GammaEtaMom_endcap_max = cms.double(1.5),
38  GammaPhiMom_endcap_max = cms.double(1.5),
39  GammaEnFrac_endcap_max = cms.double(0.2),
40  verbosity = cms.int32(0)
41 )
42 
43