CMS 3D CMS Logo

Functions | Variables
taus_cff Namespace Reference

Functions

def _tauId2WPMask (pattern, doc)
 
def _tauId3WPMask (pattern, doc)
 
def _tauId4WPMask (pattern, doc)
 
def _tauId5WPMask (pattern, doc)
 
def _tauId6WPMask (pattern, doc)
 
def _tauId7WPMask (pattern, doc)
 
def _tauId8WPMask (pattern, doc)
 
def _tauIdWPMask (pattern, choices, doc="")
 Tables for final output and docs ##########################. More...
 

Variables

 _deepTauVars2017v2p1
 
 _mvaAntiEVars
 
 _mvaAntiEVars2015
 
 _mvaIsoVars2015
 
 _mvaIsoVars2015Reduced
 
 _mvaIsoVars2017v1
 
 _mvaIsoVars2017v2
 
 _tauSequence80X
 
 _tauVarsBase
 
 _variables80X
 
 _variablesMiniV1
 
 _variablesMiniV2
 
 branchName
 
 charge
 
 chargedIso
 
 checkCharge
 
 cut
 
 decayMode
 
 doc
 
 docString
 
 dxy
 
 dz
 
 eta
 
 extension
 
 finalTaus
 User floats producers, selectors ##########################. More...
 
 float
 
 GenParticles
 
 genPartIdxMother
 
 genVisTaus
 
 genVisTauTable
 
 idAntiEle
 
 idAntiEle2018
 
 idAntiMu
 
 idDecayMode
 
 idDecayModeNewDMs
 
 idDeepTau2017v2p1VSe
 
 idDeepTau2017v2p1VSjet
 
 idDeepTau2017v2p1VSmu
 
 idMVAnewDM
 
 idMVAnewDM2017v2
 
 idMVAoldDM
 
 idMVAoldDM2017v1
 
 idMVAoldDM2017v2
 
 idMVAoldDMdR03
 
 idMVAoldDMdR032017v2
 
 includeNeutrinos
 
 int
 
 jetIdx
 
 leadTkDeltaEta
 
 leadTkDeltaPhi
 
 leadTkPtOverTauPt
 
 mass
 
 matched
 
 maxDeltaR
 
 maxDPtRel
 
 mcMap
 
 mcMapVisTau
 
 mcPdgId
 
 mcStatus
 
 name
 
 neutralIso
 
 objName
 
 objType
 
 phi
 
 photonsOutsideSignalCone
 
 precision
 
 pt
 
 puCorr
 
 rawAntiEle
 
 rawAntiEle2018
 
 rawAntiEleCat
 
 rawAntiEleCat2018
 
 rawDeepTau2017v2p1VSe
 
 rawDeepTau2017v2p1VSjet
 
 rawDeepTau2017v2p1VSmu
 
 rawIso
 
 rawIsodR03
 
 rawMVAnewDM
 
 rawMVAnewDM2017v2
 
 rawMVAoldDM
 
 rawMVAoldDM2017v1
 
 rawMVAoldDM2017v2
 
 rawMVAoldDMdR03
 
 rawMVAoldDMdR032017v2
 
 resolveAmbiguities
 
 resolveByMatchQuality
 
 singleton
 
 src
 
 srcGenParticles
 
 status
 
 tauMC
 
 tauMCTable
 
 tauSequence
 
 tausMCMatchHadTauForTable
 
 tausMCMatchLepTauForTable
 
 tauTable
 
 tauTables
 
 variables
 

Function Documentation

◆ _tauId2WPMask()

def taus_cff._tauId2WPMask (   pattern,
  doc 
)
private

Definition at line 33 of file taus_cff.py.

33 def _tauId2WPMask(pattern,doc):
34  return _tauIdWPMask(pattern,choices=("Loose","Tight"),doc=doc)

References _tauIdWPMask().

◆ _tauId3WPMask()

