src
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.l1tHGCal3DClusterGenMatchSelector.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
default_text_conditions_cfi.object
object
Definition:
default_text_conditions_cfi.py:8
selectors.CreateGenMatch.dR
dR
Definition:
selectors.py:7
Generated for CMSSW Reference Manual by
1.8.14