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
 
 _mvaAntiEVars2015
 
 _mvaIsoVars2015
 
 _mvaIsoVars2015Reduced
 
 _mvaIsoVars2017v1
 
 _mvaIsoVars2017v2
 
 _tauSequence80X
 
 _tauVarsBase
 
 _variables80X
 
 _variablesMiniV1
 
 _variablesMiniV2
 
 bool
 
 branchName
 
 charge
 
 chargedIso
 
 checkCharge
 
 cut
 
 decayMode
 
 doc
 
 docString
 
 dxy
 
 dz
 
 eta
 
 extension
 
 finalTaus
 User floats producers, selectors ##########################. More...
 
 float
 
 GenParticles
 
 genPartIdxMother
 
 genTauSequence
 
 genVisTaus
 
 genVisTauTable
 
 idAntiEle
 
 idAntiEle2018
 
 idAntiEleDeadECal
 
 idAntiMu
 
 idDecayMode
 
 idDecayModeNewDMs
 
 idDecayModeOldDMs
 
 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
 
 tauGenJetsForNano
 
 tauGenJetsSelectorAllHadronsForNano
 
 tauMC
 
 tauMCTable
 
 tauSequence
 
 tausMCMatchHadTauForTable
 
 tausMCMatchLepTauForTable
 
 tauTable
 
 tauTables
 
 variables
 

Function Documentation

def taus_cff._tauId2WPMask (   pattern,
  doc 
)
private

Definition at line 36 of file taus_cff.py.

References _tauIdWPMask().

36 def _tauId2WPMask(pattern,doc):
37  return _tauIdWPMask(pattern,choices=("Loose","Tight"),doc=doc)
def _tauIdWPMask(pattern, choices, doc="")
Tables for final output and docs ##########################.
Definition: taus_cff.py:33
def _tauId2WPMask(pattern, doc)
Definition: taus_cff.py:36
def taus_cff._tauId3WPMask (   pattern,
  doc 
)
private

Definition at line 38 of file taus_cff.py.

References _tauIdWPMask().

38 def _tauId3WPMask(pattern,doc):
39  return _tauIdWPMask(pattern,choices=("Loose","Medium","Tight"),doc=doc)
def _tauId3WPMask(pattern, doc)
Definition: taus_cff.py:38
def _tauIdWPMask(pattern, choices, doc="")
Tables for final output and docs ##########################.
Definition: taus_cff.py:33
def taus_cff._tauId4WPMask (   pattern,
  doc 
)
private

Definition at line 40 of file taus_cff.py.

References _tauIdWPMask().

40 def _tauId4WPMask(pattern,doc):
41  return _tauIdWPMask(pattern, choices=("VLoose", "Loose", "Medium", "Tight"), doc=doc)
def _tauId4WPMask(pattern, doc)
Definition: taus_cff.py:40
def _tauIdWPMask(pattern, choices, doc="")
Tables for final output and docs ##########################.
Definition: taus_cff.py:33
def taus_cff._tauId5WPMask (   pattern,
  doc 
)
private

Definition at line 42 of file taus_cff.py.

References _tauIdWPMask().

42 def _tauId5WPMask(pattern,doc):
43  return _tauIdWPMask(pattern,choices=("VLoose","Loose","Medium","Tight","VTight"),doc=doc)
def _tauId5WPMask(pattern, doc)
Definition: taus_cff.py:42
def _tauIdWPMask(pattern, choices, doc="")
Tables for final output and docs ##########################.
Definition: taus_cff.py:33
def taus_cff._tauId6WPMask (   pattern,
  doc 
)
private

Definition at line 44 of file taus_cff.py.

References _tauIdWPMask().

44 def _tauId6WPMask(pattern,doc):
45  return _tauIdWPMask(pattern,choices=("VLoose","Loose","Medium","Tight","VTight","VVTight"),doc=doc)
def _tauId6WPMask(pattern, doc)
Definition: taus_cff.py:44
def _tauIdWPMask(pattern, choices, doc="")
Tables for final output and docs ##########################.
Definition: taus_cff.py:33
def taus_cff._tauId7WPMask (   pattern,
  doc 
)
private

Definition at line 46 of file taus_cff.py.

References _tauIdWPMask().

46 def _tauId7WPMask(pattern,doc):
47  return _tauIdWPMask(pattern,choices=("VVLoose","VLoose","Loose","Medium","Tight","VTight","VVTight"),doc=doc)
def _tauId7WPMask(pattern, doc)
Definition: taus_cff.py:46
def _tauIdWPMask(pattern, choices, doc="")
Tables for final output and docs ##########################.
Definition: taus_cff.py:33
def taus_cff._tauId8WPMask (   pattern,
  doc 
)
private

Definition at line 48 of file taus_cff.py.

References _tauIdWPMask().

