File indexing completed on 2024-08-27 22:59:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PFRecoTauDiscriminationAgainstElectron(**kwargs):
0004 mod = cms.EDProducer('PFRecoTauDiscriminationAgainstElectron',
0005 ApplyCut_ElectronPreID_2D = cms.bool(False),
0006 ElecPreID0_HOverPLead_minValue = cms.double(0.05),
0007 PFTauProducer = cms.InputTag('pfRecoTauProducer'),
0008 ApplyCut_ElectronPreID = cms.bool(False),
0009 ApplyCut_HcalTotOverPLead = cms.bool(False),
0010 EOverPLead_minValue = cms.double(0.8),
0011 ElecPreID1_EOverPLead_maxValue = cms.double(0.8),
0012 HcalMaxOverPLead_minValue = cms.double(0.1),
0013 BremCombined_HOP = cms.double(0.1),
0014 ApplyCut_EmFraction = cms.bool(False),
0015 EmFraction_maxValue = cms.double(0.9),
0016 BremCombined_Mass = cms.double(0.55),
0017 ApplyCut_PFElectronMVA = cms.bool(True),
0018 PFElectronMVA_maxValue = cms.double(-0.1),
0019 ApplyCut_HcalMaxOverPLead = cms.bool(False),
0020 Prediscriminants = cms.PSet(
0021 BooleanOperator = cms.string('and'),
0022 leadTrack = cms.PSet(
0023 cut = cms.required.double,
0024 Producer = cms.required.InputTag
0025 )
0026 ),
0027 ApplyCut_BremCombined = cms.bool(False),
0028 Hcal3x3OverPLead_minValue = cms.double(0.1),
0029 ElecPreID1_HOverPLead_minValue = cms.double(0.15),
0030 ElecPreID0_EOverPLead_maxValue = cms.double(0.95),
0031 BremsRecoveryEOverPLead_minValue = cms.double(0.8),
0032 ApplyCut_EcalCrackCut = cms.bool(False),
0033 BremCombined_StripSize = cms.double(0.03),
0034 EOverPLead_maxValue = cms.double(1.8),
0035 HcalTotOverPLead_minValue = cms.double(0.1),
0036 ApplyCut_BremsRecoveryEOverPLead = cms.bool(False),
0037 ApplyCut_Hcal3x3OverPLead = cms.bool(False),
0038 ApplyCut_EOverPLead = cms.bool(False),
0039 BremCombined_Fraction = cms.double(0.99),
0040 BremsRecoveryEOverPLead_maxValue = cms.double(1.8),
0041 mightGet = cms.optional.untracked.vstring
0042 )
0043 for k,v in kwargs.items():
0044 setattr(mod, k, v)
0045 return mod