File indexing completed on 2024-08-27 22:59:30
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def DeepTauIdSonicProducer(**kwargs):
0004 mod = cms.EDProducer('DeepTauIdSonicProducer',
0005 Client = cms.PSet(
0006 mode = cms.string('PseudoAsync'),
0007 allowedTries = cms.untracked.uint32(0),
0008 verbose = cms.untracked.bool(False),
0009 modelName = cms.required.string,
0010 modelVersion = cms.string(''),
0011 modelConfigPath = cms.required.FileInPath,
0012 preferredServer = cms.untracked.string(''),
0013 timeout = cms.required.untracked.uint32,
0014 timeoutUnit = cms.untracked.string('seconds'),
0015 useSharedMemory = cms.untracked.bool(True),
0016 compression = cms.untracked.string(''),
0017 outputs = cms.untracked.vstring()
0018 ),
0019 electrons = cms.InputTag('slimmedElectrons'),
0020 muons = cms.InputTag('slimmedMuons'),
0021 taus = cms.InputTag('slimmedTaus'),
0022 pfcands = cms.InputTag('packedPFCandidates'),
0023 vertices = cms.InputTag('offlineSlimmedPrimaryVertices'),
0024 rho = cms.InputTag('fixedGridRhoAll'),
0025 mem_mapped = cms.bool(False),
0026 year = cms.uint32(2017),
0027 version = cms.uint32(2),
0028 sub_version = cms.uint32(1),
0029 debug_level = cms.int32(0),
0030 disable_dxy_pca = cms.bool(False),
0031 disable_hcalFraction_workaround = cms.bool(False),
0032 disable_CellIndex_workaround = cms.bool(False),
0033 save_inputs = cms.bool(False),
0034 is_online = cms.bool(False),
0035 VSeWP = cms.vstring('-1.'),
0036 VSmuWP = cms.vstring('-1.'),
0037 VSjetWP = cms.vstring('-1.'),
0038 basicTauDiscriminators = cms.untracked.InputTag('basicTauDiscriminators'),
0039 basicTauDiscriminatorsdR03 = cms.untracked.InputTag('basicTauDiscriminatorsdR03'),
0040 pfTauTransverseImpactParameters = cms.InputTag('hpsPFTauTransverseImpactParameters'),
0041 Prediscriminants = cms.PSet(
0042 BooleanOperator = cms.string('and'),
0043 decayMode = cms.PSet(
0044 cut = cms.required.double,
0045 Producer = cms.required.InputTag
0046 )
0047 ),
0048 mightGet = cms.optional.untracked.vstring
0049 )
0050 for k,v in kwargs.items():
0051 setattr(mod, k, v)
0052 return mod