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
165
of file
coreTools.py
.
Referenced by
coreTools.RemoveMCMatching.toolCode()
.
165
166
def
_removeMCMatchingForPATObject
(process, matcherName, producerName, postfix=""):
167
objectMatcher = getattr(process, matcherName+postfix)
168
objectProducer = getattr(process, producerName+postfix)
169
objectProducer.addGenMatch =
False
170
objectProducer.embedGenMatch =
False
171
objectProducer.genParticleMatch =
''
coreTools._removeMCMatchingForPATObject
def _removeMCMatchingForPATObject
Definition:
coreTools.py:165
Generated for CMSSW Reference Manual by
1.8.5