CMS 3D CMS Logo

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__ (self, cfg_ana, cfg_comp, looperName)
 
def attachFootprintRemovedIsolation (self, gamma)
 
def beginLoop (self, setup)
 
def checkMatch (self, eta, phi, particles, deltar)
 
def computeRandomCone (self, event, eta, phi, deltarmax, charged, jets, photons)
 
def declareHandles (self)
 
def makePhotons (self, event)
 
def matchPhotons (self, event)
 
def printInfo (self, event)
 
def process (self, event)
 
def randomCone (self, event)
 

Public Attributes

 etaCentral
 
 IsolationComputer
 

Static Public Attributes

 class_object
 
 conf
 
 conversionSafe_eleVeto
 
 do_mc_match
 
 do_randomCone
 
 doFootprintRemovedIsolation
 
 doPhotonScaleCorrections
 
 etaMax
 
 footprintRemovedIsolationPUCorr
 
 gamma_isoCorr
 
 gammaID
 
 packedCandidates
 
 photonEnergyCalibrator
 
 photons
 
 ptMin
 
 rhoPhoton
 

Detailed Description

Definition at line 23 of file PhotonAnalyzer.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 26 of file PhotonAnalyzer.py.

26  def __init__(self, cfg_ana, cfg_comp, looperName ):
27  super(PhotonAnalyzer,self).__init__(cfg_ana,cfg_comp,looperName)
28  self.etaCentral = self.cfg_ana.etaCentral if hasattr(self.cfg_ana, 'etaCentral') else 9999
29  # footprint removed isolation
30  self.doFootprintRemovedIsolation = getattr(cfg_ana, 'doFootprintRemovedIsolation', False)
31  if self.doFootprintRemovedIsolation:
32  self.footprintRemovedIsolationPUCorr = self.cfg_ana.footprintRemovedIsolationPUCorr
33  self.IsolationComputer = heppy.IsolationComputer()
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ attachFootprintRemovedIsolation()

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

Definition at line 301 of file PhotonAnalyzer.py.

References analyzer.Analyzer.cfg_ana, objects.PhotonAnalyzer.PhotonAnalyzer.IsolationComputer, objects.LeptonAnalyzer.LeptonAnalyzer.IsolationComputer, SiStripPI.max, and str.

Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().

301  def attachFootprintRemovedIsolation(self, gamma):
302  # cone deltar=0.3
303  gamma.ftprAbsIsoCharged03 = self.IsolationComputer.chargedAbsIso(gamma.physObj, 0.3, 0, 0.0);
304  gamma.ftprAbsIsoPho03 = self.IsolationComputer.photonAbsIsoRaw( gamma.physObj, 0.3, 0, 0.0);
305  gamma.ftprAbsIsoNHad03 = self.IsolationComputer.neutralHadAbsIsoRaw( gamma.physObj, 0.3, 0, 0.0);
306  gamma.ftprAbsIso03 = gamma.ftprAbsIsoCharged03 + gamma.ftprAbsIsoPho03 + gamma.ftprAbsIsoNHad03
307  if self.cfg_ana.gamma_isoCorr == "rhoArea":
308  gamma.ftprAbsIso03 = (max(gamma.ftprAbsIsoCharged03-gamma.rho*gamma.EffectiveArea03[0],0) + max(gamma.ftprAbsIsoPho03-gamma.rho*gamma.EffectiveArea03[1],0) + max(gamma.ftprAbsIsoNHad03 - gamma.rho*gamma.EffectiveArea03[2],0))
309  elif self.cfg_ana.gamma_isoCorr != 'raw':
310  raise RuntimeError("Unsupported gamma_isoCorr name '" + str(self.cfg_ana.gamma_isoCorr) + "'! For now only 'rhoArea', 'raw' are supported.")
311  gamma.ftprRelIso03 = gamma.ftprAbsIso03/gamma.pt()
312 
#define str(s)

◆ beginLoop()

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

Definition at line 59 of file PhotonAnalyzer.py.

References CSCSPEvent.counters(), cms::cuda::AtomicPairCounter::Atomic2.counters, NMaxPerLumi.counters, analyzer.Analyzer.counters, HistogramManager.counters, counter.Counters.counters, and cscdqm::ChamberCounterKeyType.counters.

