Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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.__call__
def __call__
Definition:
selectors.py:9
selectors.CreateGenMatch
Definition:
selectors.py:3
selectors.CreateGenMatch.__init__
def __init__
Definition:
selectors.py:6
selectors.CreateGenMatch.dR
dR
Definition:
selectors.py:7
Generated for CMSSW Reference Manual by
1.8.5