CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IsoTrack.py
Go to the documentation of this file.
2 import ROOT
3 import math
4 
6 
7  def __init__(self, isoTrack):
8  self.isoTrack = isoTrack
9  super(IsoTrack, self).__init__(isoTrack)
10 
11  def absIso(self, dummy1, dummy2):
12  '''Just making the tau behave as a lepton.'''
13  return -1
14 
15  def relIso(self, dummy1, dummy2):
16  '''Just making the tau behave as a lepton.'''
17  return -1
18 
19  def __str__(self):
20  lep = super(IsoTrack, self).__str__()
21  return lep
22  #spec = '\t\tTau: decay = {decMode:<15}, eOverP = {eOverP:4.2f}, isoMVALoose = {isoMVALoose}'.format(
23  # decMode = tauDecayModes.intToName( self.decayMode() ),
24  # eOverP = self.calcEOverP(),
25  # isoMVALoose = self.tauID('byLooseIsoMVA')
26  # )
27  #return '\n'.join([lep, spec])
28 
29