Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:56

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def DeepCoreSeedGenerator(**kwargs):
0004   mod = cms.EDProducer('DeepCoreSeedGenerator',
0005     vertices = cms.InputTag('offlinePrimaryVertices'),
0006     pixelClusters = cms.InputTag('siPixelClustersPreSplitting'),
0007     cores = cms.InputTag('jetsForCoreTracking'),
0008     ptMin = cms.double(100),
0009     deltaR = cms.double(0.25),
0010     chargeFractionMin = cms.double(18000),
0011     centralMIPCharge = cms.double(2),
0012     pixelCPE = cms.string('PixelCPEGeneric'),
0013     weightFile = cms.FileInPath('RecoTracker/TkSeedGenerator/data/DeepCore/DeepCoreSeedGenerator_TrainedModel_barrel_2023.pb'),
0014     inputTensorName = cms.vstring(
0015       'input_1',
0016       'input_2',
0017       'input_3'
0018     ),
0019     outputTensorName = cms.vstring(
0020       'output_node0',
0021       'output_node1'
0022     ),
0023     probThr = cms.double(0.7),
0024     mightGet = cms.optional.untracked.vstring
0025   )
0026   for k,v in kwargs.items():
0027     setattr(mod, k, v)
0028   return mod