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, | |
string | collectionPostFix = "" |
list | csLeptons = [ l for l in event.selectedLeptons if l.pt() > 10 and abs(l.eta()) < 2.5 ] |
===> zll_MT2 More... | |
list | csLeptons_mt = [] |
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... | |
gamma_objectsXj10lc = gamma_objectsXjc+objects10lc | |
list | gamma_objectsXjc = [ j for j in event.gamma_cleanJets if j.pt() > self.jetPt and abs(j.eta())<2.5 ] |
if len(gamma_objects40j10lc)>=2: More... | |
string | metCollection = "slimmedMETs" |
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... | |
objectsXj10lc = objectsXjc+objects10lc | |
list | objectsXjc_Gen = [ j for j in allGenJets if j.pt() > self.jetPt and abs(j.eta())<2.5 ] |
list | objectsXjcCSV = [ j for j in event.cleanJets if j.pt() > self.jetPt and abs(j.eta())<2.5 and j.p4()!=event.bjetsMedium[0].p4() ] |
def MT2Analyzer.process | ( | self, | |
event | |||
) |
print 'MT2bb(1b)',event.mt2bb
===> leptonic MT2 (as used in the SUS-13-025 )
Definition at line 440 of file MT2Analyzer.py.
References LaserDQM_cfg.process.
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 215 of file MT2Analyzer.py.
MT2Analyzer.class_object = MT2Analyzer, |
Definition at line 466 of file MT2Analyzer.py.
string MT2Analyzer.collectionPostFix = "" |
Definition at line 468 of file MT2Analyzer.py.
list MT2Analyzer.csLeptons = [ l for l in event.selectedLeptons if l.pt() > 10 and abs(l.eta()) < 2.5 ] |
===> zll_MT2
===> zllmt_MT2
setattr(event, "mt2"+self.cfg_ana.collectionPostFix+"_zllmt", -999) setattr(event, "pseudoJet1"+self.cfg_ana.collectionPostFix+"_zllmt", ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )) setattr(event, "pseudoJet2"+self.cfg_ana.collectionPostFix+"_zllmt", ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )) if hasattr(event, 'zllmt_met'):
csLeptons = [ l for l in event.selectedLeptons if l.pt() > 10 and abs(l.eta()) < 2.5 ] if len(csLeptons)==2 and len(objects40jc)>=2: self.zllmt_mt2 = self.getMT2Hemi(event,objects40jc,event.zllmt_met,self.cfg_ana.collectionPostFix,"_zllmt")
setattr(event, "mt2"+self.cfg_ana.collectionPostFix+"_Xj_zllmt", -999) setattr(event, "pseudoJet1"+self.cfg_ana.collectionPostFix+"_Xj_zllmt", ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )) setattr(event, "pseudoJet2"+self.cfg_ana.collectionPostFix+"_Xj_zllmt", ROOT.reco.Particle.LorentzVector( 0, 0, 0, 0 )) if hasattr(event, 'zllmt_met'):
csLeptons = [ l for l in event.selectedLeptons if l.pt() > 10 and abs(l.eta()) < 2.5 ] if len(csLeptons)==2 and len(objectsXjc)>=2: self.zllmt_mt2_Xj = self.getMT2Hemi(event,objectsXjc,event.zllmt_met,self.cfg_ana.collectionPostFix,"_Xj_zllmt")
===> rl_MT2
Definition at line 303 of file MT2Analyzer.py.
list MT2Analyzer.csLeptons_mt = [] |
Definition at line 399 of file MT2Analyzer.py.
tuple MT2Analyzer.davismt2 = Davismt2() |
Definition at line 23 of file MT2Analyzer.py.
MT2Analyzer.doOnlyDefault = True, |
Definition at line 469 of file MT2Analyzer.py.
MT2Analyzer.gamma_objects40j10lc = gamma_objects40jc+objects10lc |
Definition at line 268 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 266 of file MT2Analyzer.py.
MT2Analyzer.gamma_objectsXj10lc = gamma_objectsXjc+objects10lc |
Definition at line 285 of file MT2Analyzer.py.
list MT2Analyzer.gamma_objectsXjc = [ j for j in event.gamma_cleanJets if j.pt() > self.jetPt and abs(j.eta())<2.5 ] |
if len(gamma_objects40j10lc)>=2:
Definition at line 283 of file MT2Analyzer.py.
string MT2Analyzer.metCollection = "slimmedMETs" |
Definition at line 467 of file MT2Analyzer.py.
tuple MT2Analyzer.mt2wSNT = mt2w_bisect.mt2w() |
Definition at line 26 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 231 of file MT2Analyzer.py.
MT2Analyzer.objects40j10lc = objects40jc+objects10lc |
Definition at line 235 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 216 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 416 of file MT2Analyzer.py.
MT2Analyzer.objectsXj10lc = objectsXjc+objects10lc |
Definition at line 238 of file MT2Analyzer.py.
list MT2Analyzer.objectsXjc_Gen = [ j for j in allGenJets if j.pt() > self.jetPt and abs(j.eta())<2.5 ] |
Definition at line 217 of file MT2Analyzer.py.
list MT2Analyzer.objectsXjcCSV = [ j for j in event.cleanJets if j.pt() > self.jetPt and abs(j.eta())<2.5 and j.p4()!=event.bjetsMedium[0].p4() ] |
Definition at line 419 of file MT2Analyzer.py.