File indexing completed on 2024-08-27 22:59:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PFRecoTauDiscriminationAgainstElectron2(**kwargs):
0004 mod = cms.EDProducer('PFRecoTauDiscriminationAgainstElectron2',
0005 rejectTausInEcalCrack = cms.bool(False),
0006 PFTauProducer = cms.InputTag('pfRecoTauProducer'),
0007 applyCut_GammaEnFrac = cms.bool(True),
0008 applyCut_HLTSpecific = cms.bool(True),
0009 GammaEnFrac_barrel_max = cms.double(0.15),
0010 keepTausInEcalCrack = cms.bool(True),
0011 Prediscriminants = cms.PSet(
0012 BooleanOperator = cms.string('and'),
0013 leadTrack = cms.PSet(
0014 cut = cms.required.double,
0015 Producer = cms.required.InputTag
0016 )
0017 ),
0018 applyCut_GammaPhiMom = cms.bool(False),
0019 GammaPhiMom_endcap_max = cms.double(1.5),
0020 GammaPhiMom_barrel_max = cms.double(1.5),
0021 applyCut_leadPFChargedHadrEoP = cms.bool(True),
0022 LeadPFChargedHadrEoP_barrel_max = cms.double(1.01),
0023 GammaEtaMom_endcap_max = cms.double(1.5),
0024 GammaEtaMom_barrel_max = cms.double(1.5),
0025 Hcal3x3OverPLead_endcap_max = cms.double(0.1),
0026 LeadPFChargedHadrEoP_barrel_min = cms.double(0.99),
0027 LeadPFChargedHadrEoP_endcap_max2 = cms.double(1.01),
0028 LeadPFChargedHadrEoP_endcap_min1 = cms.double(0.7),
0029 LeadPFChargedHadrEoP_endcap_min2 = cms.double(0.99),
0030 LeadPFChargedHadrEoP_endcap_max1 = cms.double(1.3),
0031 verbosity = cms.int32(0),
0032 GammaEnFrac_endcap_max = cms.double(0.2),
0033 applyCut_hcal3x3OverPLead = cms.bool(True),
0034 applyCut_GammaEtaMom = cms.bool(False),
0035 etaCracks = cms.vstring(
0036 '0.0:0.018',
0037 '0.423:0.461',
0038 '0.770:0.806',
0039 '1.127:1.163',
0040 '1.460:1.558'
0041 ),
0042 Hcal3x3OverPLead_barrel_max = cms.double(0.2),
0043 mightGet = cms.optional.untracked.vstring
0044 )
0045 for k,v in kwargs.items():
0046 setattr(mod, k, v)
0047 return mod