def taus_cff._tauId3WPMask (   pattern,
  doc 
)
private

Definition at line 35 of file taus_cff.py.

35 def _tauId3WPMask(pattern,doc):
36  return _tauIdWPMask(pattern,choices=("Loose","Medium","Tight"),doc=doc)

References _tauIdWPMask().

◆ _tauId4WPMask()

def taus_cff._tauId4WPMask (   pattern,
  doc 
)
private

Definition at line 37 of file taus_cff.py.

37 def _tauId4WPMask(pattern,doc):
38  return _tauIdWPMask(pattern, choices=("VLoose", "Loose", "Medium", "Tight"), doc=doc)

References _tauIdWPMask().

◆ _tauId5WPMask()

def taus_cff._tauId5WPMask (   pattern,
  doc 
)
private

Definition at line 39 of file taus_cff.py.

39 def _tauId5WPMask(pattern,doc):
40  return _tauIdWPMask(pattern,choices=("VLoose","Loose","Medium","Tight","VTight"),doc=doc)

References _tauIdWPMask().

◆ _tauId6WPMask()

def taus_cff._tauId6WPMask (   pattern,
  doc 
)
private

Definition at line 41 of file taus_cff.py.

41 def _tauId6WPMask(pattern,doc):
42  return _tauIdWPMask(pattern,choices=("VLoose","Loose","Medium","Tight","VTight","VVTight"),doc=doc)

References _tauIdWPMask().

◆ _tauId7WPMask()

def taus_cff._tauId7WPMask (   pattern,
  doc 
)
private

Definition at line 43 of file taus_cff.py.

43 def _tauId7WPMask(pattern,doc):
44  return _tauIdWPMask(pattern,choices=("VVLoose","VLoose","Loose","Medium","Tight","VTight","VVTight"),doc=doc)

References _tauIdWPMask().

◆ _tauId8WPMask()

def taus_cff._tauId8WPMask (   pattern,
  doc 
)
private

Definition at line 45 of file taus_cff.py.

45 def _tauId8WPMask(pattern,doc):
46  return _tauIdWPMask(pattern,choices=("VVVLoose","VVLoose","VLoose","Loose","Medium","Tight","VTight","VVTight"),doc=doc)
47 

References _tauIdWPMask().

◆ _tauIdWPMask()

def taus_cff._tauIdWPMask (   pattern,
  choices,
  doc = "" 
)
private

Tables for final output and docs ##########################.

Definition at line 30 of file taus_cff.py.

30 def _tauIdWPMask(pattern, choices, doc=""):
31  return Var(" + ".join(["%d * tauID('%s')" % (pow(2,i), pattern % c) for (i,c) in enumerate(choices)]), "uint8",
32  doc=doc+": bitmask "+", ".join(["%d = %s" % (pow(2,i),c) for (i,c) in enumerate(choices)]))

References join(), funct.pow(), and common_cff.Var().

Referenced by _tauId2WPMask(), _tauId3WPMask(), _tauId4WPMask(), _tauId5WPMask(), _tauId6WPMask(), _tauId7WPMask(), and _tauId8WPMask().

Variable Documentation

◆ _deepTauVars2017v2p1

taus_cff._deepTauVars2017v2p1
private

Definition at line 123 of file taus_cff.py.

◆ _mvaAntiEVars

taus_cff._mvaAntiEVars
private

Definition at line 110 of file taus_cff.py.

◆ _mvaAntiEVars2015

taus_cff._mvaAntiEVars2015
private

Definition at line 118 of file taus_cff.py.

◆ _mvaIsoVars2015

taus_cff._mvaIsoVars2015
private

Definition at line 86 of file taus_cff.py.

◆ _mvaIsoVars2015Reduced

taus_cff._mvaIsoVars2015Reduced
private

Definition at line 94 of file taus_cff.py.

◆ _mvaIsoVars2017v1

taus_cff._mvaIsoVars2017v1
private

