CMS 3D CMS Logo

selectors.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def create_genmatch(process, inputs,
4  distance=0.3
5  ):
6  producer = process.hgc3DClusterGenMatchSelector.clone(
7  dR = cms.double(distance),
8  src = cms.InputTag('{}:HGCalBackendLayer2Processor3DClustering'.format(inputs))
9  )
10  return producer
selectors.create_genmatch
def create_genmatch(process, inputs, distance=0.3)
Definition: selectors.py:3
format