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 class CreateGenMatch(object):
4  def __init__(self,
5  distance=0.3
6  ):
7  self.dR = distance
8 
9  def __call__(self, process, inputs):
10  producer = process.hgc3DClusterGenMatchSelector.clone(
11  dR = cms.double(self.dR),
12  src = cms.InputTag(inputs)
13  )
14  return producer