48 def _tauId8WPMask(pattern,doc):
49  return _tauIdWPMask(pattern,choices=("VVVLoose","VVLoose","VLoose","Loose","Medium","Tight","VTight","VVTight"),doc=doc)
50 
def _tauIdWPMask(pattern, choices, doc="")
Tables for final output and docs ##########################.
Definition: taus_cff.py:33
def _tauId8WPMask(pattern, doc)
Definition: taus_cff.py:48
def taus_cff._tauIdWPMask (   pattern,
  choices,
  doc = "" 
)
private

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

Definition at line 33 of file taus_cff.py.

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

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

33 def _tauIdWPMask(pattern, choices, doc=""):
34  return Var(" + ".join(["%d * tauID('%s')" % (pow(2,i), pattern % c) for (i,c) in enumerate(choices)]), "uint8",
35  doc=doc+": bitmask "+", ".join(["%d = %s" % (pow(2,i),c) for (i,c) in enumerate(choices)]))
def Var(expr, valtype, compression=None, doc=None, mcOnly=False, precision=-1)
Definition: common_cff.py:20
def _tauIdWPMask(pattern, choices, doc="")
Tables for final output and docs ##########################.
Definition: taus_cff.py:33
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40

Variable Documentation

taus_cff._deepTauVars2017v2p1
private

Definition at line 118 of file taus_cff.py.

taus_cff._mvaAntiEVars2015
private

Definition at line 113 of file taus_cff.py.

taus_cff._mvaIsoVars2015
private

Definition at line 89 of file taus_cff.py.

taus_cff._mvaIsoVars2015Reduced
private

Definition at line 97 of file taus_cff.py.

taus_cff._mvaIsoVars2017v1
private

Definition at line 101 of file taus_cff.py.

taus_cff._mvaIsoVars2017v2
private

Definition at line 105 of file taus_cff.py.

taus_cff._tauSequence80X
private

Definition at line 251 of file taus_cff.py.

taus_cff._tauVarsBase
private

Definition at line 60 of file taus_cff.py.

taus_cff._variables80X
private

Definition at line 139 of file taus_cff.py.

taus_cff._variablesMiniV1
private

Definition at line 131 of file taus_cff.py.

taus_cff._variablesMiniV2
private

Definition at line 127 of file taus_cff.py.

taus_cff.bool

Definition at line 82 of file taus_cff.py.

taus_cff.branchName

Definition at line 245 of file taus_cff.py.

taus_cff.charge

Definition at line 61 of file taus_cff.py.

taus_cff.chargedIso

Definition at line 76 of file taus_cff.py.

taus_cff.checkCharge

Definition at line 219 of file taus_cff.py.

taus_cff.cut

Definition at line 16 of file taus_cff.py.

taus_cff.decayMode

Definition at line 63 of file taus_cff.py.

taus_cff.doc

Definition at line 55 of file taus_cff.py.

taus_cff.docString

Definition at line 246 of file taus_cff.py.

taus_cff.dxy

Definition at line 70 of file taus_cff.py.

taus_cff.dz

Definition at line 71 of file taus_cff.py.

taus_cff.eta

Definition at line 207 of file taus_cff.py.

taus_cff.extension

Definition at line 57 of file taus_cff.py.

taus_cff.finalTaus

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

Definition at line 14 of file taus_cff.py.

taus_cff.float

Definition at line 66 of file taus_cff.py.

taus_cff.GenParticles

Definition at line 182 of file taus_cff.py.

taus_cff.genPartIdxMother

Definition at line 211 of file taus_cff.py.

taus_cff.genTauSequence

Definition at line 254 of file taus_cff.py.

taus_cff.genVisTaus

Definition at line 191 of file taus_cff.py.

Referenced by GenVisTauProducer.produce().

taus_cff.genVisTauTable

Definition at line 197 of file taus_cff.py.

taus_cff.idAntiEle

Definition at line 116 of file taus_cff.py.

taus_cff.idAntiEle2018

Definition at line 162 of file taus_cff.py.

taus_cff.idAntiEleDeadECal

Definition at line 82 of file taus_cff.py.

taus_cff.idAntiMu

Definition at line 81 of file taus_cff.py.

taus_cff.idDecayMode

Definition at line 170 of file taus_cff.py.

taus_cff.idDecayModeNewDMs

Definition at line 171 of file taus_cff.py.

taus_cff.idDecayModeOldDMs

Definition at line 64 of file taus_cff.py.

taus_cff.idDeepTau2017v2p1VSe

Definition at line 122 of file taus_cff.py.

taus_cff.idDeepTau2017v2p1VSjet

Definition at line 124 of file taus_cff.py.

taus_cff.idDeepTau2017v2p1VSmu

Definition at line 123 of file taus_cff.py.

taus_cff.idMVAnewDM

Definition at line 93 of file taus_cff.py.

taus_cff.idMVAnewDM2017v2

Definition at line 109 of file taus_cff.py.

taus_cff.idMVAoldDM

Definition at line 94 of file taus_cff.py.

taus_cff.idMVAoldDM2017v1

Definition at line 103 of file taus_cff.py.

