Skip to content

Commit 9d7f1c3

Browse files
author
Markus
committed
added trigger cut add puweight
1 parent 1f9fe21 commit 9d7f1c3

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

SUSYLooperHists.C

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,17 @@ TFile* SUSYLooperHists::Loop()
5050
TH1D* CutFlow = new TH1D("CutFlow",";CutFlow [unweighted];",20,-0.5,19.5);
5151
CutFlow->Sumw2();
5252

53-
TH1D* Sig = new TH1D("Sig",";3DSig;",50,-0.,50);
53+
TH1D* Sig = new TH1D("Sig",";3DSig;",25,-0.,50);
5454
Sig->Sumw2();
55-
TH1D* IP3D = new TH1D("IP3D",";IP3D;",500,-0.,.5);
55+
TH1D* Dxy = new TH1D("Dxy",";Dxy;",50,-0.,0.2);
56+
Dxy->Sumw2();
57+
TH1D* Dz = new TH1D("Dz",";Dz;",50,-0.,0.2);
58+
Dz->Sumw2();
59+
TH2D* DxyDz = new TH2D("DxyDz",";3DSig;",100,-0.,0.2,100,-0.,0.2);
60+
DxyDz->Sumw2();
61+
62+
63+
TH1D* IP3D = new TH1D("IP3D",";IP3D;",500,-0.,.5);
5664
IP3D->Sumw2();
5765
TH1D* Sig0 = new TH1D("Sig0",";3DSig;",50,-0.,50);
5866
Sig0->Sumw2();
@@ -135,6 +143,7 @@ TFile* SUSYLooperHists::Loop()
135143
// preselection syncronizd to Antonis ++++++++++++++++++++
136144
if( nLepGood == 0 ) continue;
137145
CutFlow->Fill(0.);
146+
if(HLT_MetTrigger!=1) continue;
138147
if(met.Pt()<200) continue;
139148
if(nLepGood<2) continue;
140149
if(nJet==0) continue;
@@ -170,11 +179,11 @@ TFile* SUSYLooperHists::Loop()
170179
CutFlow->Fill(9.);
171180
// preselection syncronized to ++++++++++++++++++++
172181

173-
if(MT>60&&MT<100) continue;
182+
// if(MT>60&&MT<100) continue;
174183

175184

176185
float pairmass = DiTau_InvMass(met,lep,secondLep,0);
177-
if(lep.Pt()>25||secondLep.Pt()>15) continue;
186+
if(lep.Pt()>50||secondLep.Pt()>15) continue;
178187

179188
// define some over and underflow
180189
if (pairmass>2000) pairmass=1999.;
@@ -195,7 +204,9 @@ TFile* SUSYLooperHists::Loop()
195204
IP3D->Fill(LepGood_ip3d[0],weight);
196205
Pt->Fill(secondLep.Pt(),weight);
197206
Iso->Fill(LepGood_relIso[1]*secondLep.Pt(),weight);
198-
207+
Dxy->Fill(fabs(LepGood_dxy[1]),weight);
208+
Dz->Fill(fabs(LepGood_dz[1]),weight);
209+
DxyDz->Fill(fabs(LepGood_dxy[1]),fabs(LepGood_dz[1]),weight);
199210

200211
if(nb30L==0)
201212
{

0 commit comments

Comments
 (0)