Classes | |
class | RazorAnalyzer |
Functions | |
def | process |
Variables | |
list | allGenJets = [ x for x in self.handles['genJets'].product() ] |
tuple | 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 | bJet2 = ROOT.TLorentzVector(event.bjetsMedium[1].px(), event.bjetsMedium[1].py(), event.bjetsMedium[1].pz(), event.bjetsMedium[1].energy()) |
tuple | Evec = ROOT.std.vector(float) |
tuple | genmetp4 = ROOT.TLorentzVector() |
do same things for GEN More... | |
tuple | grouping = ROOT.std.vector(int) |
tuple | 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 | lep2 = ROOT.TLorentzVector(event.selectedLeptons[1].px(), event.selectedLeptons[1].py(), event.selectedLeptons[1].pz(), event.selectedLeptons[1].energy()) |
tuple | 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 | metp4 = ROOT.TLorentzVector() |
===> hadronic RAZOR More... | |
list | objects10lc = [ l for l in event.selectedLeptons if l.pt() > 10 and abs(l.eta())<2.5 ] |
===> full RAZOR (jets + leptons) More... | |
objects40j10lc = objects40jc+objects10lc | |
list | objects40jc = [ j for j in event.cleanJets if j.pt() > 40 and abs(j.eta())<2.5 ] |
list | objects40jc_Gen = [ j for j in allGenJets if j.pt() > 40 and abs(j.eta())<2.5 ] |
list | 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 | pseudoJet1_gen = ROOT.TLorentzVector( pseudoJet1px, pseudoJet1py, pseudoJet1pz, pseudoJet1energy) |
tuple | pseudoJet1energy = megajet.getAxis1() |
pseudoJet1pt2 = pseudoJet1px*pseudoJet1px+pseudoJet1py*pseudoJet1py | |
tuple | pseudoJet1px = megajet.getAxis1() |
tuple | pseudoJet1py = megajet.getAxis1() |
tuple | pseudoJet1pz = megajet.getAxis1() |
tuple | pseudoJet2_gen = ROOT.TLorentzVector( pseudoJet2px, pseudoJet2py, pseudoJet2pz, pseudoJet2energy) |
tuple | pseudoJet2energy = megajet.getAxis2() |
pseudoJet2pt2 = pseudoJet2px*pseudoJet2px+pseudoJet2py*pseudoJet2py | |
tuple | pseudoJet2px = megajet.getAxis2() |
tuple | pseudoJet2py = megajet.getAxis2() |
tuple | pseudoJet2pz = megajet.getAxis2() |
tuple | pxvec = ROOT.std.vector(float) |
get megajets (association method: default 1 = minimum sum of the invariant masses of the two megajets) More... | |
tuple | pyvec = ROOT.std.vector(float) |
tuple | pzvec = ROOT.std.vector(float) |
def RazorAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 272 of file RazorAnalyzer.py.
References LaserDQM_cfg.process.
Definition at line 125 of file RazorAnalyzer.py.
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)
Definition at line 234 of file RazorAnalyzer.py.
Referenced by PseudoTopProducer.produce().
tuple RazorAnalyzer.bJet2 = ROOT.TLorentzVector(event.bjetsMedium[1].px(), event.bjetsMedium[1].py(), event.bjetsMedium[1].pz(), event.bjetsMedium[1].energy()) |
Definition at line 235 of file RazorAnalyzer.py.
Referenced by PseudoTopProducer.produce().
tuple RazorAnalyzer.Evec = ROOT.std.vector(float) |
Definition at line 83 of file RazorAnalyzer.py.
tuple RazorAnalyzer.genmetp4 = ROOT.TLorentzVector() |
do same things for GEN
Definition at line 122 of file RazorAnalyzer.py.
tuple RazorAnalyzer.grouping = ROOT.std.vector(int) |
Definition at line 84 of file RazorAnalyzer.py.
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
===> leptonic MR
Definition at line 261 of file RazorAnalyzer.py.
Referenced by WValidation.analyze(), DrellYanValidation.analyze(), ZMuMuAnalyzer.analyze(), ZMuMu_vtxAnalyzer.analyze(), ZMuMu_efficiencyAnalyzer.analyze(), ZMuMu_MCanalyzer.analyze(), ZMuMuAnalyzer_cynematics.analyze(), and ZMuMu_Radiative_analyzer.analyze().
tuple RazorAnalyzer.lep2 = ROOT.TLorentzVector(event.selectedLeptons[1].px(), event.selectedLeptons[1].py(), event.selectedLeptons[1].pz(), event.selectedLeptons[1].energy()) |
Definition at line 262 of file RazorAnalyzer.py.
Referenced by WValidation.analyze(), DrellYanValidation.analyze(), ZMuMuAnalyzer.analyze(), ZMuMuAnalyzer_cynematics.analyze(), JetCorrectionUncertainty.getPtRel(), and FactorizedJetCorrectorCalculator.getPtRel().
get megajets (association method: default 1 = minimum sum of the invariant masses of the two megajets)
Definition at line 92 of file RazorAnalyzer.py.
tuple RazorAnalyzer.metp4 = ROOT.TLorentzVector() |
===> hadronic RAZOR
Definition at line 71 of file RazorAnalyzer.py.
list RazorAnalyzer.objects10lc = [ l for l in event.selectedLeptons if l.pt() > 10 and abs(l.eta())<2.5 ] |
===> full RAZOR (jets + leptons)
Definition at line 174 of file RazorAnalyzer.py.
RazorAnalyzer.objects40j10lc = objects40jc+objects10lc |
Definition at line 178 of file RazorAnalyzer.py.
Definition at line 74 of file RazorAnalyzer.py.
Definition at line 126 of file RazorAnalyzer.py.
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() ] |
Definition at line 244 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pseudoJet1_gen = ROOT.TLorentzVector( pseudoJet1px, pseudoJet1py, pseudoJet1pz, pseudoJet1energy) |
Definition at line 158 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pseudoJet1energy = megajet.getAxis1() |
Definition at line 97 of file RazorAnalyzer.py.
RazorAnalyzer.pseudoJet1pt2 = pseudoJet1px*pseudoJet1px+pseudoJet1py*pseudoJet1py |
Definition at line 104 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pseudoJet1px = megajet.getAxis1() |
Definition at line 94 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pseudoJet1py = megajet.getAxis1() |
Definition at line 95 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pseudoJet1pz = megajet.getAxis1() |
Definition at line 96 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pseudoJet2_gen = ROOT.TLorentzVector( pseudoJet2px, pseudoJet2py, pseudoJet2pz, pseudoJet2energy) |
Definition at line 159 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pseudoJet2energy = megajet.getAxis2() |
Definition at line 102 of file RazorAnalyzer.py.
RazorAnalyzer.pseudoJet2pt2 = pseudoJet2px*pseudoJet2px+pseudoJet2py*pseudoJet2py |
Definition at line 105 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pseudoJet2px = megajet.getAxis2() |
Definition at line 99 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pseudoJet2py = megajet.getAxis2() |
Definition at line 100 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pseudoJet2pz = megajet.getAxis2() |
Definition at line 101 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pxvec = ROOT.std.vector(float) |
get megajets (association method: default 1 = minimum sum of the invariant masses of the two megajets)
Definition at line 80 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pyvec = ROOT.std.vector(float) |
Definition at line 81 of file RazorAnalyzer.py.
tuple RazorAnalyzer.pzvec = ROOT.std.vector(float) |
Definition at line 82 of file RazorAnalyzer.py.