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

Referenced by coreTools.RemoveMCMatching.toolCode().

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