Classes | |
class | AddCleaning |
class | RemoveAllPATObjectsBut |
class | RemoveCleaning |
class | RemoveMCMatching |
class | RemoveSpecificPATObjects |
class | RestrictInputToAOD |
class | RunOnData |
Functions | |
def | _removeMCMatchingForPATObject |
def | depricatedOptionOutputInProcess |
def coreTools::_removeMCMatchingForPATObject | ( | process, | |
matcherName, | |||
producerName, | |||
postfix = "" |
|||
) | [private] |
Definition at line 222 of file coreTools.py.
00223 : 00224 ## remove mcMatcher from the default sequence 00225 objectMatcher = getattr(process, matcherName+postfix) 00226 if (producerName=='pfPatMuons'or producerName=='pfPatTaus'): 00227 #no idea what this should do: there is no other occurance of 'PFPATafterPAT' in CMSSW other than here... 00228 getattr(process,"PFPATafterPAT"+postfix).remove(objectMatcher) 00229 if (producerName=='patMuons'or producerName=='patTaus'or 00230 producerName=='patPhotons' or producerName=='patElectrons'): 00231 getattr(process,"patDefaultSequence"+postfix).remove(objectMatcher) 00232 ## straighten photonProducer 00233 objectProducer = getattr(process, producerName+postfix) 00234 objectProducer.addGenMatch = False 00235 objectProducer.embedGenMatch = False 00236 objectProducer.genParticleMatch = '' 00237
def coreTools::depricatedOptionOutputInProcess | ( | obj | ) |
Definition at line 537 of file coreTools.py.
00538 : 00539 print "-------------------------------------------------------" 00540 print " INFO: the option 'outputInProcess' will be deprecated " 00541 print " soon:", obj._label 00542 print " please use the option 'outputModules' now and " 00543 print " specify the names of all needed OutModules in " 00544 print " there (default: ['out'])" 00545 print "-------------------------------------------------------" 00546 #raise KeyError, "unsupported option 'outputInProcess' used in '"+obj._label+"'"