示例#1
0
文件: Tau.py 项目: xorver/cmssw
 def __str__(self):
     lep = super(Tau, self).__str__()
     spec = '\t\tTau: decay = {decMode:<15}'.format(
         decMode=tauDecayModes.intToName(self.decayMode()))
     return '\n'.join([lep, spec])
示例#2
0
 def __str__(self):
     lep = super(Tau, self).__str__()
     spec = '\t\tTau: decay = {decMode:<15}'.format(
         decMode = tauDecayModes.intToName(self.decayMode())
     )
     return '\n'.join([lep, spec])