CMS 3D CMS Logo

Classes | Functions | Variables
RazorAnalyzer Namespace Reference

Classes

class  RazorAnalyzer
 

Functions

def process (self, event)
 

Variables

 allGenJets
 
 bJet1
 do the razor with one or two b jets (medium CSV)
More...
 
 bJet2
 
 Evec
 
 genmet
 do same things for GEN More...
 
 genmetp4
 
 genmetphi
 
 grouping
 
 key
 
 lep1
 print 'MRbb(1b)',event.mr_bb More...
 
 lep2
 
 megajet
 get megajets (association method: default 1 = minimum sum of the invariant masses of the two megajets) More...
 
 met
 ===> hadronic RAZOR More...
 
 metp4
 
 metphi
 
 mr
 
 mr_bb
 
 mr_gen
 
 mr_had
 
 mr_lept
 
 mtr
 
 mtr_bb
 
 mtr_gen
 
 mtr_had
 
 mtr_lept
 
 objects10lc
 ===> full RAZOR (jets + leptons)
More...
 
 objects40j10lc
 
 objects40jc
 
 objects40jc_Gen
 
 objects40jcCSV
 
 pseudoJet1
 
 pseudoJet1_gen
 
 pseudoJet1_had
 
 pseudoJet1energy
 
 pseudoJet1pt2
 
 pseudoJet1px
 
 pseudoJet1py
 
 pseudoJet1pz
 
 pseudoJet2
 
 pseudoJet2_gen
 
 pseudoJet2_had
 
 pseudoJet2energy
 
 pseudoJet2pt2
 
 pseudoJet2px
 
 pseudoJet2py
 
 pseudoJet2pz
 
 pxvec
 get megajets (association method: default 1 = minimum sum of the invariant masses of the two megajets) More...
 
 pyvec
 
 pzvec
 
 r
 
 r_bb
 
 r_gen
 
 r_had
 
 r_lept
 
 reverse
 

Function Documentation

◆ process()

def RazorAnalyzer.process (   self,
  event 
)

Definition at line 272 of file RazorAnalyzer.py.

272  def process(self, event):
273  self.readCollections( event.input )
274 
275  event.mr_gen=-999
276  event.mtr_gen=-999
277  event.r_gen=-999
278 
279  event.mr_bb=-999
280  event.mtr_bb=-999
281  event.r_bb=-999
282 
283  event.mr_lept=-999
284  event.mtr_lept=-999
285  event.r_lept=-999
286 
287  event.mr_had=-999
288  event.mtr_had=-999
289  event.r_had=-999
290 
291  event.mr=-999
292  event.mtr=-999
293  event.r=-999
294 
295  event.pseudoJet1 = ROOT.TLorentzVector( 0, 0, 0, 0 )
296  event.pseudoJet2 = ROOT.TLorentzVector( 0, 0, 0, 0 )
297 
298 
299 
300  self.makeRAZOR(event)
301 
302 # print 'variables computed: MR=',event.mr_had,'R=',event.r,'MTR=',event.mtr
303 # print 'pseudoJet1 px=',event.pseudoJet1.px(),' py=',event.pseudoJet1.py(),' pz=',event.pseudoJet1.pz()
304 # print 'pseudoJet2 px=',event.pseudoJet2.px(),' py=',event.pseudoJet2.py(),' pz=',event.pseudoJet2.pz()
305 
306  return True

Variable Documentation

◆ allGenJets

RazorAnalyzer.allGenJets

Definition at line 125 of file RazorAnalyzer.py.

◆ bJet1

RazorAnalyzer.bJet1

do the razor with one or two b jets (medium CSV)

Definition at line 234 of file RazorAnalyzer.py.

Referenced by PseudoTopProducer.produce().

◆ bJet2

RazorAnalyzer.bJet2

Definition at line 235 of file RazorAnalyzer.py.

Referenced by PseudoTopProducer.produce().

◆ Evec

RazorAnalyzer.Evec

Definition at line 83 of file RazorAnalyzer.py.

◆ genmet

RazorAnalyzer.genmet

do same things for GEN

Definition at line 121 of file RazorAnalyzer.py.

Referenced by METTester.analyze(), and HLTJetMETValidation.analyze().

◆ genmetp4

RazorAnalyzer.genmetp4

Definition at line 122 of file RazorAnalyzer.py.

◆ genmetphi

RazorAnalyzer.genmetphi

Definition at line 121 of file RazorAnalyzer.py.

◆ grouping

RazorAnalyzer.grouping

Definition at line 84 of file RazorAnalyzer.py.

◆ key

RazorAnalyzer.key

Definition at line 180 of file RazorAnalyzer.py.

◆ lep1

RazorAnalyzer.lep1

◆ lep2

RazorAnalyzer.lep2

◆ megajet

RazorAnalyzer.megajet

get megajets (association method: default 1 = minimum sum of the invariant masses of the two megajets)

Definition at line 92 of file RazorAnalyzer.py.

◆ met

RazorAnalyzer.met

===> hadronic RAZOR

Definition at line 70 of file RazorAnalyzer.py.

◆ metp4

RazorAnalyzer.metp4

Definition at line 71 of file RazorAnalyzer.py.

◆ metphi

RazorAnalyzer.metphi

Definition at line 70 of file RazorAnalyzer.py.

Referenced by HLTTauDQMPathPlotter.analyze(), and HLTMinDPhiMETFilter.hltFilter().

