-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLooseTopPartnersv4.C
More file actions
510 lines (398 loc) · 17.4 KB
/
LooseTopPartnersv4.C
File metadata and controls
510 lines (398 loc) · 17.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
#ifndef LooseTopPartnersv4_cxx
#define LooseTopPartnersv4_cxx
#include "LoadData_2012.C"
#include "tPrimeStandardHistos.C"
#include <iomanip>
#include "Objects/interface/HcalLaserEventFilter2012.h"
#include "Objects/interface/LumiReWeighting.h"
#include "MassAMWT/interface/TopMassVariables.h"
#include "MassAMWT/interface/AMWT.h"
#include <set>
using std::cout;
using std::endl;
typedef map< unsigned int, set<unsigned int> > LumiEventMapType;
typedef map<unsigned int, LumiEventMapType> RunEventMapType;
RunEventMapType eventMap;
unsigned int prevRun;
unsigned int prevLS;
bool checkEvent(){
for (unsigned int i = 0; i < NSAMPLES; i++){
unsigned int isam = samples[i];
if (samples[i] == FakeRate_Data){
if (eventMap.empty()) {
prevRun = prevLS = -1;
}
if ((treeClass.at(i)->run!=prevRun) && (eventMap.find(treeClass.at(i)->run) == eventMap.end())) {
eventMap[treeClass.at(i)->run] = LumiEventMapType();
}
if (((treeClass.at(i)->run!=prevRun) || (treeClass.at(i)->lumi!=prevLS))
&& (eventMap[treeClass.at(i)->run].find(treeClass.at(i)->lumi) == eventMap[treeClass.at(i)->run].end())) {
eventMap[treeClass.at(i)->run][treeClass.at(i)->lumi] = set<unsigned int>();
eventMap[treeClass.at(i)->run][treeClass.at(i)->lumi].insert(treeClass.at(i)->event);
prevRun = treeClass.at(i)->run;
prevLS = treeClass.at(i)->lumi;
return true;
}
prevRun = treeClass.at(i)->run;
prevLS = treeClass.at(i)->lumi;
if (eventMap[treeClass.at(i)->run][treeClass.at(i)->lumi].find(treeClass.at(i)->event) != eventMap[treeClass.at(i)->run][treeClass.at(i)->lumi].end()){
return false;
}
eventMap[treeClass.at(i)->run][treeClass.at(i)->lumi].insert(treeClass.at(i)->event);
return true;
}//sample selection
}//NSAMPLES braces
return EXIT_SUCCESS;
}//close function braces
int main( int argc, const char* argv[] ){
double PR_MU = 0.942;
double PR_EL = 0.860;
double FR_MU = 0.340;
double FR_EL = 0.240;
int MIN_NBTAG = 1;
bool b_MuMu = false;
bool b_ElMu = false;
bool b_ElEl = false;
int year;
if (argc < 5){
cout<<"Four arguments are required: channel, year, sample name file name"<<endl;
return 0;
}
HcalLaserEventFilter2012 hcal("./AllBadHCALLaser.txt.gz");
TString treeSuf;
TString suffix;
double f1 = 0;
double f2 = 0;
double p1 = 0;
double p2 = 0;
int channel;
if (strcmp(argv[1], "MuMu")==0){
b_MuMu = true;
channel = 0;
cout<<"Processing MuMu"<<endl;
suffix = "MuMu";
treeSuf = "mumu";
p1 = PR_MU;
p2 = PR_MU;
f1 = FR_MU;
f2 = FR_MU;
}
else if (strcmp(argv[1],"ElMu")==0){
channel = 1;
b_ElMu = true;
cout<<"Processing ElMu"<<endl;
suffix = "ElMu";
treeSuf = "elmu";
p1 = PR_EL;
p2 = PR_MU;
f1 = FR_EL;
f2 = FR_MU;
}
else if (strcmp(argv[1],"ElEl")==0){
b_ElEl = true;
channel = 2;
cout<<"Processing ElEl"<<endl;
suffix = "ElEl";
treeSuf = "elel";
p1 = PR_EL;
p2 = PR_EL;
f1 = FR_EL;
f2 = FR_EL;
}
else{
cout<<"Dilepton channel must be MuMu/ElMu/ElEl"<<endl;
return 0;
}
year = atoi(argv[2]);
TString fileName(argv[4]);
TString sampleName(argv[3]);
TprimeEvent * teve = new TprimeEvent();
if (year ==2011) {
initAll_2011(treeSuf, fileName, channel, sampleName);
} else if (year ==2012) {
initAll_2012(fileName, channel, sampleName);
} else {
cout <<"Year has to be 2011 or 2012\n";
return 0;
}
TFile* outFile = new TFile("fkOutFile_"+suffix+".root", "RECREATE");
unsigned int nCutSteps = 6;
vector <TH1F*> h_CutFlow(NSAMPLES);
vector <TH1F*> h_nSignal;
vector <StandardHistos*> allCuts_std_h(NSAMPLES);
vector <StandardHistos*> twoLepAS_std_h(NSAMPLES);
vector <StandardHistos*> twoLepZQV_std_h(NSAMPLES);
vector <StandardHistos*> twoLepSS_std_h(NSAMPLES);
vector <StandardHistos*> twoLepSS1B_std_h(NSAMPLES);
vector <StandardHistos*> twoLepTwoJ_std_h(NSAMPLES);
vector <StandardHistos*> twoLepFourJ_std_h(NSAMPLES);
vector <StandardHistos*> LTE2J_std_h(NSAMPLES);
vector <StandardHistos*> LTE1J_std_h(NSAMPLES);
vector <StandardHistos*> ZeroJets_std_h(NSAMPLES);
vector <StandardHistos*> twoLepOneBJets_std_h(NSAMPLES);
vector <StandardHistos*> twoLepOneBmet_std_h(NSAMPLES);
vector <StandardHistos*> twoLepTwoBmet_std_h(NSAMPLES);
vector <StandardHistos*> twoLepTwoBJets_std_h(NSAMPLES);
outFile->cd();
int nProc = 0;
for (unsigned int i = 0; i < NSAMPLES; i++){
if(samples[i]==FakeRate_Data) {
h_CutFlow.at(i) = new TH1F("h_CutFlow_"+sNames[i]+"_"+suffix, "h_CutFlow_"+sNames[i]+"_"+suffix, nCutSteps, 0.5, nCutSteps + 0.5);
h_CutFlow.at(i)->Sumw2();
//Top Level Directory -- all cuts
allCuts_std_h.at(i) = new StandardHistos("", suffix, sNames[i], sScale[i], true);
//Two Leptons All Signs
if(i==0) outFile->mkdir("TwoLeptonsAS");
outFile->cd("TwoLeptonsAS");
twoLepAS_std_h.at(i) = new StandardHistos("2L_AS", suffix, sNames[i], sScale[i], true);
outFile->cd();
//Z and Quarkonia veto
if (i==0) outFile->mkdir("TwoLeptonsZQV");
outFile->cd("TwoLeptonsZQV");
twoLepZQV_std_h.at(i) = new StandardHistos("2L_ZQV", suffix, sNames[i], sScale[i], true);
outFile->cd();
//Clean same sign leptons
if(i==0) outFile->mkdir("TwoLeptonsSS");
outFile->cd("TwoLeptonsSS");
twoLepSS_std_h.at(i) = new StandardHistos("2L_SS", suffix, sNames[i], sScale[i], true);
outFile->cd();
//Clean same sign leptons + 1 btag
if(i==0) outFile->mkdir("TwoLeptonsSS1B");
outFile->cd("TwoLeptonsSS1B");
twoLepSS1B_std_h.at(i) = new StandardHistos("2L_SS1B", suffix, sNames[i], sScale[i], true);
outFile->cd();
//Two or more jets
if(i==0) outFile->mkdir("TwoLTwoJ");
outFile->cd("TwoLTwoJ");
twoLepTwoJ_std_h.at(i) = new StandardHistos("2L_2J", suffix, sNames[i], sScale[i], true);
outFile->cd();
//Four or more jets
if(i==0) outFile->mkdir("TwoLFourJ");
outFile->cd("TwoLFourJ");
twoLepFourJ_std_h.at(i) = new StandardHistos("2L_4J", suffix, sNames[i], sScale[i], true);
outFile->cd();
//Less than or equal to 2 jets
if(i==0) outFile->mkdir("LTE2J");
outFile->cd("LTE2J");
LTE2J_std_h.at(i) = new StandardHistos("LTE2J", suffix, sNames[i], sScale[i], true);
outFile->cd();
//Less than or equal to 1 jet
if(i==0) outFile->mkdir("LTE1J");
outFile->cd("LTE1J");
LTE1J_std_h.at(i) = new StandardHistos("LTE1J", suffix, sNames[i], sScale[i], true);
outFile->cd();
//Zero jets
if(i==0) outFile->mkdir("ZeroJets");
outFile->cd("ZeroJets");
ZeroJets_std_h.at(i) = new StandardHistos("ZeroJets", suffix, sNames[i], sScale[i], true);
outFile->cd();
//extra dirs added to make plots
if(i==0) outFile->mkdir("TwoLTwoJ1B");
outFile->cd("TwoLTwoJ1B");
twoLepOneBJets_std_h.at(i) = new StandardHistos("2L_2J1B", suffix, sNames[i], sScale[i], true);
if(i==0) outFile->mkdir("TwoLTwoJ2B");
outFile->cd("TwoLTwoJ2B");
twoLepTwoBJets_std_h.at(i) = new StandardHistos("2L_2J2B", suffix, sNames[i], sScale[i], true);
if(i==0) outFile->mkdir("TwoLTwoJ1Bmet");
outFile->cd("TwoLTwoJ1Bmet");
twoLepOneBmet_std_h.at(i) = new StandardHistos("2L_2J1Bmet", suffix, sNames[i], sScale[i], true);
if(i==0) outFile->mkdir("TwoLTwoJ2Bmet");
outFile->cd("TwoLTwoJ2Bmet");
twoLepTwoBmet_std_h.at(i) = new StandardHistos("2L_2J2Bmet", suffix, sNames[i], sScale[i], true);
}//run only for selected SAMPLE
}//end loop over SAMPLES
for (unsigned int i = 0; i < NSAMPLES; i++){
unsigned int isam = samples[i];
if (samples[i] == FakeRate_Data){
Long64_t nEIT = treeClass.at(i)->getEntries();
cout<<"Events to be processed: "<<nEIT<<endl;
Long64_t iEvent = (Long64_t)(treeClass.at(i)->event + 0.01);
for (Long64_t il = 0; il < nEIT; il++){
treeClass.at(i)->GetEntry(il);
if (nProc % 100000 == 0) cout<<"Processed "<<nProc<<" events so far"<<endl;
nProc++;
//Initialize TprimeEvent class
teve->clearEvent();
teve->suffix = suffix;
teve->isam = isam;
//if (isData){
if (!checkEvent()) {
continue;
}
//}
teve->weight = 1.0;//treeClass.at(i)->weight_PU_3D;
teve->theLeptons=treeClass.at(i)->looseLeptons;
//Tree-level cuts only (2 leptons > 20 GeV, 2 jets > 30 GeV)
h_CutFlow.at(i)->Fill(1.0, teve->weight);
//Reject events with more than two tight leptons
bool b_LepCuts = false;
if (treeClass.at(i)->goodMuons.size() + treeClass.at(i)->goodElecs.size() > 2) continue;
TString eventType = "";
if (b_MuMu and treeClass.at(i)->dataMM && treeClass.at(i)->dataMM>0 && treeClass.at(i)->lntElecs.size() == 0 and treeClass.at(i)->goodElecs.size() == 0){
if (treeClass.at(i)->goodMuons.size() == 2){
eventType = "Nt11";
teve->lepton1 = treeClass.at(i)->goodMuons.at(0);
teve->lepton2 = treeClass.at(i)->goodMuons.at(1);
b_LepCuts = true;
}
else if (treeClass.at(i)->goodMuons.size() == 1 and treeClass.at(i)->lntMuons.size() > 0){
eventType = "Nt01";
//cout<<"Found event: "<<treeClass.at(i)->run<<" : "<<treeClass.at(i)->lumi<<" : "<<treeClass.at(i)->event<<endl;
teve->lepton1 = treeClass.at(i)->lntMuons.at(0);
teve->lepton2 = treeClass.at(i)->goodMuons.at(0);
b_LepCuts = true;
}
else if (treeClass.at(i)->goodMuons.size() == 0 and treeClass.at(i)->lntMuons.size() > 1){
eventType = "Nt00";
teve->lepton1 = treeClass.at(i)->lntMuons.at(0);
teve->lepton2 = treeClass.at(i)->lntMuons.at(1);
b_LepCuts = true;
}
else if (treeClass.at(i)->lntMuons.size() == 0 and treeClass.at(i)->goodMuons.size() == 0){
//cout << "No good nor loose-not-good found" << endl;
b_LepCuts = false;
}
}
else if (b_ElMu && treeClass.at(i)->dataEM && treeClass.at(i)->dataEM>0){
if (treeClass.at(i)->goodMuons.size() == 1 and treeClass.at(i)->goodElecs.size() == 1){
eventType = "Nt11";
teve->lepton1 = treeClass.at(i)->goodMuons.at(0);
teve->lepton2 = treeClass.at(i)->goodElecs.at(0);
b_LepCuts = true;
}
else if (treeClass.at(i)->goodMuons.size() == 1 and treeClass.at(i)->goodElecs.size() == 0 and treeClass.at(i)->lntElecs.size() > 0){
eventType = "Nt01";
teve->lepton1 = treeClass.at(i)->goodMuons.at(0);
teve->lepton2 = treeClass.at(i)->lntElecs.at(0);
b_LepCuts = true;
}
else if (treeClass.at(i)->goodElecs.size() == 1 and treeClass.at(i)->goodMuons.size() == 0 and treeClass.at(i)->lntMuons.size() > 0){
eventType = "Nt10";
teve->lepton1 = treeClass.at(i)->lntMuons.at(0);
teve->lepton2 = treeClass.at(i)->goodElecs.at(0);
b_LepCuts = true;
}
else if (treeClass.at(i)->goodElecs.size() == 0 and treeClass.at(i)->goodMuons.size() == 0 and treeClass.at(i)->lntMuons.size() > 0 and treeClass.at(i)->lntElecs.size() > 0){
eventType = "Nt00";
teve->lepton1 = treeClass.at(i)->lntMuons.at(0);
teve->lepton2 = treeClass.at(i)->lntElecs.at(0);
b_LepCuts = true;
}
}
else if (b_ElEl and treeClass.at(i)->dataEE && treeClass.at(i)->dataEE>0 and treeClass.at(i)->lntMuons.size() == 0 and treeClass.at(i)->goodMuons.size() == 0){
if (treeClass.at(i)->goodElecs.size() == 2){
eventType = "Nt11";
teve->lepton1 = treeClass.at(i)->goodElecs.at(0);
teve->lepton2 = treeClass.at(i)->goodElecs.at(1);
b_LepCuts = true;
}
else if (treeClass.at(i)->goodElecs.size() == 1 and treeClass.at(i)->lntElecs.size() > 0){
eventType = "Nt01";
teve->lepton1 = treeClass.at(i)->lntElecs.at(0);
teve->lepton2 = treeClass.at(i)->goodElecs.at(0);
b_LepCuts = true;
}
else if (treeClass.at(i)->goodElecs.size() == 0 and treeClass.at(i)->lntElecs.size() > 1){
eventType = "Nt00";
teve->lepton1 = treeClass.at(i)->lntElecs.at(0);
teve->lepton2 = treeClass.at(i)->lntElecs.at(1);
b_LepCuts = true;
}
}
//Make sure not to count same lepton as electron and muon
if (b_ElMu and b_LepCuts and teve->lepton1->lv.DeltaR(teve->lepton2->lv) < 0.1) b_LepCuts = false;
if(b_LepCuts){ teve->leptonSum = teve->lepton1->lv + teve->lepton2->lv;
//Sort leptons by pt
if (teve->lepton2->lv.Pt() > teve->lepton1->lv.Pt()){
TLepton* tmpTprimeL = teve->lepton1;
teve->lepton1 = teve->lepton2;
teve->lepton2 = tmpTprimeL;
}
teve->vGoodJets = treeClass.at(i)->goodJets(teve->theLeptons);
for (unsigned int ij = 0; ij < teve->vGoodJets.size(); ij++){
teve->ht += teve->vGoodJets.at(ij)->lv.Pt();
if (teve->vGoodJets.at(ij)->csvMedium != 0) teve->nBTags++; //Medium
}
}
//cout << "teve->nBTags = " << teve->nBTags << endl;
bool b_SSL = true;
if(b_LepCuts){b_SSL = (teve->lepton1->charge == teve->lepton2->charge);}
bool b_PassZVeto = true;
bool b_MuoniaVeto = true;
if (b_LepCuts){
h_CutFlow.at(i)->Fill(2.0, teve->weight);
twoLepAS_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
//Muonia and Z vetoes
if(teve->leptonSum.M() < 20) b_MuoniaVeto = false;
if (b_ElEl or b_MuMu){
if(teve->leptonSum.M() < 106 and teve->leptonSum.M() > 76) b_PassZVeto = false;
}
}
if (b_LepCuts and b_SSL){
h_CutFlow.at(i)->Fill(3.0, teve->weight);
twoLepSS_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
if (teve->nBTags > MIN_NBTAG) twoLepSS1B_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
}
//if (b_LepCuts and b_SSL and b_PassZVeto and b_MuoniaVeto){// and teve->nBTags > MIN_NBTAG){
if (b_LepCuts and b_SSL){
h_CutFlow.at(i)->Fill(4.0, teve->weight);
twoLepZQV_std_h.at(i)->fillAllHistos(teve, treeClass.at(i),eventType, true);
if (teve->vGoodJets.size() >= 2) twoLepTwoJ_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
if (teve->vGoodJets.size() <= 2) LTE2J_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
if (teve->vGoodJets.size() <= 1) LTE1J_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
if (teve->vGoodJets.size() == 0) ZeroJets_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
cout << "teve->nBTags = " << teve->nBTags << endl;
if(teve->vGoodJets.size() >= 2 && teve->nBTags >= 1 )twoLepOneBJets_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
if(teve->vGoodJets.size() >= 2 && teve->nBTags >= 2 )twoLepTwoBJets_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
if((b_ElMu || teve->met > 30) && teve->nBTags >= 1)twoLepOneBmet_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
if((b_ElMu || teve->met > 30) && teve->nBTags >= 2)twoLepTwoBmet_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
if (teve->vGoodJets.size() > 3){
h_CutFlow.at(i)->Fill(5.0, teve->weight);
twoLepFourJ_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
/* if (teve->ht > MIN_HT){
if (isam >= T53m400) h_nSignal.at(isam - T53m400)->Fill(1.0, teve->weight);
h_CutFlow.at(i)->Fill(6.0, teve->weight);
allCuts_std_h.at(i)->fillAllHistos(teve, treeClass.at(i), eventType, true);
}*/
}
}
}//end loop over tree entries
}//run only for selected SAMPLE
}//end loop over SAMPLES
for (unsigned int i = 0; i < NSAMPLES; i++){
unsigned int isam = samples[i];
if(samples[i]==FakeRate_Data) {
allCuts_std_h.at(i) ->getTotFakes(f1, f2, p1, p2);
twoLepAS_std_h.at(i) ->getTotFakes(f1, f2, p1, p2);
twoLepZQV_std_h.at(i) ->getTotFakes(f1, f2, p1, p2);
twoLepSS_std_h.at(i) ->getTotFakes(f1, f2, p1, p2);
twoLepSS1B_std_h.at(i) ->getTotFakes(f1, f2, p1, p2);
twoLepTwoJ_std_h.at(i) ->getTotFakes(f1, f2, p1, p2);
twoLepFourJ_std_h.at(i)->getTotFakes(f1, f2, p1, p2);
LTE2J_std_h.at(i)->getTotFakes(f1, f2, p1, p2);
LTE1J_std_h.at(i)->getTotFakes(f1, f2, p1, p2);
ZeroJets_std_h.at(i)->getTotFakes(f1, f2, p1, p2);
twoLepOneBJets_std_h.at(i)->getTotFakes(f1, f2, p1, p2);
twoLepTwoBJets_std_h.at(i)->getTotFakes(f1, f2, p1, p2);
twoLepOneBmet_std_h.at(i)->getTotFakes(f1, f2, p1, p2);
twoLepTwoBmet_std_h.at(i)->getTotFakes(f1, f2, p1, p2);
allCuts_std_h.at(i)->scaleAllHistos(true);
twoLepAS_std_h.at(i)->scaleAllHistos(true);
twoLepZQV_std_h.at(i)->scaleAllHistos(true);
twoLepSS_std_h.at(i)->scaleAllHistos(true);
twoLepSS1B_std_h.at(i)->scaleAllHistos(true);
twoLepTwoJ_std_h.at(i)->scaleAllHistos(true);
twoLepFourJ_std_h.at(i)->scaleAllHistos(true);
twoLepOneBJets_std_h.at(i)->scaleAllHistos(true);
twoLepTwoBJets_std_h.at(i)->scaleAllHistos(true);
twoLepOneBmet_std_h.at(i)->scaleAllHistos(true);
twoLepTwoBmet_std_h.at(i)->scaleAllHistos(true);
LTE2J_std_h.at(i)->scaleAllHistos(true);
LTE1J_std_h.at(i)->scaleAllHistos(true);
ZeroJets_std_h.at(i)->scaleAllHistos(true);
}
}
outFile->Write();
return EXIT_SUCCESS;
}
#endif