59  def beginLoop(self, setup):
60  super(PhotonAnalyzer,self).beginLoop(setup)
61  self.counters.addCounter('events')
62  count = self.counters.counter('events')
63  count.register('all events')
64  count.register('has >=1 gamma at preselection')
65  count.register('has >=1 selected gamma')
66 

◆ checkMatch()

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

Definition at line 232 of file PhotonAnalyzer.py.

References PbPb_ZMuSkimMuonDPG_cff.deltaR.

Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.computeRandomCone().

232  def checkMatch( self, eta, phi, particles, deltar ):
233 
234  for part in particles:
235  if deltaR(eta, phi, part.eta(), part.phi()) < deltar:
236  return True
237 
238  return False
239 
240 
241 
242 
243 

◆ computeRandomCone()

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

Definition at line 244 of file PhotonAnalyzer.py.

References objects.PhotonAnalyzer.PhotonAnalyzer.checkMatch(), and PbPb_ZMuSkimMuonDPG_cff.deltaR.

Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.randomCone().

244  def computeRandomCone( self, event, eta, phi, deltarmax, charged, jets, photons ):
245 
246  if self.checkMatch( eta, phi, jets, 2.*deltarmax ):
247  return -1.
248 
249  if self.checkMatch( eta, phi, photons, 2.*deltarmax ):
250  return -1.
251 
252  if self.checkMatch( eta, phi, event.selectedLeptons, deltarmax ):
253  return -1.
254 
255  iso = 0.
256 
257  for part in charged:
258  if deltaR(eta, phi, part.eta(), part.phi()) > deltarmax : continue
259  #if deltaR(eta, phi, part.eta(), part.phi()) < 0.02: continue
260  iso += part.pt()
261 
262  return iso
263 
264 
265 
266 
267 
268 

◆ declareHandles()

def objects.PhotonAnalyzer.PhotonAnalyzer.declareHandles (   self)

Definition at line 43 of file PhotonAnalyzer.py.

References analyzer.Analyzer.cfg_ana, core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, and core.Analyzer.Analyzer.mchandles.

43  def declareHandles(self):
44  super(PhotonAnalyzer, self).declareHandles()
45  self.handles['rhoPhoton'] = AutoHandle( self.cfg_ana.rhoPhoton, 'double')
46 

◆ makePhotons()

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

Definition at line 67 of file PhotonAnalyzer.py.

References funct.abs(), objects.PhotonAnalyzer.PhotonAnalyzer.attachFootprintRemovedIsolation(), analyzer.Analyzer.cfg_ana, CSCSPEvent.counters(), cms::cuda::AtomicPairCounter::Atomic2.counters, NMaxPerLumi.counters, analyzer.Analyzer.counters, HistogramManager.counters, counter.Counters.counters, cscdqm::ChamberCounterKeyType.counters, objects.PhotonAnalyzer.PhotonAnalyzer.doFootprintRemovedIsolation, objects.PhotonAnalyzer.PhotonAnalyzer.etaCentral, dqmMemoryStats.float, core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, objects.PhotonAnalyzer.PhotonAnalyzer.IsolationComputer, objects.LeptonAnalyzer.LeptonAnalyzer.IsolationComputer, genParticles_cff.map, SiStripPI.max, and objects.PhotonAnalyzer.PhotonAnalyzer.photonEnergyCalibrator.

Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().

