File indexing completed on 2024-08-27 22:59:30
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def DeepTauId(**kwargs):
0004 mod = cms.EDProducer('DeepTauId',
0005 electrons = cms.InputTag('slimmedElectrons'),
0006 muons = cms.InputTag('slimmedMuons'),
0007 taus = cms.InputTag('slimmedTaus'),
0008 pfcands = cms.InputTag('packedPFCandidates'),
0009 vertices = cms.InputTag('offlineSlimmedPrimaryVertices'),
0010 rho = cms.InputTag('fixedGridRhoAll'),
0011 mem_mapped = cms.bool(False),
0012 year = cms.uint32(2017),
0013 version = cms.uint32(2),
0014 sub_version = cms.uint32(1),
0015 debug_level = cms.int32(0),
0016 disable_dxy_pca = cms.bool(False),
0017 disable_hcalFraction_workaround = cms.bool(False),
0018 disable_CellIndex_workaround = cms.bool(False),
0019 save_inputs = cms.bool(False),
0020 is_online = cms.bool(False),
0021 VSeWP = cms.vstring('-1.'),
0022 VSmuWP = cms.vstring('-1.'),
0023 VSjetWP = cms.vstring('-1.'),
0024 basicTauDiscriminators = cms.untracked.InputTag('basicTauDiscriminators'),
0025 basicTauDiscriminatorsdR03 = cms.untracked.InputTag('basicTauDiscriminatorsdR03'),
0026 pfTauTransverseImpactParameters = cms.InputTag('hpsPFTauTransverseImpactParameters'),
0027 Prediscriminants = cms.PSet(
0028 BooleanOperator = cms.string('and'),
0029 decayMode = cms.PSet(
0030 cut = cms.required.double,
0031 Producer = cms.required.InputTag
0032 )
0033 ),
0034 graph_file = cms.vstring('RecoTauTag/TrainingFiles/data/DeepTauId/deepTau_2017v2p6_e6.pb'),
0035 mightGet = cms.optional.untracked.vstring
0036 )
0037 for k,v in kwargs.items():
0038 setattr(mod, k, v)
0039 return mod