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  self.qglcalc = QGLikelihoodCalculator("%s/src/PhysicsTools/Heppy/data/pdfQG_AK4chs_antib_13TeV_v1.root" % os.environ['CMSSW_BASE'])
75  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 83 of file JetAnalyzer.py.

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

Definition at line 257 of file JetAnalyzer.py.

References SiPixelRawToDigiRegional_cfi.deltaPhi.

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

Definition at line 76 of file JetAnalyzer.py.

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

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

Definition at line 322 of file JetAnalyzer.py.

References funct.abs().

323  def jetFlavour(self,event):
324  def isFlavour(x,f):
325  id = abs(x.pdgId())
326  if id > 999: return (id/1000)%10 == f
327  if id > 99: return (id/100)%10 == f
328  return id % 100 == f
329 
330 
332  self.bqObjects = [ p for p in event.genParticles if (p.status() == 2 and isFlavour(p,5)) ]
333  self.cqObjects = [ p for p in event.genParticles if (p.status() == 2 and isFlavour(p,4)) ]
335  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]) ) ]
336  match = matchObjectCollection2(self.cleanJetsAll,
337  self.partons,
338  deltaRMax = 0.3)
339 
340  for jet in self.cleanJetsAll:
341  parton = match[jet]
342  jet.partonId = (parton.pdgId() if parton != None else 0)
343  jet.partonMotherId = (parton.mother(0).pdgId() if parton != None and parton.numberOfMothers()>0 else 0)
344 
345  for jet in self.jets:
346  (bmatch, dr) = bestMatch(jet, self.bqObjects)
347  if dr < 0.4:
348  jet.mcFlavour = 5
349  else:
350  (cmatch, dr) = bestMatch(jet, self.cqObjects)
351  if dr < 0.4:
352  jet.mcFlavour = 4
353  else:
354  jet.mcFlavour = 0
356  self.heaviestQCDFlavour = 5 if len(self.bqObjects) else (4 if len(self.cqObjects) else 1);
357 
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 358 of file JetAnalyzer.py.

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

359  def matchJets(self, event, jets):
360  match = matchObjectCollection2(jets,
361  event.genbquarks + event.genwzquarks,
362  deltaRMax = 0.3)
363  for jet in jets:
364  gen = match[jet]
365  jet.mcParton = gen
366  jet.mcMatchId = (gen.sourceId if gen != None else 0)
367  jet.mcMatchFlav = (abs(gen.pdgId()) if gen != None else 0)
368 
369  match = matchObjectCollection2(jets,
370  self.genJets,
371  deltaRMax = 0.3)
372  for jet in jets:
373  jet.mcJet = match[jet]
374 
375 
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 86 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.addExtraStream(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

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

Definition at line 376 of file JetAnalyzer.py.

References objects.JetAnalyzer.JetAnalyzer.smearJets.

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

References objects.JetAnalyzer.JetAnalyzer.doPuId.

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

Definition at line 252 of file JetAnalyzer.py.

References funct.abs().

253  def testJetNoID( self, jet ):
254  # 2 is loose pile-up jet id
255  return jet.pt() > self.cfg_ana.jetPt and \
256  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 103 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.alwaysCleanPhotons = False,
static

Definition at line 424 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.bqObjects

Definition at line 331 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.class_object = JetAnalyzer,
static

Definition at line 400 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cleanGenJetsFromPhoton = False,
static

Definition at line 426 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cleanJetsFromFirstPhoton = False,
static

Definition at line 421 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cleanJetsFromIsoTracks = False,
static

Definition at line 423 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cleanJetsFromTaus = False,
static

Definition at line 422 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cleanSelectedLeptons = True,
static

Definition at line 410 of file JetAnalyzer.py.

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

Definition at line 427 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.copyJetsByValue = False,
static

Definition at line 402 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.cqObjects

Definition at line 332 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.deltaMetFromJEC

Read jets, if necessary recalibrate and shift MET.

Definition at line 98 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 414 of file JetAnalyzer.py.

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

objects.JetAnalyzer.JetAnalyzer.doQG = False,
static

Definition at line 415 of file JetAnalyzer.py.

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

Definition at line 403 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.genJets

Definition at line 107 of file JetAnalyzer.py.

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

objects.JetAnalyzer.JetAnalyzer.heaviestQCDFlavour

Definition at line 355 of file JetAnalyzer.py.

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

Definition at line 425 of file JetAnalyzer.py.

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

Definition at line 178 of file JetAnalyzer.py.

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

Definition at line 401 of file JetAnalyzer.py.

float objects.JetAnalyzer.JetAnalyzer.jetEta = 4.7
static

Definition at line 406 of file JetAnalyzer.py.

float objects.JetAnalyzer.JetAnalyzer.jetEtaCentral = 2.4
static

Definition at line 407 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 409 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 408 of file JetAnalyzer.py.

int objects.JetAnalyzer.JetAnalyzer.jetPt = 25
static

Definition at line 405 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 172 of file JetAnalyzer.py.

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

Definition at line 185 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 412 of file JetAnalyzer.py.

list JetAnalyzer.leptons = []
static

Sort Jets by pT.

Apply jet selection Clean Jets from leptons

Definition at line 137 of file JetAnalyzer.py.

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

Associate jets to leptons.

Definition at line 171 of file JetAnalyzer.py.

int objects.JetAnalyzer.JetAnalyzer.minLepPt = 10
static

Definition at line 411 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.partons

Definition at line 334 of file JetAnalyzer.py.

list JetAnalyzer.photons = []
static

Clean Jets from photons.

Definition at line 153 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.qglcalc

Definition at line 73 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.recalibrateJets = False,
static

Definition at line 416 of file JetAnalyzer.py.

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

Definition at line 417 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.relaxJetId = False,
static

Definition at line 413 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.rho

Definition at line 89 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 404 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 418 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.shiftJER

Definition at line 80 of file JetAnalyzer.py.

int objects.JetAnalyzer.JetAnalyzer.shiftJER = 0
static

Definition at line 420 of file JetAnalyzer.py.

objects.JetAnalyzer.JetAnalyzer.smearJets = True,
static

Definition at line 419 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 184 of file JetAnalyzer.py.