Definition at line 98 of file taus_cff.py.

◆ _mvaIsoVars2017v2

taus_cff._mvaIsoVars2017v2
private

Definition at line 102 of file taus_cff.py.

◆ _tauSequence80X

taus_cff._tauSequence80X
private

Definition at line 231 of file taus_cff.py.

◆ _tauVarsBase

taus_cff._tauVarsBase
private

Definition at line 57 of file taus_cff.py.

◆ _variables80X

taus_cff._variables80X
private

Definition at line 145 of file taus_cff.py.

◆ _variablesMiniV1

taus_cff._variablesMiniV1
private

Definition at line 140 of file taus_cff.py.

◆ _variablesMiniV2

taus_cff._variablesMiniV2
private

Definition at line 132 of file taus_cff.py.

◆ branchName

taus_cff.branchName

Definition at line 225 of file taus_cff.py.

◆ charge

taus_cff.charge

Definition at line 58 of file taus_cff.py.

◆ chargedIso

taus_cff.chargedIso

Definition at line 74 of file taus_cff.py.

Referenced by EfficiencyAnalyzer.analyze().

◆ checkCharge

taus_cff.checkCharge

Definition at line 199 of file taus_cff.py.

◆ cut

taus_cff.cut

Definition at line 15 of file taus_cff.py.

◆ decayMode

taus_cff.decayMode

◆ doc

taus_cff.doc

Definition at line 52 of file taus_cff.py.

◆ docString

taus_cff.docString

Definition at line 226 of file taus_cff.py.

◆ dxy

taus_cff.dxy

Definition at line 68 of file taus_cff.py.

◆ dz

taus_cff.dz

Definition at line 69 of file taus_cff.py.

◆ eta

taus_cff.eta

Definition at line 187 of file taus_cff.py.

◆ extension

taus_cff.extension

Definition at line 54 of file taus_cff.py.

◆ finalTaus

taus_cff.finalTaus

User floats producers, selectors ##########################.

Definition at line 13 of file taus_cff.py.

◆ float

taus_cff.float

Definition at line 64 of file taus_cff.py.

◆ GenParticles

taus_cff.GenParticles

Definition at line 169 of file taus_cff.py.

◆ genPartIdxMother

taus_cff.genPartIdxMother

Definition at line 191 of file taus_cff.py.

◆ genVisTaus

taus_cff.genVisTaus

Definition at line 172 of file taus_cff.py.

Referenced by GenVisTauProducer.produce().

◆ genVisTauTable

taus_cff.genVisTauTable

Definition at line 177 of file taus_cff.py.

◆ idAntiEle

taus_cff.idAntiEle

Definition at line 116 of file taus_cff.py.

◆ idAntiEle2018

taus_cff.idAntiEle2018

Definition at line 113 of file taus_cff.py.

◆ idAntiMu

taus_cff.idAntiMu

Definition at line 79 of file taus_cff.py.

◆ idDecayMode

taus_cff.idDecayMode

Definition at line 61 of file taus_cff.py.

◆ idDecayModeNewDMs

taus_cff.idDecayModeNewDMs

Definition at line 62 of file taus_cff.py.

◆ idDeepTau2017v2p1VSe

taus_cff.idDeepTau2017v2p1VSe

Definition at line 127 of file taus_cff.py.

◆ idDeepTau2017v2p1VSjet

taus_cff.idDeepTau2017v2p1VSjet

Definition at line 129 of file taus_cff.py.

◆ idDeepTau2017v2p1VSmu

taus_cff.idDeepTau2017v2p1VSmu

Definition at line 128 of file taus_cff.py.

◆ idMVAnewDM

taus_cff.idMVAnewDM

Definition at line 90 of file taus_cff.py.

◆ idMVAnewDM2017v2

taus_cff.idMVAnewDM2017v2

Definition at line 106 of file taus_cff.py.

◆ idMVAoldDM

taus_cff.idMVAoldDM

