![]() |
![]() |
def pfTools.adaptPFElectrons | ( | process, | |
module, | |||
postfix | |||
) |
Definition at line 60 of file pfTools.py.
References helpers.removeIfInSequence(), and warningIsolation().
Referenced by usePF2PAT().
def pfTools.adaptPFMuons | ( | process, | |
module, | |||
postfix = "" |
|||
) |
Definition at line 32 of file pfTools.py.
References helpers.applyPostfix(), and warningIsolation().
Referenced by usePF2PAT().
def pfTools.adaptPFPhotons | ( | process, | |
module | |||
) |
Definition at line 96 of file pfTools.py.
References reconfigurePF2PATTaus().
def pfTools.adaptPFTaus | ( | process, | |
tauType = 'shrinkingConePFTau' , |
|||
postfix = "" |
|||
) |
Definition at line 228 of file pfTools.py.
References helpers.applyPostfix(), reconfigurePF2PATTaus(), tauTools.redoPFTauDiscriminators(), python.multivaluedict.remove(), and tauTools.switchToPFTauByType().
Referenced by usePF2PAT().
def pfTools.addPFCandidates | ( | process, | |
src, | |||
patLabel = 'PFParticles' , |
|||
cut = "" , |
|||
postfix = "" |
|||
) |
Definition at line 259 of file pfTools.py.
References helpers.applyPostfix(), edm::eventsetup::heterocontainer.insert(), and python.rootplot.root2matplotlib.replace().
Referenced by usePF2PAT().
def pfTools.reconfigurePF2PATTaus | ( | process, | |
tauType = 'shrinkingConePFTau' , |
|||
pf2patSelection = ["DiscriminationByIsolation" , |
|||
DiscriminationByLeadingPionPtCut, | |||
selectionDependsOn = ["DiscriminationByLeadingTrackFinding"] , |
|||
producerFromType = lambda producer: producer+"Producer" , |
|||
postfix = "" |
|||
) |
Definition at line 106 of file pfTools.py.
References TauDiscriminatorTools.adaptTauDiscriminator(), helpers.applyPostfix(), clone(), helpers.cloneProcessingSnippet(), helpers.massSearchReplaceParam(), TauDiscriminatorTools.producerIsTauTypeMapper, and TauDiscriminatorTools.recoTauTypeMapper().
Referenced by adaptPFPhotons(), and adaptPFTaus().
def pfTools.removeMCMatchingPF2PAT | ( | process, | |
postfix = "" |
|||
) |
Definition at line 355 of file pfTools.py.
References helpers.removeIfInSequence().
Referenced by usePF2PAT().
def pfTools.switchToPFJets | ( | process, | |
input = cms.InputTag('pfNoTau') , |
|||
algo = 'AK5' , |
|||
postfix = "" , |
|||
jetCorrections = ('AK5PFchs', ['L1FastJet' , |
|||
L2Relative, | |||
L3Absolute | |||
) |
Definition at line 312 of file pfTools.py.
References helpers.applyPostfix(), if(), and python.Tools.jetTools.jetAlgo().
Referenced by usePF2PAT().
def pfTools.switchToPFMET | ( | process, | |
input = cms.InputTag('pfMET') , |
|||
type1 = False , |
|||
postfix = "" |
|||
) |
Definition at line 290 of file pfTools.py.
References helpers.applyPostfix(), if(), and python.multivaluedict.remove().
Referenced by usePF2PAT().
def pfTools.tauTypeInPF2PAT | ( | process, | |
tauType = 'shrinkingConePFTau' , |
|||
postfix = "" |
|||
) |
Definition at line 254 of file pfTools.py.
References helpers.applyPostfix().
def pfTools.usePF2PAT | ( | process, | |
runPF2PAT = True , |
|||
jetAlgo = 'AK5' , |
|||
runOnMC = True , |
|||
postfix = "" , |
|||
jetCorrections = ('AK5PFchs', ['L1FastJet' , |
|||
L2Relative, | |||
L3Absolute | |||
) |
Switch PAT to use PF2PAT instead of AOD sources. if 'runPF2PAT' is true, we'll also add PF2PAT in front of the PAT sequence
Definition at line 361 of file pfTools.py.
References adaptPFElectrons(), adaptPFMuons(), adaptPFTaus(), addPFCandidates(), helpers.applyPostfix(), helpers.cloneProcessingSnippet(), helpers.removeIfInSequence(), removeMCMatchingPF2PAT(), python.rootplot.root2matplotlib.replace(), switchToPFJets(), and switchToPFMET().
def pfTools.warningIsolation | ( | ) |
Definition at line 29 of file pfTools.py.
Referenced by adaptPFElectrons(), and adaptPFMuons().