L1Trigger
L1THGCalUtilities
python
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
selectors.CreateGenMatch
Definition:
selectors.py:3
selectors.CreateGenMatch.__call__
def __call__(self, process, inputs)
Definition:
selectors.py:9
selectors.CreateGenMatch.__init__
def __init__(self, distance=0.3)
Definition:
selectors.py:6
selectors.CreateGenMatch.dR
dR
Definition:
selectors.py:7
resolutioncreator_cfi.object
object
Definition:
resolutioncreator_cfi.py:4
Generated for CMSSW Reference Manual by
1.8.14