Classes | |
class | AddTauCollection |
Functions | |
def | _buildIDSourcePSet (tauType, idSources, postfix="") |
def | _switchToPFTau (process, tauSource, pfTauType, idSources, patTauLabel="", postfix="") |
def | applyPostfix (process, label, postfix) |
def | switchToCaloTau (process, tauSource=cms.InputTag('caloRecoTauProducer'), patTauLabel="", postfix="") |
def | switchToPFTauByType (process, pfTauType=None, tauSource=cms.InputTag('hpsPFTauProducer'), patTauLabel="", postfix="") |
def | switchToPFTauFixedCone (process, tauSource=cms.InputTag('fixedConePFTauProducer'), patTauLabel="", postfix="") |
def | switchToPFTauHPS (process, tauSource=cms.InputTag('hpsPFTauProducer'), patTauLabel="", jecLevels=[], postfix="") |
def | switchToPFTauShrinkingCone (process, tauSource=cms.InputTag('shrinkingConePFTauProducer'), patTauLabel="", postfix="") |
Variables | |
classicPFTauIDSources | |
classicTauIDSources | |
hpsTauIDSources | |
|
private |
Build a PSet defining the tau ID sources to embed into the pat::Tau
Definition at line 42 of file tauTools.py.
References _switchToPFTau().
Referenced by _switchToPFTau(), and switchToCaloTau().
|
private |
internal auxiliary function to switch to **any** PFTau collection
Definition at line 58 of file tauTools.py.
References _buildIDSourcePSet(), and applyPostfix().
Referenced by _buildIDSourcePSet(), switchToPFTauFixedCone(), switchToPFTauHPS(), and switchToPFTauShrinkingCone().
def tauTools.applyPostfix | ( | process, | |
label, | |||
postfix | |||
) |
Definition at line 9 of file tauTools.py.
References switchToCaloTau().
Referenced by _switchToPFTau(), switchToCaloTau(), and switchToPFTauHPS().
def tauTools.switchToCaloTau | ( | process, | |
tauSource = cms.InputTag('caloRecoTauProducer') , |
|||
patTauLabel = "" , |
|||
postfix = "" |
|||
) |
Definition at line 21 of file tauTools.py.
References _buildIDSourcePSet(), and applyPostfix().
Referenced by applyPostfix(), and tauTools.AddTauCollection.toolCode().
def tauTools.switchToPFTauByType | ( | process, | |
pfTauType = None , |
|||
tauSource = cms.InputTag('hpsPFTauProducer') , |
|||
patTauLabel = "" , |
|||
postfix = "" |
|||
) |
Definition at line 222 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 182 of file tauTools.py.
References _switchToPFTau(), and switchToPFTauShrinkingCone().
def tauTools.switchToPFTauHPS | ( | process, | |
tauSource = cms.InputTag('hpsPFTauProducer') , |
|||
patTauLabel = "" , |
|||
jecLevels = [] , |
|||
postfix = "" |
|||
) |
Definition at line 205 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 193 of file tauTools.py.
References _switchToPFTau(), and switchToPFTauHPS().
Referenced by switchToPFTauFixedCone().
tauTools.classicPFTauIDSources |
Definition at line 93 of file tauTools.py.
tauTools.classicTauIDSources |
Definition at line 83 of file tauTools.py.
tauTools.hpsTauIDSources |
Definition at line 101 of file tauTools.py.