Skip to content

Commit

Permalink
Heppy Photons: bug fix : remove the full5x5 for 72X
Browse files Browse the repository at this point in the history
  • Loading branch information
mariadalfonso committed Jan 13, 2015
1 parent 22ac93c commit de41ba8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions PhysicsTools/Heppy/python/physicsobjects/Photon.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ class Photon(PhysicsObject ):
'''
def hOVERe(self):
# return self.physObj.full5x5_hadTowOverEm()
hadTowDepth1O = self.physObj.hadTowDepth1OverEm() * (self.physObj.superCluster().energy()/self.physObj.full5x5_e5x5() if self.physObj.full5x5_e5x5() else 1)
hadTowDepth2O = self.physObj.hadTowDepth2OverEm() * (self.physObj.superCluster().energy()/self.physObj.full5x5_e5x5() if self.physObj.full5x5_e5x5() else 1)
hadTowDepth1O = self.physObj.hadTowDepth1OverEm() * (self.physObj.superCluster().energy()/self.physObj.e5x5() if self.physObj.e5x5() else 1)
hadTowDepth2O = self.physObj.hadTowDepth2OverEm() * (self.physObj.superCluster().energy()/self.physObj.e5x5() if self.physObj.e5x5() else 1)
return hadTowDepth1O + hadTowDepth2O

def r9(self):
return self.physObj.full5x5_r9()
return self.physObj.r9()

def sigmaIetaIeta(self):
return self.physObj.full5x5_sigmaIetaIeta()
return self.physObj.sigmaIetaIeta()

def chargedHadronIso(self):
return self.physObj.chargedHadronIso()
Expand Down

0 comments on commit de41ba8

Please sign in to comment.