test
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 168 of file coreTools.py.

Referenced by coreTools.RemoveMCMatching.toolCode().

169 def _removeMCMatchingForPATObject(process, matcherName, producerName, postfix=""):
170  objectMatcher = getattr(process, matcherName+postfix)
171  objectProducer = getattr(process, producerName+postfix)
172  objectProducer.addGenMatch = False
173  objectProducer.embedGenMatch = False
174  objectProducer.genParticleMatch = ''
def _removeMCMatchingForPATObject
Definition: coreTools.py:168