Definition at line 91 of file taus_cff.py.

◆ idMVAoldDM2017v1

taus_cff.idMVAoldDM2017v1

Definition at line 100 of file taus_cff.py.

◆ idMVAoldDM2017v2

taus_cff.idMVAoldDM2017v2

Definition at line 107 of file taus_cff.py.

◆ idMVAoldDMdR03

taus_cff.idMVAoldDMdR03

Definition at line 92 of file taus_cff.py.

◆ idMVAoldDMdR032017v2

taus_cff.idMVAoldDMdR032017v2

Definition at line 108 of file taus_cff.py.

◆ includeNeutrinos

taus_cff.includeNeutrinos

Definition at line 170 of file taus_cff.py.

◆ int

taus_cff.int

Definition at line 58 of file taus_cff.py.

◆ jetIdx

taus_cff.jetIdx

Definition at line 59 of file taus_cff.py.

◆ leadTkDeltaEta

taus_cff.leadTkDeltaEta

Definition at line 65 of file taus_cff.py.

◆ leadTkDeltaPhi

taus_cff.leadTkDeltaPhi

Definition at line 66 of file taus_cff.py.

◆ leadTkPtOverTauPt

taus_cff.leadTkPtOverTauPt

Definition at line 64 of file taus_cff.py.

◆ mass

taus_cff.mass

Definition at line 188 of file taus_cff.py.

◆ matched

taus_cff.matched

Definition at line 197 of file taus_cff.py.

◆ maxDeltaR

taus_cff.maxDeltaR

Definition at line 201 of file taus_cff.py.

◆ maxDPtRel

taus_cff.maxDPtRel

Definition at line 202 of file taus_cff.py.

◆ mcMap

taus_cff.mcMap

Definition at line 221 of file taus_cff.py.

◆ mcMapVisTau

taus_cff.mcMapVisTau

Definition at line 222 of file taus_cff.py.

◆ mcPdgId

taus_cff.mcPdgId

Definition at line 198 of file taus_cff.py.

◆ mcStatus

taus_cff.mcStatus

Definition at line 200 of file taus_cff.py.

◆ name

taus_cff.name

Definition at line 51 of file taus_cff.py.

◆ neutralIso

taus_cff.neutralIso

Definition at line 75 of file taus_cff.py.

Referenced by EfficiencyAnalyzer.analyze().

◆ objName

taus_cff.objName

Definition at line 223 of file taus_cff.py.

◆ objType

taus_cff.objType

Definition at line 224 of file taus_cff.py.

◆ phi

taus_cff.phi

Definition at line 186 of file taus_cff.py.

◆ photonsOutsideSignalCone

taus_cff.photonsOutsideSignalCone

Definition at line 77 of file taus_cff.py.

◆ precision

taus_cff.precision

Definition at line 64 of file taus_cff.py.

◆ pt

taus_cff.pt

Definition at line 185 of file taus_cff.py.

◆ puCorr

taus_cff.puCorr

Definition at line 76 of file taus_cff.py.

◆ rawAntiEle

taus_cff.rawAntiEle

Definition at line 114 of file taus_cff.py.

◆ rawAntiEle2018

taus_cff.rawAntiEle2018

Definition at line 111 of file taus_cff.py.

◆ rawAntiEleCat

taus_cff.rawAntiEleCat

Definition at line 115 of file taus_cff.py.

◆ rawAntiEleCat2018

taus_cff.rawAntiEleCat2018

Definition at line 112 of file taus_cff.py.

◆ rawDeepTau2017v2p1VSe

taus_cff.rawDeepTau2017v2p1VSe

Definition at line 124 of file taus_cff.py.

◆ rawDeepTau2017v2p1VSjet

taus_cff.rawDeepTau2017v2p1VSjet

Definition at line 126 of file taus_cff.py.

◆ rawDeepTau2017v2p1VSmu

taus_cff.rawDeepTau2017v2p1VSmu

