Beispiel #1
0
 def __str__(self):
     lep = super(Tau, self).__str__()
     spec = '\tTau: decay = {decMode:<15}, eOverP = {eOverP:4.2f}'.format(
         decMode = tauDecayModes.intToName( self.decayMode() ),
         eOverP = self.calcEOverP()
         )
     return '\n'.join([lep, spec])
Beispiel #2
0
 def __str__(self):
     lep = super(Tau, self).__str__()
     spec = '\t\tTau: decay = {decMode:<15}, eOverP = {eOverP:4.2f}, isoMVALoose = {isoMVALoose}'.format(
         decMode=tauDecayModes.intToName(self.decayMode()),
         eOverP=self.calcEOverP(),
         isoMVALoose=self.tauID('byLooseIsoMVA'))
     return '\n'.join([lep, spec])
Beispiel #3
0
 def __str__(self):
     lep = super(Tau, self).__str__()
     spec = '\t\tTau: decay = {decMode:<15}, eOverP = {eOverP:4.2f}, isoMVALoose = {isoMVALoose}'.format(
         decMode = tauDecayModes.intToName( self.decayMode() ),
         eOverP = self.calcEOverP(),
         isoMVALoose = self.tauID('byLooseIsoMVA')
         )
     return '\n'.join([lep, spec])
Beispiel #4
0
 def __str__(self):
     lep = super(Tau, self).__str__()
     spec = '\tTau: decay = {decMode:<15}, eOverP = {eOverP:4.2f}'.format(
         decMode=tauDecayModes.intToName(self.decayMode()),
         eOverP=self.calcEOverP())
     return '\n'.join([lep, spec])