Classes | |
class | AddTauCollection |
Variables | |
list | classicPFTauIDSources |
list | classicTauIDSources |
list | hpsTancTauIDSources |
list | hpsTauIDSources |
tuple | pfTauJECpayloadMapping |
list | tancTauIDSources |
|
private |
Build a PSet defining the tau ID sources to embed into the pat::Tau
Definition at line 116 of file tauTools.py.
References _switchToPFTau().
Referenced by _switchToPFTau(), and switchToCaloTau().
|
private |
internal auxiliary function to switch to **any** PFTau collection
Definition at line 134 of file tauTools.py.
References _buildIDSourcePSet(), and helpers.applyPostfix().
Referenced by _buildIDSourcePSet(), switchToPFTauFixedCone(), switchToPFTauHPS(), switchToPFTauHPSpTaNC(), and switchToPFTauShrinkingCone().
def tauTools.redoPFTauDiscriminators | ( | process, | |
oldPFTauLabel = cms.InputTag('hpsPFTauProducer') , |
|||
newPFTauLabel = cms.InputTag('hpsPFTauProducer') , |
|||
tauType = 'hpsPFTau' , |
|||
postfix = "" |
|||
) |
Definition at line 12 of file tauTools.py.
References helpers.applyPostfix(), helpers.cloneProcessingSnippet(), helpers.massSearchReplaceParam(), python.rootplot.root2matplotlib.replace(), and switchToCaloTau().
Referenced by pfTools.adaptPFTaus().
def tauTools.switchTo31Xdefaults | ( | process | ) |
def tauTools.switchToCaloTau | ( | process, | |
pfTauLabelOld = cms.InputTag('hpsPFTauProducer') , |
|||
pfTauLabelNew = cms.InputTag('caloRecoTauProducer') , |
|||
patTauLabel = "" , |
|||
postfix = "" |
|||
) |
Definition at line 82 of file tauTools.py.
References _buildIDSourcePSet(), and helpers.applyPostfix().
Referenced by redoPFTauDiscriminators().
def tauTools.switchToPFTauByType | ( | process, | |
pfTauType = None , |
|||
pfTauLabelNew = None , |
|||
pfTauLabelOld = cms.InputTag('hpsPFTauProducer') , |
|||
patTauLabel = "" , |
|||
jecLevels = [] , |
|||
postfix = "" |
|||
) |
Definition at line 404 of file tauTools.py.
Referenced by pfTools.adaptPFTaus(), switchToPFTauHPSpTaNC(), and tauTools.AddTauCollection.toolCode().
def tauTools.switchToPFTauFixedCone | ( | process, | |
pfTauLabelOld = cms.InputTag('hpsPFTauProducer') , |
|||
pfTauLabelNew = cms.InputTag('fixedConePFTauProducer') , |
|||
patTauLabel = "" , |
|||
jecLevels = [] , |
|||
postfix = "" |
|||
) |
Definition at line 329 of file tauTools.py.
References _switchToPFTau(), and switchToPFTauShrinkingCone().
Referenced by switchTo31Xdefaults().
def tauTools.switchToPFTauHPS | ( | process, | |
pfTauLabelOld = cms.InputTag('hpsPFTauProducer') , |
|||
pfTauLabelNew = cms.InputTag('hpsPFTauProducer') , |
|||
patTauLabel = "" , |
|||
jecLevels = [] , |
|||
postfix = "" |
|||
) |
Definition at line 363 of file tauTools.py.
References _switchToPFTau(), and switchToPFTauHPSpTaNC().
Referenced by switchToPFTauShrinkingCone().
def tauTools.switchToPFTauHPSpTaNC | ( | process, | |
pfTauLabelOld = cms.InputTag('hpsPFTauProducer') , |
|||
pfTauLabelNew = cms.InputTag('hpsTancTaus') , |
|||
patTauLabel = "" , |
|||
jecLevels = [] , |
|||
postfix = "" |
|||
) |
Definition at line 383 of file tauTools.py.
References _switchToPFTau(), and switchToPFTauByType().
Referenced by switchToPFTauHPS().
def tauTools.switchToPFTauShrinkingCone | ( | process, | |
pfTauLabelOld = cms.InputTag('hpsPFTauProducer') , |
|||
pfTauLabelNew = cms.InputTag('shrinkingConePFTauProducer') , |
|||
patTauLabel = "" , |
|||
jecLevels = [] , |
|||
postfix = "" |
|||
) |
Definition at line 345 of file tauTools.py.
References _switchToPFTau(), and switchToPFTauHPS().
Referenced by switchToPFTauFixedCone().
list tauTools.classicPFTauIDSources |
Definition at line 217 of file tauTools.py.
list tauTools.classicTauIDSources |
Definition at line 208 of file tauTools.py.
list tauTools.hpsTancTauIDSources |
Definition at line 277 of file tauTools.py.
list tauTools.hpsTauIDSources |
Definition at line 232 of file tauTools.py.
tuple tauTools.pfTauJECpayloadMapping |
Definition at line 300 of file tauTools.py.
list tauTools.tancTauIDSources |
Definition at line 224 of file tauTools.py.