taus_cff.idMVAoldDM2017v2

Definition at line 110 of file taus_cff.py.

taus_cff.idMVAoldDMdR03

Definition at line 95 of file taus_cff.py.

taus_cff.idMVAoldDMdR032017v2

Definition at line 111 of file taus_cff.py.

taus_cff.includeNeutrinos

Definition at line 183 of file taus_cff.py.

taus_cff.int

Definition at line 61 of file taus_cff.py.

taus_cff.jetIdx

Definition at line 62 of file taus_cff.py.

taus_cff.leadTkDeltaEta

Definition at line 67 of file taus_cff.py.

taus_cff.leadTkDeltaPhi

Definition at line 68 of file taus_cff.py.

taus_cff.leadTkPtOverTauPt

Definition at line 66 of file taus_cff.py.

taus_cff.mass

Definition at line 208 of file taus_cff.py.

taus_cff.matched

Definition at line 217 of file taus_cff.py.

taus_cff.maxDeltaR

Definition at line 221 of file taus_cff.py.

taus_cff.maxDPtRel

Definition at line 222 of file taus_cff.py.

taus_cff.mcMap

Definition at line 241 of file taus_cff.py.

taus_cff.mcMapVisTau

Definition at line 242 of file taus_cff.py.

taus_cff.mcPdgId

Definition at line 218 of file taus_cff.py.

taus_cff.mcStatus

Definition at line 220 of file taus_cff.py.

taus_cff.name

Definition at line 54 of file taus_cff.py.

taus_cff.neutralIso

Definition at line 77 of file taus_cff.py.

taus_cff.objName

Definition at line 243 of file taus_cff.py.

taus_cff.objType

Definition at line 244 of file taus_cff.py.

taus_cff.phi

Definition at line 206 of file taus_cff.py.

taus_cff.photonsOutsideSignalCone

Definition at line 79 of file taus_cff.py.

taus_cff.precision

Definition at line 66 of file taus_cff.py.

taus_cff.pt

Definition at line 205 of file taus_cff.py.

taus_cff.puCorr

Definition at line 78 of file taus_cff.py.

taus_cff.rawAntiEle

Definition at line 114 of file taus_cff.py.

taus_cff.rawAntiEle2018

Definition at line 160 of file taus_cff.py.

taus_cff.rawAntiEleCat

Definition at line 115 of file taus_cff.py.

taus_cff.rawAntiEleCat2018

Definition at line 161 of file taus_cff.py.

taus_cff.rawDeepTau2017v2p1VSe

Definition at line 119 of file taus_cff.py.

taus_cff.rawDeepTau2017v2p1VSjet

Definition at line 121 of file taus_cff.py.

taus_cff.rawDeepTau2017v2p1VSmu

Definition at line 120 of file taus_cff.py.

taus_cff.rawIso

Definition at line 74 of file taus_cff.py.

taus_cff.rawIsodR03

Definition at line 75 of file taus_cff.py.

taus_cff.rawMVAnewDM

Definition at line 90 of file taus_cff.py.

taus_cff.rawMVAnewDM2017v2

Definition at line 106 of file taus_cff.py.

taus_cff.rawMVAoldDM

Definition at line 91 of file taus_cff.py.

taus_cff.rawMVAoldDM2017v1

Definition at line 102 of file taus_cff.py.

taus_cff.rawMVAoldDM2017v2

Definition at line 107 of file taus_cff.py.

taus_cff.rawMVAoldDMdR03

Definition at line 92 of file taus_cff.py.

taus_cff.rawMVAoldDMdR032017v2

Definition at line 108 of file taus_cff.py.

taus_cff.resolveAmbiguities

Definition at line 223 of file taus_cff.py.

taus_cff.resolveByMatchQuality

Definition at line 224 of file taus_cff.py.

taus_cff.singleton

Definition at line 56 of file taus_cff.py.

taus_cff.src

Definition at line 15 of file taus_cff.py.

taus_cff.srcGenParticles

Definition at line 193 of file taus_cff.py.

taus_cff.status

Definition at line 210 of file taus_cff.py.

taus_cff.tauGenJetsForNano

Definition at line 181 of file taus_cff.py.

taus_cff.tauGenJetsSelectorAllHadronsForNano

Definition at line 187 of file taus_cff.py.

taus_cff.tauMC

Definition at line 255 of file taus_cff.py.

taus_cff.tauMCTable

Definition at line 239 of file taus_cff.py.

taus_cff.tauSequence

Definition at line 250 of file taus_cff.py.

taus_cff.tausMCMatchHadTauForTable

Definition at line 227 of file taus_cff.py.

taus_cff.tausMCMatchLepTauForTable

Definition at line 215 of file taus_cff.py.

taus_cff.tauTable

Definition at line 51 of file taus_cff.py.

taus_cff.tauTables

Definition at line 253 of file taus_cff.py.

taus_cff.variables

Definition at line 58 of file taus_cff.py.