67  def makePhotons(self, event):
68  event.allphotons = map( Photon, self.handles['photons'].product() )
69  event.allphotons.sort(key = lambda l : l.pt(), reverse = True)
70 
71  event.selectedPhotons = []
72  event.selectedPhotonsCentral = []
73 
74  if self.doFootprintRemovedIsolation:
75  # values are taken from EGamma implementation: https://github.com/cms-sw/cmssw/blob/CMSSW_7_6_X/RecoEgamma/PhotonIdentification/plugins/PhotonIDValueMapProducer.cc#L198-L199
76  self.IsolationComputer.setPackedCandidates(self.handles['packedCandidates'].product(), -1, 0.1, 0.2)
77 
78  # Photon scale calibrations
79  if self.cfg_ana.doPhotonScaleCorrections:
80  for gamma in event.allphotons:
81  self.photonEnergyCalibrator.correct(gamma, event.run)
82 
83  foundPhoton = False
84  for gamma in event.allphotons:
85  if gamma.pt() < self.cfg_ana.ptMin: continue
86  if abs(gamma.eta()) > self.cfg_ana.etaMax: continue
87  foundPhoton = True
88 
89  gamma.rho = float(self.handles['rhoPhoton'].product()[0])
90  # https://twiki.cern.ch/twiki/bin/view/CMS/CutBasedPhotonIdentificationRun2#Selection_implementation_details
91  if abs(gamma.eta()) < 1.0: gamma.EffectiveArea03 = [ 0.0234, 0.0053, 0.078 ]
92  elif abs(gamma.eta()) < 1.479: gamma.EffectiveArea03 = [ 0.0189, 0.0103, 0.0629 ]
93  elif abs(gamma.eta()) < 2.0: gamma.EffectiveArea03 = [ 0.0171, 0.0057, 0.0264 ]
94  elif abs(gamma.eta()) < 2.2: gamma.EffectiveArea03 = [ 0.0129, 0.0070, 0.0462 ]
95  elif abs(gamma.eta()) < 2.3: gamma.EffectiveArea03 = [ 0.0110, 0.0152, 0.0740 ]
96  elif abs(gamma.eta()) < 2.4: gamma.EffectiveArea03 = [ 0.0074, 0.0232, 0.0924 ]
97  else: gamma.EffectiveArea03 = [ 0.0035, 0.1709, 0.1484 ]
98 
99  if self.doFootprintRemovedIsolation:
100  self.attachFootprintRemovedIsolation(gamma)
101 
102  gamma.relIso = (max(gamma.chargedHadronIso()-gamma.rho*gamma.EffectiveArea03[0],0) + max(gamma.neutralHadronIso()-gamma.rho*gamma.EffectiveArea03[1],0) + max(gamma.photonIso() - gamma.rho*gamma.EffectiveArea03[2],0))/gamma.pt()
103 
104  def idWP(gamma,X):
105  """Create an integer equal to 1-2-3 for (loose,medium,tight)"""
106 
107  id=0
108  if gamma.photonID(X%"Loose"):
109  id=1
110  #if gamma.photonID(X%"Medium"):
111  # id=2
112  if gamma.photonID(X%"Tight"):
113  id=3
114  return id
115 
116  gamma.idCutBased = idWP(gamma, "PhotonCutBasedID%s")
117 
118 
119  keepThisPhoton = True
120 
121  if self.cfg_ana.gammaID=="PhotonCutBasedIDLoose_CSA14" or self.cfg_ana.gammaID=="PhotonCutBasedIDLoose_PHYS14" :
122  gamma.idCutBased = gamma.photonIDCSA14(self.cfg_ana.gammaID)
123  # we're keeing sigmaietaieta sidebands:
124  keepThisPhoton = gamma.photonIDCSA14(self.cfg_ana.gammaID, True)
125 
126  if gamma.hasPixelSeed():
127  keepThisPhoton = False
128  gamma.idCutBased = 0
129  elif "NoIso" in self.cfg_ana.gammaID:
130  idName = re.split('_NoIso',self.cfg_ana.gammaID)
131  keepThisPhoton = gamma.passPhotonID(idName[0],self.cfg_ana.conversionSafe_eleVeto)
132  basenameID = re.split('_looseSieie',idName[0])
133  gamma.idCutBased = gamma.passPhotonID(basenameID[0],self.cfg_ana.conversionSafe_eleVeto)
134  else:
135  # Reading from miniAOD directly
136  #keepThisPhoton = gamma.photonID(self.cfg_ana.gammaID)
137 
138  # implement cut based ID with CMGTools
139  keepThisPhoton = gamma.passPhotonID(self.cfg_ana.gammaID,self.cfg_ana.conversionSafe_eleVeto) and gamma.passPhotonIso(self.cfg_ana.gammaID,self.cfg_ana.gamma_isoCorr)
140 
141  if keepThisPhoton:
142  event.selectedPhotons.append(gamma)
143 
144  if keepThisPhoton and abs(gamma.eta()) < self.etaCentral:
145  event.selectedPhotonsCentral.append(gamma)
146 
147  event.selectedPhotons.sort(key = lambda l : l.pt(), reverse = True)
148  event.selectedPhotonsCentral.sort(key = lambda l : l.pt(), reverse = True)
149 
150  self.counters.counter('events').inc('all events')
151  if foundPhoton: self.counters.counter('events').inc('has >=1 gamma at preselection')
152  if len(event.selectedPhotons): self.counters.counter('events').inc('has >=1 selected gamma')
153 
Abs< T >::type abs(const T &t)
Definition: Abs.h:22