Definition at line 125 of file taus_cff.py.

◆ rawIso

taus_cff.rawIso

Definition at line 72 of file taus_cff.py.

◆ rawIsodR03

taus_cff.rawIsodR03

Definition at line 73 of file taus_cff.py.

◆ rawMVAnewDM

taus_cff.rawMVAnewDM

Definition at line 87 of file taus_cff.py.

◆ rawMVAnewDM2017v2

taus_cff.rawMVAnewDM2017v2

Definition at line 103 of file taus_cff.py.

◆ rawMVAoldDM

taus_cff.rawMVAoldDM

Definition at line 88 of file taus_cff.py.

◆ rawMVAoldDM2017v1

taus_cff.rawMVAoldDM2017v1

Definition at line 99 of file taus_cff.py.

◆ rawMVAoldDM2017v2

taus_cff.rawMVAoldDM2017v2

Definition at line 104 of file taus_cff.py.

◆ rawMVAoldDMdR03

taus_cff.rawMVAoldDMdR03

Definition at line 89 of file taus_cff.py.

◆ rawMVAoldDMdR032017v2

taus_cff.rawMVAoldDMdR032017v2

Definition at line 105 of file taus_cff.py.

◆ resolveAmbiguities

taus_cff.resolveAmbiguities

Definition at line 203 of file taus_cff.py.

◆ resolveByMatchQuality

taus_cff.resolveByMatchQuality

Definition at line 204 of file taus_cff.py.

◆ singleton

taus_cff.singleton

Definition at line 53 of file taus_cff.py.

◆ src

taus_cff.src

Definition at line 14 of file taus_cff.py.

◆ srcGenParticles

taus_cff.srcGenParticles

Definition at line 174 of file taus_cff.py.

◆ status

taus_cff.status

Definition at line 190 of file taus_cff.py.

◆ tauMC

taus_cff.tauMC

Definition at line 234 of file taus_cff.py.

◆ tauMCTable

taus_cff.tauMCTable

Definition at line 219 of file taus_cff.py.

◆ tauSequence

taus_cff.tauSequence

Definition at line 230 of file taus_cff.py.

◆ tausMCMatchHadTauForTable

taus_cff.tausMCMatchHadTauForTable

Definition at line 207 of file taus_cff.py.

◆ tausMCMatchLepTauForTable

taus_cff.tausMCMatchLepTauForTable

Definition at line 195 of file taus_cff.py.

◆ tauTable

taus_cff.tauTable

Definition at line 48 of file taus_cff.py.

◆ tauTables

taus_cff.tauTables

Definition at line 233 of file taus_cff.py.

◆ variables

taus_cff.variables

Definition at line 55 of file taus_cff.py.

taus_cff._tauId7WPMask
def _tauId7WPMask(pattern, doc)
Definition: taus_cff.py:43
join
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
taus_cff._tauId5WPMask
def _tauId5WPMask(pattern, doc)
Definition: taus_cff.py:39
common_cff.Var
def Var(expr, valtype, compression=None, doc=None, mcOnly=False, precision=-1)
Definition: common_cff.py:20
taus_cff._tauId6WPMask
def _tauId6WPMask(pattern, doc)
Definition: taus_cff.py:41
taus_cff._tauId8WPMask
def _tauId8WPMask(pattern, doc)
Definition: taus_cff.py:45
taus_cff._tauId3WPMask
def _tauId3WPMask(pattern, doc)
Definition: taus_cff.py:35
taus_cff._tauId2WPMask
def _tauId2WPMask(pattern, doc)
Definition: taus_cff.py:33
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:30
taus_cff._tauId4WPMask
def _tauId4WPMask(pattern, doc)
Definition: taus_cff.py:37
taus_cff._tauIdWPMask
def _tauIdWPMask(pattern, choices, doc="")
Tables for final output and docs ##########################.
Definition: taus_cff.py:30