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.JetAnalyzer.JetAnalyzer Class Reference
Inheritance diagram for objects.JetAnalyzer.JetAnalyzer:

Public Member Functions

def __init__
 
def beginLoop
 
def computeQGvars
 
def declareHandles
 
def jetFlavour
 
def matchJets
 
def process
 
def smearJets
 
def testJetID
 
def testJetNoID
 

Public Attributes

 allJetsUsedForMET
 
 bqObjects
 
 cqObjects
 
 deltaMetFromJEC
 Read jets, if necessary recalibrate and shift MET. More...
 
 doJEC
 
 genJets
 
 heaviestQCDFlavour
 
 jetGammaDR
 
 jetLepArbitration
 
 jetLepDR
 
 jetReCalibrator
 
 lepPtMin
 
 partons
 
 qglcalc
 
 rho
 
 shiftJEC
 
 shiftJER
 

Static Public Attributes

 alwaysCleanPhotons = False,
 
 class_object = JetAnalyzer,
 
 cleanGenJetsFromPhoton = False,
 
 cleanJetsFromFirstPhoton = False,
 
 cleanJetsFromIsoTracks = False,
 
 cleanJetsFromTaus = False,
 
 cleanSelectedLeptons = True,
 
string collectionPostFix = ""
 
 copyJetsByValue = False,
 
 doPuId = False,
 
 doQG = False,
 
string genJetCol = 'slimmedGenJets'
 
string jecPath = ""
 
list jet = jlpairs[lep]
 
string jetCol = 'slimmedJets'
 
float jetEta = 4.7
 
float jetEtaCentral = 2.4
 
tuple jetLepArbitration = (lambda jet,lepton : lepton)
 
float jetLepDR = 0.4
 
int jetPt = 25
 
tuple jlpairs = matchObjectCollection( leptons, allJets, self.jetLepDR**2)
 
tuple jtaupairs = matchObjectCollection( taus, allJets, self.jetLepDR**2)
 
 lepSelCut = lambdalep:True,
 
list leptons = []
 Sort Jets by pT. More...
 
tuple leptons = event.inclusiveLeptonsifhasattr(event, 'inclusiveLeptons')
 Associate jets to leptons. More...
 
int minLepPt = 10
 
list photons = []
 Clean Jets from photons. More...
 
 recalibrateJets = False,
 
string recalibrationType = "AK4PFchs"
 
 relaxJetId = False,
 
tuple rho = ('fixedGridRhoFastjetAll','','')
 
int shiftJEC = 0
 
int shiftJER = 0
 
 smearJets = True,
 
tuple taus = getattr(event,'selectedTaus',[])
 Associate jets to taus. More...
 

Detailed Description

Taken from RootTools.JetAnalyzer, simplified, modified, added corrections    

Definition at line 49 of file JetAnalyzer.py.

Constructor & Destructor Documentation

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

Definition at line 51 of file JetAnalyzer.py.