◆ matchPhotons()

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

Definition at line 154 of file PhotonAnalyzer.py.

References funct.abs(), PbPb_ZMuSkimMuonDPG_cff.deltaR, deltar.matchObjectCollection3(), core.Analyzer.Analyzer.mchandles, and EgammaValidation_cff.pdgId.

Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().

154  def matchPhotons(self, event):
155  event.genPhotons = [ x for x in event.genParticles if x.status() == 1 and abs(x.pdgId()) == 22 ]
156  event.genPhotonsWithMom = [ x for x in event.genPhotons if x.numberOfMothers()>0 ]
157  event.genPhotonsWithoutMom = [ x for x in event.genPhotons if x.numberOfMothers()==0 ]
158  event.genPhotonsMatched = [ x for x in event.genPhotonsWithMom if abs(x.mother(0).pdgId())<23 or x.mother(0).pdgId()==2212 ]
159  match = matchObjectCollection3(event.allphotons, event.genPhotonsMatched, deltaRMax = 0.1)
160  matchNoMom = matchObjectCollection3(event.allphotons, event.genPhotonsWithoutMom, deltaRMax = 0.1)
161  packedGenParts = [ p for p in self.mchandles['packedGen'].product() if abs(p.eta()) < 3.1 ]
162  partons = [ p for p in self.mchandles['prunedGen'].product() if (p.status()==23 or p.status()==22) and abs(p.pdgId())<22 ]
163  for gamma in event.allphotons:
164  gen = match[gamma]
165  gamma.mcGamma = gen
166  if gen and gen.pt()>=0.5*gamma.pt() and gen.pt()<=2.*gamma.pt():
167  gamma.mcMatchId = 22
168  sumPt03 = 0.;
169  sumPt04 = 0.;
170  for part in packedGenParts:
171  if abs(part.pdgId())==12: continue # exclude neutrinos
172  if abs(part.pdgId())==14: continue
173  if abs(part.pdgId())==16: continue
174  if abs(part.pdgId())==18: continue
175  deltar = deltaR(gen.eta(), gen.phi(), part.eta(), part.phi())
176  if deltar <= 0.3:
177  sumPt03 += part.pt()
178  if deltar <= 0.4:
179  sumPt04 += part.pt()
180  sumPt03 -= gen.pt()
181  sumPt04 -= gen.pt()
182  if sumPt03<0. : sumPt03=0.
183  if sumPt04<0. : sumPt04=0.
184  gamma.genIso03 = sumPt03
185  gamma.genIso04 = sumPt04
186  # match to parton
187  deltaRmin = 999.
188  for p in partons:
189  deltar = deltaR(gen.eta(), gen.phi(), p.eta(), p.phi())
190  if deltar < deltaRmin:
191  deltaRmin = deltar
192  gamma.drMinParton = deltaRmin
193  else:
194  genNoMom = matchNoMom[gamma]
195  if genNoMom:
196  gamma.mcMatchId = 7
197  sumPt03 = 0.;
198  sumPt04 = 0.;
199  for part in packedGenParts:
200  if abs(part.pdgId())==12: continue # exclude neutrinos
201  if abs(part.pdgId())==14: continue
202  if abs(part.pdgId())==16: continue
203  if abs(part.pdgId())==18: continue
204  deltar = deltaR(genNoMom.eta(), genNoMom.phi(), part.eta(), part.phi())
205  if deltar <= 0.3:
206  sumPt03 += part.pt()
207  if deltar <= 0.4:
208  sumPt04 += part.pt()
209  sumPt03 -= genNoMom.pt()
210  sumPt04 -= genNoMom.pt()
211  if sumPt03<0. : sumPt03=0.
212  if sumPt04<0. : sumPt04=0.
213  gamma.genIso03 = sumPt03
214  gamma.genIso04 = sumPt04
215  # match to parton
216  deltaRmin = 999.
217  for p in partons:
218  deltar = deltaR(genNoMom.eta(), genNoMom.phi(), p.eta(), p.phi())
219  if deltar < deltaRmin:
220  deltaRmin = deltar
221  gamma.drMinParton = deltaRmin
222  else:
223  gamma.mcMatchId = 0
224  gamma.genIso03 = -1.
225  gamma.genIso04 = -1.
226  gamma.drMinParton = -1.
227 
228 
229 
230 
231 
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
def matchObjectCollection3
Definition: deltar.py:41