◆ mr

RazorAnalyzer.mr

Definition at line 225 of file RazorAnalyzer.py.

◆ mr_bb

RazorAnalyzer.mr_bb

Definition at line 237 of file RazorAnalyzer.py.

◆ mr_gen

RazorAnalyzer.mr_gen

Definition at line 164 of file RazorAnalyzer.py.

◆ mr_had

RazorAnalyzer.mr_had

Definition at line 114 of file RazorAnalyzer.py.

◆ mr_lept

RazorAnalyzer.mr_lept

Definition at line 264 of file RazorAnalyzer.py.

◆ mtr

RazorAnalyzer.mtr

Definition at line 226 of file RazorAnalyzer.py.

◆ mtr_bb

RazorAnalyzer.mtr_bb

Definition at line 238 of file RazorAnalyzer.py.

◆ mtr_gen

RazorAnalyzer.mtr_gen

Definition at line 165 of file RazorAnalyzer.py.

◆ mtr_had

RazorAnalyzer.mtr_had

Definition at line 115 of file RazorAnalyzer.py.

◆ mtr_lept

RazorAnalyzer.mtr_lept

Definition at line 265 of file RazorAnalyzer.py.

◆ objects10lc

RazorAnalyzer.objects10lc

===> full RAZOR (jets + leptons)

Definition at line 174 of file RazorAnalyzer.py.

◆ objects40j10lc

RazorAnalyzer.objects40j10lc

Definition at line 178 of file RazorAnalyzer.py.

◆ objects40jc

RazorAnalyzer.objects40jc

Definition at line 74 of file RazorAnalyzer.py.

◆ objects40jc_Gen

RazorAnalyzer.objects40jc_Gen

Definition at line 126 of file RazorAnalyzer.py.

◆ objects40jcCSV

RazorAnalyzer.objects40jcCSV

Definition at line 244 of file RazorAnalyzer.py.

◆ pseudoJet1

RazorAnalyzer.pseudoJet1

Definition at line 217 of file RazorAnalyzer.py.

◆ pseudoJet1_gen

RazorAnalyzer.pseudoJet1_gen

Definition at line 158 of file RazorAnalyzer.py.

◆ pseudoJet1_had

RazorAnalyzer.pseudoJet1_had

Definition at line 108 of file RazorAnalyzer.py.

◆ pseudoJet1energy

RazorAnalyzer.pseudoJet1energy

Definition at line 97 of file RazorAnalyzer.py.

◆ pseudoJet1pt2

RazorAnalyzer.pseudoJet1pt2

Definition at line 104 of file RazorAnalyzer.py.

◆ pseudoJet1px

RazorAnalyzer.pseudoJet1px

Definition at line 94 of file RazorAnalyzer.py.

◆ pseudoJet1py

RazorAnalyzer.pseudoJet1py

Definition at line 95 of file RazorAnalyzer.py.

◆ pseudoJet1pz

RazorAnalyzer.pseudoJet1pz

Definition at line 96 of file RazorAnalyzer.py.

◆ pseudoJet2

RazorAnalyzer.pseudoJet2

Definition at line 218 of file RazorAnalyzer.py.

◆ pseudoJet2_gen

RazorAnalyzer.pseudoJet2_gen

Definition at line 159 of file RazorAnalyzer.py.

◆ pseudoJet2_had

RazorAnalyzer.pseudoJet2_had

Definition at line 109 of file RazorAnalyzer.py.

◆ pseudoJet2energy

RazorAnalyzer.pseudoJet2energy

Definition at line 102 of file RazorAnalyzer.py.

◆ pseudoJet2pt2

RazorAnalyzer.pseudoJet2pt2

Definition at line 105 of file RazorAnalyzer.py.

◆ pseudoJet2px

RazorAnalyzer.pseudoJet2px

Definition at line 99 of file RazorAnalyzer.py.

◆ pseudoJet2py

RazorAnalyzer.pseudoJet2py

Definition at line 100 of file RazorAnalyzer.py.

◆ pseudoJet2pz

RazorAnalyzer.pseudoJet2pz

Definition at line 101 of file RazorAnalyzer.py.

◆ pxvec

RazorAnalyzer.pxvec

get megajets (association method: default 1 = minimum sum of the invariant masses of the two megajets)

Definition at line 80 of file RazorAnalyzer.py.

◆ pyvec

RazorAnalyzer.pyvec

Definition at line 81 of file RazorAnalyzer.py.

◆ pzvec

RazorAnalyzer.pzvec

Definition at line 82 of file RazorAnalyzer.py.

◆ r

RazorAnalyzer.r

Definition at line 227 of file RazorAnalyzer.py.

◆ r_bb

RazorAnalyzer.r_bb

Definition at line 239 of file RazorAnalyzer.py.

◆ r_gen

RazorAnalyzer.r_gen

Definition at line 166 of file RazorAnalyzer.py.

◆ r_had

RazorAnalyzer.r_had

Definition at line 116 of file RazorAnalyzer.py.

◆ r_lept

RazorAnalyzer.r_lept

Definition at line 266 of file RazorAnalyzer.py.

◆ reverse

RazorAnalyzer.reverse

Definition at line 180 of file RazorAnalyzer.py.

RazorAnalyzer.process
def process(self, event)
Definition: RazorAnalyzer.py:272