51 
52  def __init__(self, cfg_ana, cfg_comp, looperName):
53  super(JetAnalyzer,self).__init__(cfg_ana, cfg_comp, looperName)
54  mcGT = cfg_ana.mcGT if hasattr(cfg_ana,'mcGT') else "PHYS14_25_V2"
55  dataGT = cfg_ana.dataGT if hasattr(cfg_ana,'dataGT') else "GR_70_V2_AN1"
56  self.shiftJEC = self.cfg_ana.shiftJEC if hasattr(self.cfg_ana, 'shiftJEC') else 0
57  self.recalibrateJets = self.cfg_ana.recalibrateJets
58  if self.recalibrateJets == "MC" : self.recalibrateJets = self.cfg_comp.isMC
59  elif self.recalibrateJets == "Data": self.recalibrateJets = not self.cfg_comp.isMC
60  elif self.recalibrateJets not in [True,False]: raise RuntimeError, "recalibrateJets must be any of { True, False, 'MC', 'Data' }, while it is %r " % self.recalibrateJets
61  self.doJEC = self.recalibrateJets or (self.shiftJEC != 0)
62  if self.doJEC:
63  if self.cfg_comp.isMC:
64  self.jetReCalibrator = JetReCalibrator(mcGT,self.cfg_ana.recalibrationType, False,cfg_ana.jecPath)
65  else:
66  self.jetReCalibrator = JetReCalibrator(dataGT,self.cfg_ana.recalibrationType, True,cfg_ana.jecPath)
67  self.doPuId = getattr(self.cfg_ana, 'doPuId', True)
68  self.jetLepDR = getattr(self.cfg_ana, 'jetLepDR', 0.4)
69  self.jetLepArbitration = getattr(self.cfg_ana, 'jetLepArbitration', lambda jet,lepton: lepton)
70  self.lepPtMin = getattr(self.cfg_ana, 'minLepPt', -1)
71  self.lepSelCut = getattr(self.cfg_ana, 'lepSelCut', lambda lep : True)
72  self.jetGammaDR = getattr(self.cfg_ana, 'jetGammaDR', 0.4)
73  if(self.cfg_ana.doQG):
74  qgdefname="{CMSSW_BASE}/src/PhysicsTools/Heppy/data/pdfQG_AK4chs_antib_13TeV_v1.root"
75  self.qglcalc = QGLikelihoodCalculator(getattr(self.cfg_ana,"QGpath",qgdefname).format(CMSSW_BASE= os.environ['CMSSW_BASE']))
76  if not hasattr(self.cfg_ana ,"collectionPostFix"):self.cfg_ana.collectionPostFix=""
if(conf.exists("allCellsPositionCalc"))

Member Function Documentation

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

Definition at line 84 of file JetAnalyzer.py.

84 
85  def beginLoop(self, setup):
86  super(JetAnalyzer,self).beginLoop(setup)
def objects.JetAnalyzer.JetAnalyzer.computeQGvars (   self,
  jet 
)

Definition at line 258 of file JetAnalyzer.py.

References SiPixelRawToDigiRegional_cfi.deltaPhi.

259  def computeQGvars(self, jet):
260 
261  jet.mult = 0
262  sum_weight = 0.
263  sum_pt = 0.
264  sum_deta = 0.
265  sum_dphi = 0.
266  sum_deta2 = 0.
267  sum_detadphi = 0.
268  sum_dphi2 = 0.
269 
270 
271 
272  for ii in range(0, jet.numberOfDaughters()) :
273 
274  part = jet.daughter(ii)
275 
276  if part.charge() == 0 : # neutral particles
277 
278  if part.pt() < 1.: continue
279 
280  else : # charged particles
281 
282  if part.trackHighPurity()==False: continue
283  if part.fromPV()<=1: continue
284 
285 
286  jet.mult += 1
287 
288  deta = part.eta() - jet.eta()
289  dphi = deltaPhi(part.phi(), jet.phi())
290  partPt = part.pt()
291  weight = partPt*partPt
292  sum_weight += weight
293  sum_pt += partPt
294  sum_deta += deta*weight
295  sum_dphi += dphi*weight
296  sum_deta2 += deta*deta*weight
297  sum_detadphi += deta*dphi*weight
298  sum_dphi2 += dphi*dphi*weight
299 
300 
301 
302 
303  a = 0.
304  b = 0.
305  c = 0.
306 
307  if sum_weight > 0 :
308  jet.ptd = math.sqrt(sum_weight)/sum_pt
309  ave_deta = sum_deta/sum_weight
310  ave_dphi = sum_dphi/sum_weight
311  ave_deta2 = sum_deta2/sum_weight
312  ave_dphi2 = sum_dphi2/sum_weight
313  a = ave_deta2 - ave_deta*ave_deta
314  b = ave_dphi2 - ave_dphi*ave_dphi
315  c = -(sum_detadphi/sum_weight - ave_deta*ave_dphi)
316  else: jet.ptd = 0.
317 
318  delta = math.sqrt(math.fabs((a-b)*(a-b)+4.*c*c))
319 
320  if a+b-delta > 0: jet.axis2 = -math.log(math.sqrt(0.5*(a+b-delta)))
321  else: jet.axis2 = -1.
322 
def objects.JetAnalyzer.JetAnalyzer.declareHandles (   self)

