CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Functions | Variables
RazorAnalyzer.py File Reference

Go to the source code of this file.

Classes

class  RazorAnalyzer.RazorAnalyzer
 

Namespaces

 RazorAnalyzer
 

Functions

def RazorAnalyzer.process
 

Variables

list RazorAnalyzer.allGenJets = [ x for x in self.handles['genJets'].product() ]
 
tuple RazorAnalyzer.bJet1 = ROOT.TLorentzVector(event.bjetsMedium[0].px(), event.bjetsMedium[0].py(), event.bjetsMedium[0].pz(), event.bjetsMedium[0].energy())
 do the razor with one or two b jets (medium CSV) More...
 
tuple RazorAnalyzer.bJet2 = ROOT.TLorentzVector(event.bjetsMedium[1].px(), event.bjetsMedium[1].py(), event.bjetsMedium[1].pz(), event.bjetsMedium[1].energy())
 
tuple RazorAnalyzer.Evec = ROOT.std.vector(float)
 
tuple RazorAnalyzer.genmetp4 = ROOT.TLorentzVector()
 do same things for GEN More...
 
tuple RazorAnalyzer.grouping = ROOT.std.vector(int)
 
tuple RazorAnalyzer.lep1 = ROOT.TLorentzVector(event.selectedLeptons[0].px(), event.selectedLeptons[0].py(), event.selectedLeptons[0].pz(), event.selectedLeptons[0].energy())
 print 'MRbb(1b)',event.mr_bb More...
 
tuple RazorAnalyzer.lep2 = ROOT.TLorentzVector(event.selectedLeptons[1].px(), event.selectedLeptons[1].py(), event.selectedLeptons[1].pz(), event.selectedLeptons[1].energy())
 
tuple RazorAnalyzer.megajet = Megajet(pxvec, pyvec, pzvec, Evec, 1)
 get megajets (association method: default 1 = minimum sum of the invariant masses of the two megajets) More...
 
tuple RazorAnalyzer.metp4 = ROOT.TLorentzVector()
 ===> hadronic RAZOR More...
 
list RazorAnalyzer.objects10lc = [ l for l in event.selectedLeptons if l.pt() > 10 and abs(l.eta())<2.5 ]
 ===> full RAZOR (jets + leptons) More...
 
 RazorAnalyzer.objects40j10lc = objects40jc+objects10lc
 
list RazorAnalyzer.objects40jc = [ j for j in event.cleanJets if j.pt() > 40 and abs(j.eta())<2.5 ]
 
list RazorAnalyzer.objects40jc_Gen = [ j for j in allGenJets if j.pt() > 40 and abs(j.eta())<2.5 ]
 
list RazorAnalyzer.objects40jcCSV = [ j for j in event.cleanJets if j.pt() > 40 and abs(j.eta())<2.5 and j.p4()!=event.bjetsMedium[0].p4() ]
 
tuple RazorAnalyzer.pseudoJet1_gen = ROOT.TLorentzVector( pseudoJet1px, pseudoJet1py, pseudoJet1pz, pseudoJet1energy)
 
tuple RazorAnalyzer.pseudoJet1energy = megajet.getAxis1()
 
 RazorAnalyzer.pseudoJet1pt2 = pseudoJet1px*pseudoJet1px+pseudoJet1py*pseudoJet1py
 
tuple RazorAnalyzer.pseudoJet1px = megajet.getAxis1()
 
tuple RazorAnalyzer.pseudoJet1py = megajet.getAxis1()
 
tuple RazorAnalyzer.pseudoJet1pz = megajet.getAxis1()
 
tuple RazorAnalyzer.pseudoJet2_gen = ROOT.TLorentzVector( pseudoJet2px, pseudoJet2py, pseudoJet2pz, pseudoJet2energy)
 
tuple RazorAnalyzer.pseudoJet2energy = megajet.getAxis2()
 
 RazorAnalyzer.pseudoJet2pt2 = pseudoJet2px*pseudoJet2px+pseudoJet2py*pseudoJet2py
 
tuple RazorAnalyzer.pseudoJet2px = megajet.getAxis2()
 
tuple RazorAnalyzer.pseudoJet2py = megajet.getAxis2()
 
tuple RazorAnalyzer.pseudoJet2pz = megajet.getAxis2()
 
tuple RazorAnalyzer.pxvec = ROOT.std.vector(float)
 get megajets (association method: default 1 = minimum sum of the invariant masses of the two megajets) More...
 
tuple RazorAnalyzer.pyvec = ROOT.std.vector(float)
 
tuple RazorAnalyzer.pzvec = ROOT.std.vector(float)