Functions | |
def | adaptPFElectrons |
def | adaptPFIsoElectrons |
def | adaptPFIsoMuons |
def | adaptPFMuons |
def | adaptPFPhotons |
def | adaptPFTaus |
def | adaptPVs |
def | addPFCandidates |
def | reconfigurePF2PATTaus |
def | removeMCMatchingPF2PAT |
def | switchToPFJets |
def | switchToPFMET |
def | tauTypeInPF2PAT |
def | usePF2PAT |
def | warningIsolation |
def pfTools.adaptPFElectrons | ( | process, | |
module, | |||
postfix | |||
) |
def pfTools.adaptPFIsoElectrons | ( | process, | |
module, | |||
postfix = "PFIso" , |
|||
dR = "04" |
|||
) |
Definition at line 14 of file pfTools.py.
def pfTools.adaptPFIsoMuons | ( | process, | |
module, | |||
postfix = "PFIso" , |
|||
dR = "04" |
|||
) |
Definition at line 38 of file pfTools.py.
def pfTools.adaptPFMuons | ( | process, | |
module, | |||
postfix = "" |
|||
) |
Definition at line 55 of file pfTools.py.
References helpers.applyPostfix().
Referenced by usePF2PAT().
def pfTools.adaptPFPhotons | ( | process, | |
module | |||
) |
Definition at line 128 of file pfTools.py.
References reconfigurePF2PATTaus().
def pfTools.adaptPFTaus | ( | process, | |
tauType = 'shrinkingConePFTau' , |
|||
postfix = "" |
|||
) |
Definition at line 268 of file pfTools.py.
References reconfigurePF2PATTaus(), and tauTools.switchToPFTauByType().
Referenced by usePF2PAT().
def pfTools.adaptPVs | ( | process, | |
pvCollection = cms.InputTag('offlinePrimaryVertices') , |
|||
postfix = '' |
|||
) |
def pfTools.addPFCandidates | ( | process, | |
src, | |||
patLabel = 'PFParticles' , |
|||
cut = "" , |
|||
postfix = "" |
|||
) |
Definition at line 313 of file pfTools.py.
References helpers.applyPostfix().
Referenced by usePF2PAT().
def pfTools.reconfigurePF2PATTaus | ( | process, | |
tauType = 'shrinkingConePFTau' , |
|||
pf2patSelection = ["DiscriminationByIsolation" , |
|||
DiscriminationByLeadingPionPtCut, | |||
selectionDependsOn = ["DiscriminationByLeadingTrackFinding"] , |
|||
producerFromType = lambda producer: producer+"Producer" , |
|||
postfix = "" |
|||
) |
Definition at line 138 of file pfTools.py.
References TauDiscriminatorTools.adaptTauDiscriminator(), helpers.applyPostfix(), statics.clone, helpers.massSearchReplaceParam(), TauDiscriminatorTools.producerIsTauTypeMapper, and TauDiscriminatorTools.recoTauTypeMapper().
Referenced by adaptPFPhotons(), and adaptPFTaus().
def pfTools.removeMCMatchingPF2PAT | ( | process, | |
postfix = "" , |
|||
outputModules = ['out'] |
|||
) |
Definition at line 414 of file pfTools.py.
def pfTools.switchToPFJets | ( | process, | |
input = cms.InputTag('pfNoTauClones') , |
|||
algo = 'AK5' , |
|||
postfix = "" , |
|||
jetCorrections = ('AK5PFchs', ['L1FastJet' , |
|||
L2Relative, | |||
L3Absolute, | |||
type1 = False , |
|||
outputModules = ['out'] |
|||
) |
Definition at line 350 of file pfTools.py.
References helpers.applyPostfix(), statics.clone, reco.if(), patRefSel_refAllJets.jetAlgo, relativeConstraints.keys, python.rootplot.root2matplotlib.replace(), and split.
Referenced by usePF2PAT().
def pfTools.switchToPFMET | ( | process, | |
input = cms.InputTag('pfMET') , |
|||
type1 = False , |
|||
postfix = "" |
|||
) |
Definition at line 334 of file pfTools.py.
References helpers.applyPostfix(), reco.if(), and python.rootplot.root2matplotlib.replace().
Referenced by usePF2PAT().
def pfTools.tauTypeInPF2PAT | ( | process, | |
tauType = 'shrinkingConePFTau' , |
|||
postfix = "" |
|||
) |
def pfTools.usePF2PAT | ( | process, | |
runPF2PAT = True , |
|||
jetAlgo = 'ak5' , |
|||
runOnMC = True , |
|||
postfix = "" , |
|||
jetCorrections = ('AK5PFchs', ['L1FastJet' , |
|||
L2Relative, | |||
L3Absolute, | |||
None, | |||
pvCollection = cms.InputTag('offlinePrimaryVertices', , |
|||
typeIMetCorrections = False , |
|||
outputModules = ['out'] , |
|||
excludeFromTopProjection = ['Tau'] |
|||
) |
Definition at line 454 of file pfTools.py.
References adaptPFElectrons(), adaptPFMuons(), adaptPFTaus(), adaptPVs(), addPFCandidates(), helpers.applyPostfix(), helpers.loadWithPostfix(), switchToPFJets(), and switchToPFMET().
def pfTools.warningIsolation | ( | ) |
Definition at line 11 of file pfTools.py.