Definition at line 77 of file JetAnalyzer.py.

References core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, and HTTP.RequestManager.handles.

77 
78  def declareHandles(self):
79  super(JetAnalyzer, self).declareHandles()
80  self.handles['jets'] = AutoHandle( self.cfg_ana.jetCol, 'std::vector<pat::Jet>' )
81  self.handles['genJet'] = AutoHandle( self.cfg_ana.genJetCol, 'vector<reco::GenJet>' )
82  self.shiftJER = self.cfg_ana.shiftJER if hasattr(self.cfg_ana, 'shiftJER') else 0
83  self.handles['rho'] = AutoHandle( self.cfg_ana.rho, 'double' )
def objects.JetAnalyzer.JetAnalyzer.jetFlavour (   self,
  event 
)

Definition at line 323 of file JetAnalyzer.py.

References funct.abs().

324  def jetFlavour(self,event):
325  def isFlavour(x,f):
326  id = abs(x.pdgId())
327  if id > 999: return (id/1000)%10 == f
328  if id > 99: return (id/100)%10 == f
329  return id % 100 == f
330 
331 
333  self.bqObjects = [ p for p in event.genParticles if (p.status() == 2 and isFlavour(p,5)) ]
334  self.cqObjects = [ p for p in event.genParticles if (p.status() == 2 and isFlavour(p,4)) ]
336  self.partons = [ p for p in event.genParticles if ((p.status() == 23 or p.status() == 3) and abs(p.pdgId())>0 and (abs(p.pdgId()) in [1,2,3,4,5,21]) ) ]
337  match = matchObjectCollection2(self.cleanJetsAll,
338  self.partons,
339  deltaRMax = 0.3)
340 
341  for jet in self.cleanJetsAll:
342  parton = match[jet]
343  jet.partonId = (parton.pdgId() if parton != None else 0)
344  jet.partonMotherId = (parton.mother(0).pdgId() if parton != None and parton.numberOfMothers()>0 else 0)
345 
346  for jet in self.jets:
347  (bmatch, dr) = bestMatch(jet, self.bqObjects)
348  if dr < 0.4:
349  jet.mcFlavour = 5
350  else:
351  (cmatch, dr) = bestMatch(jet, self.cqObjects)
352  if dr < 0.4:
353  jet.mcFlavour = 4
354  else:
355  jet.mcFlavour = 0
357  self.heaviestQCDFlavour = 5 if len(self.bqObjects) else (4 if len(self.cqObjects) else 1);
358 
def bestMatch
Definition: deltar.py:139
def matchObjectCollection2
Definition: deltar.py:167
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
def objects.JetAnalyzer.JetAnalyzer.matchJets (   self,
  event,
  jets 
)

Definition at line 359 of file JetAnalyzer.py.

References funct.abs(), EVTColContainer.genJets, objects.JetAnalyzer.JetAnalyzer.genJets, and deltar.matchObjectCollection2().

360  def matchJets(self, event, jets):
361  match = matchObjectCollection2(jets,
362  event.genbquarks + event.genwzquarks,
363  deltaRMax = 0.3)
364  for jet in jets:
365  gen = match[jet]
366  jet.mcParton = gen
367  jet.mcMatchId = (gen.sourceId if gen != None else 0)
368  jet.mcMatchFlav = (abs(gen.pdgId()) if gen != None else 0)
369 
370  match = matchObjectCollection2(jets,
371  self.genJets,
372  deltaRMax = 0.3)
373  for jet in jets:
374  jet.mcJet = match[jet]
375 
376 
def matchObjectCollection2
Definition: deltar.py:167
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
def objects.JetAnalyzer.JetAnalyzer.process (   self,
  event 
)

