CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 relIso(self, dummy1, dummy2):
12  '''Just making the tau behave as a lepton.'''
13  return -1
14 
15  def __str__(self):
16  lep = super(IsoTrack, self).__str__()
17  return lep
18  #spec = '\t\tTau: decay = {decMode:<15}, eOverP = {eOverP:4.2f}, isoMVALoose = {isoMVALoose}'.format(
19  # decMode = tauDecayModes.intToName( self.decayMode() ),
20  # eOverP = self.calcEOverP(),
21  # isoMVALoose = self.tauID('byLooseIsoMVA')
22  # )
23  #return '\n'.join([lep, spec])
24 
25