Classes | |
class | AddTauCollection |
Functions | |
def | _buildIDSourcePSet (tauType, idSources, postfix="") |
def | _switchToPFTau (process, tauSource, pfTauType, idSources, patTauLabel="", postfix="") |
def | applyPostfix (process, label, 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 18 of file tauTools.py.
References createfilelist.int.
Referenced by _switchToPFTau().
|
private |
internal auxiliary function to switch to **any** PFTau collection
Definition at line 33 of file tauTools.py.
References _buildIDSourcePSet(), applyPostfix(), and print().
Referenced by 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 200 of file tauTools.py.
Referenced by pfTools.adaptPFTaus(), and tauTools.AddTauCollection.toolCode().
def tauTools.switchToPFTauFixedCone | ( | process, | |
tauSource = cms.InputTag('fixedConePFTauProducer') , |
|||
patTauLabel = "" , |
|||
postfix = "" |
|||
) |
def tauTools.switchToPFTauHPS | ( | process, | |
tauSource = cms.InputTag('hpsPFTauProducer') , |
|||
patTauLabel = "" , |
|||
jecLevels = [] , |
|||
postfix = "" |
|||
) |
Definition at line 183 of file tauTools.py.
References _switchToPFTau(), applyPostfix(), and python.rootplot.root2matplotlib.replace().
def tauTools.switchToPFTauShrinkingCone | ( | process, | |
tauSource = cms.InputTag('shrinkingConePFTauProducer') , |
|||
patTauLabel = "" , |
|||
postfix = "" |
|||
) |
tauTools.classicPFTauIDSources |
Definition at line 73 of file tauTools.py.
tauTools.classicTauIDSources |
Definition at line 63 of file tauTools.py.
tauTools.hpsTauIDSources |
Definition at line 81 of file tauTools.py.