◆ printInfo()

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

Definition at line 313 of file PhotonAnalyzer.py.

References gedPhotonSequence_cff.chargedHadronIso, PVValHelper.eta, HLT_2023v12_cff.full5x5_sigmaIetaIeta, EgHLTOffHistBins_cfi.mass, gedPhotonSequence_cff.neutralHadronIso, gedPhotonSequence_cff.photonIso, print(), and DiDispStaMuonMonitor_cfi.pt.

313  def printInfo(self, event):
314  print('----------------')
315  if len(event.selectedPhotons)>0:
316  print('lenght: ',len(event.selectedPhotons))
317  print('gamma candidate pt: ',event.selectedPhotons[0].pt())
318  print('gamma candidate eta: ',event.selectedPhotons[0].eta())
319  print('gamma candidate phi: ',event.selectedPhotons[0].phi())
320  print('gamma candidate mass: ',event.selectedPhotons[0].mass())
321  print('gamma candidate HoE: ',event.selectedPhotons[0].hOVERe())
322  print('gamma candidate r9: ',event.selectedPhotons[0].full5x5_r9())
323  print('gamma candidate sigmaIetaIeta: ',event.selectedPhotons[0].full5x5_sigmaIetaIeta())
324  print('gamma candidate had iso: ',event.selectedPhotons[0].chargedHadronIso())
325  print('gamma candidate neu iso: ',event.selectedPhotons[0].neutralHadronIso())
326  print('gamma candidate gamma iso: ',event.selectedPhotons[0].photonIso())
327  print('gamma idCutBased',event.selectedPhotons[0].idCutBased)
328 
329 
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def printInfo(self, event)

◆ process()

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

Definition at line 330 of file PhotonAnalyzer.py.

References analyzer.Analyzer.cfg_ana, analyzer.Analyzer.cfg_comp, looper.Looper.cfg_comp, objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons(), objects.PhotonAnalyzer.PhotonAnalyzer.matchPhotons(), objects.PhotonAnalyzer.PhotonAnalyzer.randomCone(), and core.Analyzer.Analyzer.readCollections().

