Classes | |
class | AddTauCollection |
Functions | |
def | _buildIDSourcePSet |
def | _switchToPFTau |
def | applyPostfix |
def | switchToPFTauByType |
def | switchToPFTauFixedCone |
def | switchToPFTauHPS |
def | switchToPFTauShrinkingCone |
Variables | |
list | classicPFTauIDSources |
list | classicTauIDSources |
list | hpsTauIDSources |
|
private |
Build a PSet defining the tau ID sources to embed into the pat::Tau
Definition at line 18 of file tauTools.py.
References _switchToPFTau().
Referenced by _switchToPFTau().
|
private |
internal auxiliary function to switch to **any** PFTau collection
Definition at line 38 of file tauTools.py.
References _buildIDSourcePSet(), applyPostfix(), and print().
Referenced by _buildIDSourcePSet(), switchToPFTauFixedCone(), switchToPFTauHPS(), and switchToPFTauShrinkingCone().
def tauTools.applyPostfix | ( | process, | |
label, | |||
postfix | |||
) |
Definition at line 10 of file tauTools.py.
Referenced by _switchToPFTau(), and switchToPFTauHPS().
def tauTools.switchToPFTauByType | ( | process, | |
pfTauType = None , |
|||
tauSource = cms.InputTag('hpsPFTauProducer') , |
|||
patTauLabel = "" , |
|||
postfix = "" |
|||
) |
Definition at line 204 of file tauTools.py.
Referenced by pfTools.adaptPFTaus(), switchToPFTauHPS(), and tauTools.AddTauCollection.toolCode().
def tauTools.switchToPFTauFixedCone | ( | process, | |
tauSource = cms.InputTag('fixedConePFTauProducer') , |
|||
patTauLabel = "" , |
|||
postfix = "" |
|||
) |
Definition at line 164 of file tauTools.py.
References _switchToPFTau(), and switchToPFTauShrinkingCone().
def tauTools.switchToPFTauHPS | ( | process, | |
tauSource = cms.InputTag('hpsPFTauProducer') , |
|||
patTauLabel = "" , |
|||
jecLevels = [] , |
|||
postfix = "" |
|||
) |
Definition at line 187 of file tauTools.py.
References _switchToPFTau(), applyPostfix(), python.rootplot.root2matplotlib.replace(), and switchToPFTauByType().
Referenced by switchToPFTauShrinkingCone().
def tauTools.switchToPFTauShrinkingCone | ( | process, | |
tauSource = cms.InputTag('shrinkingConePFTauProducer') , |
|||
patTauLabel = "" , |
|||
postfix = "" |
|||
) |
Definition at line 175 of file tauTools.py.
References _switchToPFTau(), and switchToPFTauHPS().
Referenced by switchToPFTauFixedCone().
list tauTools.classicPFTauIDSources |
Definition at line 73 of file tauTools.py.
list tauTools.classicTauIDSources |
Definition at line 63 of file tauTools.py.
list tauTools.hpsTauIDSources |
Definition at line 81 of file tauTools.py.