CMS 3D CMS Logo

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

00152                                                                                  :
00153     objectMatcher = getattr(process, matcherName+postfix)
00154     objectProducer = getattr(process, producerName+postfix)
00155     objectProducer.addGenMatch      = False
00156     objectProducer.embedGenMatch    = False
00157     objectProducer.genParticleMatch = ''