CMS 3D CMS Logo

Namespaces | Functions
pfTools.py File Reference

Go to the source code of this file.

Namespaces

 pfTools
 

Functions

def pfTools.adaptPFElectrons (process, module, postfix)
 
def pfTools.adaptPFMuons (process, module, postfix="", muonMatchModule=None)
 
def pfTools.adaptPFPhotons (process, module)
 
def pfTools.adaptPFTaus (process, tauType='shrinkingConePFTau', postfix="")
 
def pfTools.adaptPVs (process, pvCollection=cms.InputTag('offlinePrimaryVertices'), postfix='')
 
def pfTools.addPFCandidates (process, src, patLabel='PFParticles', cut="", postfix="")
 
def pfTools.reconfigurePF2PATTaus (process, tauType='shrinkingConePFTau', pf2patSelection=["DiscriminationByIsolation", DiscriminationByLeadingPionPtCut, selectionDependsOn=["DiscriminationByLeadingTrackFinding"], producerFromType=lambda producer:producer+"Producer", postfix="")
 
def pfTools.removeMCMatchingPF2PAT (process, postfix="", outputModules=['out'])
 
def pfTools.switchToPFJets (process, input=cms.InputTag('pfNoTauClones'), algo='AK4', postfix="", jetCorrections=('AK4PFchs', ['L1FastJet', 'L2Relative', 'L3Absolute']), type1=False, outputModules=['out'])
 
def pfTools.switchToPFMET (process, input=cms.InputTag('pfMETPFBRECO'), type1=False, postfix="")
 
def pfTools.tauTypeInPF2PAT (process, tauType='shrinkingConePFTau', postfix="")
 
def pfTools.usePF2PAT (process, runPF2PAT=True, jetAlgo='AK4', runOnMC=True, postfix="", jetCorrections=('AK4PFchs', ['L1FastJet', 'L2Relative', 'L3Absolute'], 'None'), pvCollection=cms.InputTag('goodOfflinePrimaryVerticesPFlow',), typeIMetCorrections=False, outputModules=['out'], excludeFromTopProjection=['Tau'])
 
def pfTools.warningIsolation ()