CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
def create_genmatch
Definition: selectors.py:5