Exemplo n.º 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])
Exemplo n.º 2
0
Arquivo: Tau.py Projeto: anantoni/CMG
 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])
Exemplo n.º 3
0
Arquivo: Tau.py Projeto: anantoni/CMG
 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])
Exemplo n.º 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])