Main Page
Namespaces
Classes
Package Documentation
Namespace List
Namespace Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Classes
|
Functions
coreTools Namespace Reference
Classes
class
RemoveMCMatching
class
RunOnData
Functions
def
_removeMCMatchingForPATObject
Function Documentation
def
coreTools._removeMCMatchingForPATObject
(
process
,
matcherName
,
producerName
,
postfix
=
""
)
private
Definition at line
156
of file
coreTools.py
.
Referenced by
coreTools.RemoveMCMatching.toolCode()
.
156
157
def
_removeMCMatchingForPATObject
(process, matcherName, producerName, postfix=""):
158
objectMatcher = getattr(process, matcherName+postfix)
159
objectProducer = getattr(process, producerName+postfix)
160
objectProducer.addGenMatch =
False
161
objectProducer.embedGenMatch =
False
162
objectProducer.genParticleMatch =
''
coreTools._removeMCMatchingForPATObject
def _removeMCMatchingForPATObject
Definition:
coreTools.py:156
Generated for CMSSW Reference Manual by
1.8.5