CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
MT2Analyzer Namespace Reference

Classes

class  MT2Analyzer
 

Functions

def process
 print 'MT2bb(1b)',event.mt2bb More...
 

Variables

list allGenJets = [ x for x in self.handles['genJets'].product() ]
 ===> hadronic MT2 (as used in the SUS-13-019) get hemispheres (seed 2: max inv mass, association method: default 3 = minimal lund distance) More...
 
 class_object = MT2Analyzer,
 
list csLeptons = [ l for l in event.selectedLeptons if l.pt() > 10 and abs(l.eta()) < 2.5 ]
 if len(gamma_objects40j10lc)>=2: More...
 
tuple davismt2 = Davismt2()
 
 doOnlyDefault = True,
 
 gamma_objects40j10lc = gamma_objects40jc+objects10lc
 
list gamma_objects40jc = [ j for j in event.gamma_cleanJets if j.pt() > 40 and abs(j.eta())<2.5 ]
 ===> full gamma_MT2 More...
 
tuple mt2wSNT = mt2w_bisect.mt2w()
 
list objects10lc = [ l for l in event.selectedLeptons if l.pt() > 10 and abs(l.eta())<2.5 ]
 ===> full MT2 (jets + leptons) More...
 
 objects40j10lc = objects40jc+objects10lc
 
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() ]
 do the mt2 with one or two b jets (medium CSV) More...
 

Function Documentation

def MT2Analyzer.process (   self,
  event 
)

print 'MT2bb(1b)',event.mt2bb

===> leptonic MT2 (as used in the SUS-13-025 )

Definition at line 253 of file MT2Analyzer.py.

References LaserDQM_cfg.process.

254  def process(self, event):
255  self.readCollections( event.input )
256 
257  event.mt2_gen=-999
258  event.mt2bb=-999
259  event.mt2lept=-999
260 
261  event.mt2_had=-999
262  event.pseudoJet1_had = ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )
263  event.pseudoJet2_had = ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )
264  event.multPseudoJet1_had=0
265  event.multPseudoJet2_had=0
266 
267  event.mt2=-999
268  event.pseudoJet1 = ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )
269  event.pseudoJet2 = ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )
270 
271  event.mt2ViaKt_had=-999
272  event.mt2ViaAKt_had=-999
273  event.pseudoViaKtJet1_had = ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )
274  event.pseudoViaKtJet2_had = ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )
275  event.pseudoViaAKtJet1_had = ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )
276  event.pseudoViaAKtJet2_had = ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )
277 
278  ###
279 
280  self.makeMT2(event)
281 
282 # print 'variables computed: MT=',event.mtw,'MT2=',event.mt2,'MT2W=',event.mt2w
283 # print 'pseudoJet1 px=',event.pseudoJet1.px(),' py=',event.pseudoJet1.py(),' pz=',event.pseudoJet1.pz()
284 # print 'pseudoJet2 px=',event.pseudoJet2.px(),' py=',event.pseudoJet2.py(),' pz=',event.pseudoJet2.pz()
285 
286  return True
287 
288 
289 
setattr(MT2Analyzer,"defaultConfig", cfg.Analyzer(
tuple process
Definition: LaserDQM_cfg.py:3

Variable Documentation

list MT2Analyzer.allGenJets = [ x for x in self.handles['genJets'].product() ]

===> hadronic MT2 (as used in the SUS-13-019) get hemispheres (seed 2: max inv mass, association method: default 3 = minimal lund distance)

do same things for GEN

Definition at line 174 of file MT2Analyzer.py.

MT2Analyzer.class_object = MT2Analyzer,

Definition at line 290 of file MT2Analyzer.py.

list MT2Analyzer.csLeptons = [ l for l in event.selectedLeptons if l.pt() > 10 and abs(l.eta()) < 2.5 ]

if len(gamma_objects40j10lc)>=2:

===> zll_MT2

Definition at line 225 of file MT2Analyzer.py.

tuple MT2Analyzer.davismt2 = Davismt2()

Definition at line 22 of file MT2Analyzer.py.

MT2Analyzer.doOnlyDefault = True,

Definition at line 291 of file MT2Analyzer.py.

MT2Analyzer.gamma_objects40j10lc = gamma_objects40jc+objects10lc

Definition at line 207 of file MT2Analyzer.py.

list MT2Analyzer.gamma_objects40jc = [ j for j in event.gamma_cleanJets if j.pt() > 40 and abs(j.eta())<2.5 ]

===> full gamma_MT2

Definition at line 205 of file MT2Analyzer.py.

tuple MT2Analyzer.mt2wSNT = mt2w_bisect.mt2w()

Definition at line 25 of file MT2Analyzer.py.

list MT2Analyzer.objects10lc = [ l for l in event.selectedLeptons if l.pt() > 10 and abs(l.eta())<2.5 ]

===> full MT2 (jets + leptons)

Definition at line 185 of file MT2Analyzer.py.

MT2Analyzer.objects40j10lc = objects40jc+objects10lc

Definition at line 189 of file MT2Analyzer.py.

list MT2Analyzer.objects40jc_Gen = [ j for j in allGenJets if j.pt() > 40 and abs(j.eta())<2.5 ]

Definition at line 175 of file MT2Analyzer.py.

list MT2Analyzer.objects40jcCSV = [ j for j in event.cleanJets if j.pt() > 40 and abs(j.eta())<2.5 and j.p4()!=event.bjetsMedium[0].p4() ]

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

Definition at line 239 of file MT2Analyzer.py.