Definition at line 87 of file JetAnalyzer.py.

References core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, and core.Analyzer.Analyzer.readCollections().

Referenced by ConfigBuilder.ConfigBuilder.__init__(), ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.anyOf(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), ConfigBuilder.ConfigBuilder.prepare(), ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), ConfigBuilder.ConfigBuilder.prepare_HARVESTING(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), ConfigBuilder.ConfigBuilder.prepare_PATFILTER(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

87 
88  def process(self, event):
89  self.readCollections( event.input )
90  rho = float(self.handles['rho'].product()[0])
91  self.rho = rho
92 
93  ## Read jets, if necessary recalibrate and shift MET
94  if self.cfg_ana.copyJetsByValue:
95  import ROOT
96  allJets = map(lambda j:Jet(ROOT.pat.Jet(j)), self.handles['jets'].product()) #copy-by-value is safe if JetAnalyzer is ran more than once
97  else:
98  allJets = map(Jet, self.handles['jets'].product())
99 
100  self.deltaMetFromJEC = [0.,0.]
101 # print "before. rho",self.rho,self.cfg_ana.collectionPostFix,'allJets len ',len(allJets),'pt', [j.pt() for j in allJets]
102  if self.doJEC:
103 # print "\nCalibrating jets %s for lumi %d, event %d" % (self.cfg_ana.jetCol, event.lumi, event.eventId)
104  self.jetReCalibrator.correctAll(allJets, rho, delta=self.shiftJEC, metShift=self.deltaMetFromJEC)
105  self.allJetsUsedForMET = allJets
106 # print "after. rho",self.rho,self.cfg_ana.collectionPostFix,'allJets len ',len(allJets),'pt', [j.pt() for j in allJets]
107 
108  if self.cfg_comp.isMC:
109  self.genJets = [ x for x in self.handles['genJet'].product() ]
110  self.matchJets(event, allJets)
111  if getattr(self.cfg_ana, 'smearJets', False):
112  self.smearJets(event, allJets)
deltaMetFromJEC
Read jets, if necessary recalibrate and shift MET.
Definition: JetAnalyzer.py:99
Definition: Jet.py:1
def objects.JetAnalyzer.JetAnalyzer.smearJets (   self,
  event,
  jets 
)

Definition at line 377 of file JetAnalyzer.py.

References objects.JetAnalyzer.JetAnalyzer.smearJets.

378  def smearJets(self, event, jets):
379  # https://twiki.cern.ch/twiki/bin/viewauth/CMS/TWikiTopRefSyst#Jet_energy_resolution
380  for jet in jets:
381  gen = jet.mcJet
382  if gen != None:
383  genpt, jetpt, aeta = gen.pt(), jet.pt(), abs(jet.eta())
384  # from https://twiki.cern.ch/twiki/bin/view/CMS/JetResolution
385  factor = 1.052 + self.shiftJER*math.hypot(0.012,0.062);
386  if aeta > 2.3: factor = 1.288 + self.shiftJER*math.hypot(0.127,0.154)
387  elif aeta > 1.7: factor = 1.134 + self.shiftJER*math.hypot(0.035,0.066)
388  elif aeta > 1.1: factor = 1.096 + self.shiftJER*math.hypot(0.017,0.063)
389  elif aeta > 0.5: factor = 1.057 + self.shiftJER*math.hypot(0.012,0.056)
390  ptscale = max(0.0, (jetpt + (factor-1)*(jetpt-genpt))/jetpt)
391  #print "get with pt %.1f (gen pt %.1f, ptscale = %.3f)" % (jetpt,genpt,ptscale)
392  jet.deltaMetFromJetSmearing = [ -(ptscale-1)*jet.rawFactor()*jet.px(), -(ptscale-1)*jet.rawFactor()*jet.py() ]
393  if ptscale != 0:
394  jet.setP4(jet.p4()*ptscale)
395  # leave the uncorrected unchanged for sync
396  jet._rawFactorMultiplier *= (1.0/ptscale) if ptscale != 0 else 1
397  #else: print "jet with pt %.1d, eta %.2f is unmatched" % (jet.pt(), jet.eta())
398 
399 
400 
setattr(JetAnalyzer,"defaultConfig", cfg.Analyzer(
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
def objects.JetAnalyzer.JetAnalyzer.testJetID (   self,
  jet 
)

Definition at line 245 of file JetAnalyzer.py.

References objects.JetAnalyzer.JetAnalyzer.doPuId.

246  def testJetID(self, jet):
247  jet.puJetIdPassed = jet.puJetId()
248  jet.pfJetIdPassed = jet.jetID('POG_PFID_Loose')
249  if self.cfg_ana.relaxJetId:
250  return True
251  else:
252  return jet.pfJetIdPassed and (jet.puJetIdPassed or not(self.doPuId))
def objects.JetAnalyzer.JetAnalyzer.testJetNoID (   self,
  jet 
)

Definition at line 253 of file JetAnalyzer.py.

References funct.abs().

254  def testJetNoID( self, jet ):
255  # 2 is loose pile-up jet id
256  return jet.pt() > self.cfg_ana.jetPt and \
257  abs( jet.eta() ) < self.cfg_ana.jetEta;
Abs< T >::type abs(const T &t)
Definition: Abs.h:22

Member Data Documentation

objects.JetAnalyzer.JetAnalyzer.allJetsUsedForMET

Definition at line 104 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.alwaysCleanPhotons = False,
static

Definition at line 425 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.bqObjects

Definition at line 332 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.class_object = JetAnalyzer,
static

Definition at line 401 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cleanGenJetsFromPhoton = False,
static

Definition at line 427 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cleanJetsFromFirstPhoton = False,
static

Definition at line 422 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cleanJetsFromIsoTracks = False,
static

Definition at line 424 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cleanJetsFromTaus = False,
static

Definition at line 423 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cleanSelectedLeptons = True,
static

Definition at line 411 of file JetAnalyzer.py.

string objects.JetAnalyzer.JetAnalyzer.collectionPostFix = ""
static

Definition at line 428 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.copyJetsByValue = False,
static

Definition at line 403 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cqObjects

Definition at line 333 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.deltaMetFromJEC

Read jets, if necessary recalibrate and shift MET.

Definition at line 99 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.doJEC

Definition at line 60 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.doPuId = False,
static

Definition at line 415 of file JetAnalyzer.py.

Referenced by objects.JetAnalyzer.JetAnalyzer.testJetID().

objects.JetAnalyzer.JetAnalyzer.doQG = False,
static

Definition at line 416 of file JetAnalyzer.py.

string objects.JetAnalyzer.JetAnalyzer.genJetCol = 'slimmedGenJets'
static

Definition at line 404 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.genJets

Definition at line 108 of file JetAnalyzer.py.

Referenced by objects.JetAnalyzer.JetAnalyzer.matchJets().

objects.JetAnalyzer.JetAnalyzer.heaviestQCDFlavour

Definition at line 356 of file JetAnalyzer.py.

string objects.JetAnalyzer.JetAnalyzer.jecPath = ""
static

Definition at line 426 of file JetAnalyzer.py.

list objects.JetAnalyzer.JetAnalyzer.jet = jlpairs[lep]
static

Definition at line 179 of file JetAnalyzer.py.

string objects.JetAnalyzer.JetAnalyzer.jetCol = 'slimmedJets'
static

Definition at line 402 of file JetAnalyzer.py.

float objects.JetAnalyzer.JetAnalyzer.jetEta = 4.7
static

Definition at line 407 of file JetAnalyzer.py.

float objects.JetAnalyzer.JetAnalyzer.jetEtaCentral = 2.4
static

Definition at line 408 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.jetGammaDR

Definition at line 71 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.jetLepArbitration

Definition at line 68 of file JetAnalyzer.py.

tuple objects.JetAnalyzer.JetAnalyzer.jetLepArbitration = (lambda jet,lepton : lepton)
static

Definition at line 410 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.jetLepDR

Definition at line 67 of file JetAnalyzer.py.

float objects.JetAnalyzer.JetAnalyzer.jetLepDR = 0.4
static

Definition at line 409 of file JetAnalyzer.py.

int objects.JetAnalyzer.JetAnalyzer.jetPt = 25
static

Definition at line 406 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.jetReCalibrator

Definition at line 63 of file JetAnalyzer.py.

tuple objects.JetAnalyzer.JetAnalyzer.jlpairs = matchObjectCollection( leptons, allJets, self.jetLepDR**2)
static

Definition at line 173 of file JetAnalyzer.py.

tuple objects.JetAnalyzer.JetAnalyzer.jtaupairs = matchObjectCollection( taus, allJets, self.jetLepDR**2)
static

Definition at line 186 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.lepPtMin

Definition at line 69 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.lepSelCut = lambdalep:True,
static

Definition at line 413 of file JetAnalyzer.py.

list JetAnalyzer.leptons = []
static

Sort Jets by pT.

Apply jet selection Clean Jets from leptons

Definition at line 138 of file JetAnalyzer.py.

tuple objects.JetAnalyzer.JetAnalyzer.leptons = event.inclusiveLeptonsifhasattr(event, 'inclusiveLeptons')
static

Associate jets to leptons.

Definition at line 172 of file JetAnalyzer.py.

int objects.JetAnalyzer.JetAnalyzer.minLepPt = 10
static

Definition at line 412 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.partons

Definition at line 335 of file JetAnalyzer.py.

list JetAnalyzer.photons = []
static

Clean Jets from photons.

Definition at line 154 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.qglcalc

Definition at line 74 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.recalibrateJets = False,
static

Definition at line 417 of file JetAnalyzer.py.

string objects.JetAnalyzer.JetAnalyzer.recalibrationType = "AK4PFchs"
static

Definition at line 418 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.relaxJetId = False,
static

Definition at line 414 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.rho

Definition at line 90 of file JetAnalyzer.py.

Referenced by Lepton.Lepton.absIsoFromEA(), Electron.Electron.electronID(), Electron.Electron.mvaNonTrigV0(), Electron.Electron.mvaRun2(), Electron.Electron.mvaTrigNoIPV0(), and Electron.Electron.mvaTrigV0().

tuple objects.JetAnalyzer.JetAnalyzer.rho = ('fixedGridRhoFastjetAll','','')
static

Definition at line 405 of file JetAnalyzer.py.

Referenced by Lepton.Lepton.absIsoFromEA(), Electron.Electron.electronID(), Electron.Electron.mvaNonTrigV0(), Electron.Electron.mvaRun2(), Electron.Electron.mvaTrigNoIPV0(), and Electron.Electron.mvaTrigV0().

objects.JetAnalyzer.JetAnalyzer.shiftJEC

Definition at line 55 of file JetAnalyzer.py.

int objects.JetAnalyzer.JetAnalyzer.shiftJEC = 0
static

Definition at line 419 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.shiftJER

Definition at line 81 of file JetAnalyzer.py.

int objects.JetAnalyzer.JetAnalyzer.shiftJER = 0
static

Definition at line 421 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.smearJets = True,
static

Definition at line 420 of file JetAnalyzer.py.

Referenced by objects.JetAnalyzer.JetAnalyzer.smearJets().

tuple objects.JetAnalyzer.JetAnalyzer.taus = getattr(event,'selectedTaus',[])
static

Associate jets to taus.

Definition at line 185 of file JetAnalyzer.py.