CMS 3D CMS Logo

 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().

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 = ''
def _removeMCMatchingForPATObject
Definition: coreTools.py:165