CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
Photon.Photon Class Reference
Inheritance diagram for Photon.Photon:

Public Member Functions

def chargedHadronIso
 
def hOVERe
 
def neutralHadronIso
 
def photonIDCSA14
 
def photonIso
 
def r9
 
def sigmaIetaIeta
 

Detailed Description

return object from the photon 

Definition at line 3 of file Photon.py.

Member Function Documentation

def Photon.Photon.chargedHadronIso (   self)

Definition at line 19 of file Photon.py.

Referenced by Lepton.Lepton.absIso(), and Lepton.Lepton.absIsoFromEA().

19 
20  def chargedHadronIso(self):
21  return self.physObj.chargedHadronIso()
def chargedHadronIso
Definition: Photon.py:19
def Photon.Photon.hOVERe (   self)

Definition at line 7 of file Photon.py.

References relval_parameters_module.energy.

Referenced by Photon.Photon.photonIDCSA14().

7 
8  def hOVERe(self):
9 # return self.physObj.full5x5_hadTowOverEm()
10  hadTowDepth1O = self.physObj.hadTowDepth1OverEm() * (self.physObj.superCluster().energy()/self.physObj.e5x5() if self.physObj.e5x5() else 1)
11  hadTowDepth2O = self.physObj.hadTowDepth2OverEm() * (self.physObj.superCluster().energy()/self.physObj.e5x5() if self.physObj.e5x5() else 1)
12  return hadTowDepth1O + hadTowDepth2O
def hOVERe
Definition: Photon.py:7
def Photon.Photon.neutralHadronIso (   self)

Definition at line 22 of file Photon.py.

Referenced by Lepton.Lepton.absIso(), and Lepton.Lepton.absIsoFromEA().

22 
23  def neutralHadronIso(self):
24  return self.physObj.neutralHadronIso()
def neutralHadronIso
Definition: Photon.py:22
def Photon.Photon.photonIDCSA14 (   self,
  name 
)

Definition at line 28 of file Photon.py.

References funct.abs(), and Photon.Photon.hOVERe().

28 
29  def photonIDCSA14(self, name):
30  keepThisPhoton = True
31  if name == "PhotonCutBasedIDLoose_CSA14":
32  if abs(self.physObj.eta())<1.479 :
33  if self.physObj.sigmaIetaIeta() > 0.012 : keepThisPhoton = False
34  if self.hOVERe() > 0.0559 : keepThisPhoton = False
35  else :
36  if self.physObj.sigmaIetaIeta() > 0.035 : keepThisPhoton = False
37  if self.hOVERe() > 0.049 : keepThisPhoton = False
38  return keepThisPhoton
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
def hOVERe
Definition: Photon.py:7
def photonIDCSA14
Definition: Photon.py:28
def Photon.Photon.photonIso (   self)

Definition at line 25 of file Photon.py.

Referenced by Lepton.Lepton.absIso(), and Lepton.Lepton.absIsoFromEA().

25 
26  def photonIso(self):
27  return self.physObj.photonIso()
def photonIso
Definition: Photon.py:25
def Photon.Photon.r9 (   self)

Definition at line 13 of file Photon.py.

13 
14  def r9(self):
15  return self.physObj.r9()
def Photon.Photon.sigmaIetaIeta (   self)

Definition at line 16 of file Photon.py.

Referenced by HTauTauElectron.HTauTauElectron.looseIdForEleTau().

16 
17  def sigmaIetaIeta(self):
18  return self.physObj.sigmaIetaIeta()
def sigmaIetaIeta
Definition: Photon.py:16