CMS 3D CMS Logo

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

Public Member Functions

def __init__
 
def attachFootprintRemovedIsolation
 
def beginLoop
 
def checkMatch
 
def computeRandomCone
 
def declareHandles
 
def makePhotons
 
def matchPhotons
 
def printInfo
 
def process
 
def randomCone
 

Public Attributes

 etaCentral
 
 footprintRemovedIsolationPUCorr
 
 IsolationComputer
 

Static Public Attributes

 conf = cfg_ana.doPhotonScaleCorrections
 
 conversionSafe_eleVeto = False,
 
 do_mc_match = True,
 
 do_randomCone = False,
 
 doFootprintRemovedIsolation = False,
 
 doPhotonScaleCorrections = False,
 
float etaMax = 2.5
 
string footprintRemovedIsolationPUCorr = 'rhoArea'
 
string gamma_isoCorr = 'rhoArea'
 
string gammaID = "PhotonCutBasedIDLoose_CSA14"
 
string packedCandidates = 'packedPFCandidates'
 
string photons = 'slimmedPhotons'
 
int ptMin = 20
 
string rhoPhoton = 'fixedGridRhoFastjetAll'
 

Detailed Description

Definition at line 22 of file PhotonAnalyzer.py.

Constructor & Destructor Documentation

def objects.PhotonAnalyzer.PhotonAnalyzer.__init__ (   self,
  cfg_ana,
  cfg_comp,
  looperName 
)

Definition at line 25 of file PhotonAnalyzer.py.

Member Function Documentation

def objects.PhotonAnalyzer.PhotonAnalyzer.attachFootprintRemovedIsolation (   self,
  gamma 
)

Definition at line 300 of file PhotonAnalyzer.py.

def objects.PhotonAnalyzer.PhotonAnalyzer.beginLoop (   self,
  setup 
)

Definition at line 58 of file PhotonAnalyzer.py.

def objects.PhotonAnalyzer.PhotonAnalyzer.checkMatch (   self,
  eta,
  phi,
  particles,
  deltar 
)

Definition at line 231 of file PhotonAnalyzer.py.

def objects.PhotonAnalyzer.PhotonAnalyzer.computeRandomCone (   self,
  event,
  eta,
  phi,
  deltarmax,
  charged,
  jets,
  photons 
)

Definition at line 243 of file PhotonAnalyzer.py.

def objects.PhotonAnalyzer.PhotonAnalyzer.declareHandles (   self)

Definition at line 42 of file PhotonAnalyzer.py.

def objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons (   self,
  event 
)

Definition at line 66 of file PhotonAnalyzer.py.

def objects.PhotonAnalyzer.PhotonAnalyzer.matchPhotons (   self,
  event 
)

Definition at line 153 of file PhotonAnalyzer.py.

def objects.PhotonAnalyzer.PhotonAnalyzer.printInfo (   self,
  event 
)

Definition at line 312 of file PhotonAnalyzer.py.

def objects.PhotonAnalyzer.PhotonAnalyzer.process (   self,
  event 
)

Definition at line 329 of file PhotonAnalyzer.py.

def objects.PhotonAnalyzer.PhotonAnalyzer.randomCone (   self,
  event 
)

Definition at line 268 of file PhotonAnalyzer.py.

Member Data Documentation

objects.PhotonAnalyzer.PhotonAnalyzer.conf = cfg_ana.doPhotonScaleCorrections
static

Definition at line 35 of file PhotonAnalyzer.py.

objects.PhotonAnalyzer.PhotonAnalyzer.conversionSafe_eleVeto = False,
static

Definition at line 361 of file PhotonAnalyzer.py.

objects.PhotonAnalyzer.PhotonAnalyzer.do_mc_match = True,
static

Definition at line 362 of file PhotonAnalyzer.py.

objects.PhotonAnalyzer.PhotonAnalyzer.do_randomCone = False,
static

Definition at line 363 of file PhotonAnalyzer.py.

objects.PhotonAnalyzer.PhotonAnalyzer.doFootprintRemovedIsolation = False,
static

Definition at line 358 of file PhotonAnalyzer.py.

objects.PhotonAnalyzer.PhotonAnalyzer.doPhotonScaleCorrections = False,
static

Definition at line 353 of file PhotonAnalyzer.py.

objects.PhotonAnalyzer.PhotonAnalyzer.etaCentral

Definition at line 27 of file PhotonAnalyzer.py.

float objects.PhotonAnalyzer.PhotonAnalyzer.etaMax = 2.5
static

Definition at line 351 of file PhotonAnalyzer.py.

objects.PhotonAnalyzer.PhotonAnalyzer.footprintRemovedIsolationPUCorr

Definition at line 31 of file PhotonAnalyzer.py.

string objects.PhotonAnalyzer.PhotonAnalyzer.footprintRemovedIsolationPUCorr = 'rhoArea'
static

Definition at line 360 of file PhotonAnalyzer.py.

string objects.PhotonAnalyzer.PhotonAnalyzer.gamma_isoCorr = 'rhoArea'
static

Definition at line 356 of file PhotonAnalyzer.py.

string objects.PhotonAnalyzer.PhotonAnalyzer.gammaID = "PhotonCutBasedIDLoose_CSA14"
static

Definition at line 354 of file PhotonAnalyzer.py.

objects.PhotonAnalyzer.PhotonAnalyzer.IsolationComputer

Definition at line 32 of file PhotonAnalyzer.py.

string objects.PhotonAnalyzer.PhotonAnalyzer.packedCandidates = 'packedPFCandidates'
static

Definition at line 359 of file PhotonAnalyzer.py.

string objects.PhotonAnalyzer.PhotonAnalyzer.photons = 'slimmedPhotons'
static

Definition at line 349 of file PhotonAnalyzer.py.

int objects.PhotonAnalyzer.PhotonAnalyzer.ptMin = 20
static

Definition at line 350 of file PhotonAnalyzer.py.

string objects.PhotonAnalyzer.PhotonAnalyzer.rhoPhoton = 'fixedGridRhoFastjetAll'
static

Definition at line 355 of file PhotonAnalyzer.py.