330  def process(self, event):
331  self.readCollections( event.input )
332  self.makePhotons(event)
333 # self.printInfo(event)
334 
335  if self.cfg_ana.do_randomCone:
336  self.randomCone(event)
337 
338  if not self.cfg_comp.isMC:
339  return True
340 
341  if self.cfg_ana.do_mc_match and hasattr(event, 'genParticles'):
342  self.matchPhotons(event)
343 
344 
345  return True
346 
347 
348 setattr(PhotonAnalyzer,"defaultConfig",cfg.Analyzer(

◆ randomCone()

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

Definition at line 269 of file PhotonAnalyzer.py.

References funct.abs(), objects.PhotonAnalyzer.PhotonAnalyzer.computeRandomCone(), core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, and HTTP.RequestManager.handles.

Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.process().

269  def randomCone( self, event ):
270 
271  patcands = self.handles['packedCandidates'].product()
272  jets = self.handles['jets'].product()
273 
274  charged = [ p for p in patcands if ( p.charge() != 0 and abs(p.pdgId())>20 and abs(p.dz())<=0.1 and p.fromPV()>1 and p.trackHighPurity() ) ]
275  photons10 = [ p for p in patcands if ( p.pdgId() == 22 and p.pt()>10. ) ]
276  jets20 = [ j for j in jets if j.pt() > 20 and abs(j.eta())<2.5 ]
277 
278  for gamma in event.allphotons:
279 
280  etaPhot = gamma.eta()
281  phiPhot = gamma.eta()
282  pi = 3.14159
283  phiRC = phiPhot + 0.5*pi
284  while phiRC>pi:
285  phiRC -= 2.*pi
286 
287 
288  gamma.chHadIsoRC03 = self.computeRandomCone( event, etaPhot, phiRC, 0.3, charged, jets20, photons10 )
289  gamma.chHadIsoRC04 = self.computeRandomCone( event, etaPhot, phiRC, 0.4, charged, jets20, photons10 )
290 
291 
292  #try other side
293  phiRC = phiPhot - 0.5*pi
294  while phiRC<-pi:
295  phiRC += 2.*pi
296 
297  if gamma.chHadIsoRC03<0. : gamma.chHadIsoRC03 = self.computeRandomCone( event, etaPhot, phiRC, 0.3, charged, jets20, photons10 )
298  if gamma.chHadIsoRC04<0. : gamma.chHadIsoRC04 = self.computeRandomCone( event, etaPhot, phiRC, 0.4, charged, jets20, photons10 )
299 
300 
Abs< T >::type abs(const T &t)
Definition: Abs.h:22

Member Data Documentation

◆ class_object

objects.PhotonAnalyzer.PhotonAnalyzer.class_object
static

Definition at line 349 of file PhotonAnalyzer.py.

Referenced by config.Analyzer.build_name(), and config.Service.build_name().

◆ conf

objects.PhotonAnalyzer.PhotonAnalyzer.conf
static

Definition at line 36 of file PhotonAnalyzer.py.

◆ conversionSafe_eleVeto

objects.PhotonAnalyzer.PhotonAnalyzer.conversionSafe_eleVeto
static

Definition at line 362 of file PhotonAnalyzer.py.

◆ do_mc_match

objects.PhotonAnalyzer.PhotonAnalyzer.do_mc_match
static

Definition at line 363 of file PhotonAnalyzer.py.

◆ do_randomCone

objects.PhotonAnalyzer.PhotonAnalyzer.do_randomCone
static

Definition at line 364 of file PhotonAnalyzer.py.

◆ doFootprintRemovedIsolation

objects.PhotonAnalyzer.PhotonAnalyzer.doFootprintRemovedIsolation
static

◆ doPhotonScaleCorrections

objects.PhotonAnalyzer.PhotonAnalyzer.doPhotonScaleCorrections
static

Definition at line 354 of file PhotonAnalyzer.py.

◆ etaCentral

objects.PhotonAnalyzer.PhotonAnalyzer.etaCentral

Definition at line 28 of file PhotonAnalyzer.py.

Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().

◆ etaMax

objects.PhotonAnalyzer.PhotonAnalyzer.etaMax
static

Definition at line 352 of file PhotonAnalyzer.py.

◆ footprintRemovedIsolationPUCorr

objects.PhotonAnalyzer.PhotonAnalyzer.footprintRemovedIsolationPUCorr
static

Definition at line 361 of file PhotonAnalyzer.py.

◆ gamma_isoCorr

objects.PhotonAnalyzer.PhotonAnalyzer.gamma_isoCorr
static

Definition at line 357 of file PhotonAnalyzer.py.

◆ gammaID

objects.PhotonAnalyzer.PhotonAnalyzer.gammaID
static

Definition at line 355 of file PhotonAnalyzer.py.

◆ IsolationComputer

objects.PhotonAnalyzer.PhotonAnalyzer.IsolationComputer

◆ packedCandidates

objects.PhotonAnalyzer.PhotonAnalyzer.packedCandidates
static

Definition at line 360 of file PhotonAnalyzer.py.

◆ photonEnergyCalibrator

objects.PhotonAnalyzer.PhotonAnalyzer.photonEnergyCalibrator
static

Definition at line 37 of file PhotonAnalyzer.py.

Referenced by objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons().

◆ photons

objects.PhotonAnalyzer.PhotonAnalyzer.photons
static

Definition at line 350 of file PhotonAnalyzer.py.

◆ ptMin

objects.PhotonAnalyzer.PhotonAnalyzer.ptMin
static

Definition at line 351 of file PhotonAnalyzer.py.

◆ rhoPhoton

objects.PhotonAnalyzer.PhotonAnalyzer.rhoPhoton
static

Definition at line 356 of file PhotonAnalyzer.py.