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
| // -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/FinalState.hh"
#include "Rivet/Projections/ChargedFinalState.hh"
#include "Rivet/Projections/VisibleFinalState.hh"
#include "Rivet/Projections/VetoedFinalState.hh"
#include "Rivet/Projections/IdentifiedFinalState.hh"
#include "Rivet/Projections/FastJets.hh"
#include "Rivet/Tools/RivetMT2.hh"
namespace Rivet {
/// High-jet-multiplicity squark and gluino search
class ATLAS_2011_S9225137 : public Analysis {
public:
/// Constructor
RIVET_DEFAULT_ANALYSIS_CTOR(ATLAS_2011_S9225137);
/// @name Analysis methods
//@{
/// Book histograms and initialise projections before the run
void init() {
// veto region electrons
Cut vetocut = Cuts::absetaIn(1.37, 1.52);
IdentifiedFinalState veto_elecs(vetocut && Cuts::pT > 10*GeV);
veto_elecs.acceptIdPair(PID::ELECTRON);
declare(veto_elecs, "veto_elecs");
// projection to find the electrons
IdentifiedFinalState elecs(Cuts::abseta < 2.47 && Cuts::pT > 20*GeV);
elecs.acceptIdPair(PID::ELECTRON);
declare(elecs, "elecs");
// projection to find the muons
IdentifiedFinalState muons(Cuts::abseta < 2.4 && Cuts::pT > 10*GeV);
muons.acceptIdPair(PID::MUON);
declare(muons, "muons");
// for pTmiss
declare(VisibleFinalState(Cuts::abseta < 4.9), "vfs");
VetoedFinalState vfs;
vfs.addVetoPairId(PID::MUON);
/// Jet finder
declare(FastJets(vfs, FastJets::ANTIKT, 0.4), "AntiKtJets04");
// all tracks (to do deltaR with leptons)
declare(ChargedFinalState(Cuts::abseta < 3), "cfs");
/// Book histograms
book(_etmisspT_55_NJ_6_obs , 1,1,1);
book(_etmisspT_55_NJ_6_bac , 1,1,2);
book(_etmisspT_55_NJ_6_sig , 1,1,3);
book(_etmisspT_55_NJ_7_obs ,13,1,1);
book(_etmisspT_55_NJ_7_bac ,13,1,2);
book(_etmisspT_55_NJ_7_sig ,13,1,3);
book(_etmisspT_55_NJ_8_obs ,15,1,1);
book(_etmisspT_55_NJ_8_bac ,15,1,2);
book(_etmisspT_55_NJ_8_sig ,15,1,3);
book(_etmisspT_80_NJ_5_obs , 2,1,1);
book(_etmisspT_80_NJ_5_bac , 2,1,2);
book(_etmisspT_80_NJ_5_sig , 2,1,3);
book(_etmisspT_80_NJ_6_obs ,14,1,1);
book(_etmisspT_80_NJ_6_bac ,14,1,2);
book(_etmisspT_80_NJ_6_sig ,14,1,3);
book(_etmisspT_80_NJ_7_obs ,16,1,1);
book(_etmisspT_80_NJ_7_bac ,16,1,2);
book(_etmisspT_80_NJ_7_sig ,16,1,3);
book(_njet55A_obs , 3,1,1);
book(_njet55A_bac , 3,1,2);
book(_njet55A_sig , 3,1,3);
book(_njet55B_obs , 4,1,1);
book(_njet55B_bac , 4,1,2);
book(_njet55B_sig , 4,1,3);
book(_njet55C_obs ,17,1,1);
book(_njet55C_bac ,17,1,2);
book(_njet55C_sig ,17,1,3);
book(_njet80A_obs , 5,1,1);
book(_njet80A_bac , 5,1,2);
book(_njet80A_sig , 5,1,3);
book(_njet80B_obs , 6,1,1);
book(_njet80B_bac , 6,1,2);
book(_njet80B_sig , 6,1,3);
book(_njet80C_obs ,18,1,1);
book(_njet80C_bac ,18,1,2);
book(_njet80C_sig ,18,1,3);
book(_count_7j55 ,"count_7j55", 1, 0., 1.);
book(_count_8j55 ,"count_8j55", 1, 0., 1.);
book(_count_6j80 ,"count_6j80", 1, 0., 1.);
book(_count_7j80 ,"count_7j80", 1, 0., 1.);
}
/// Perform the per-event analysis
void analyze(const Event& event) {
const double weight = 1.0;
// apply electron veto region
Particles veto_e
= apply<IdentifiedFinalState>(event, "veto_elecs").particles();
if ( ! veto_e.empty() ) {
MSG_DEBUG("electrons in veto region");
vetoEvent;
}
// get the jet candidates
Jets cand_jets;
for (const Jet& jet :
apply<FastJets>(event, "AntiKtJets04").jetsByPt(20.0*GeV) ) {
if ( fabs( jet.eta() ) < 4.9 ) {
cand_jets.push_back(jet);
}
}
// candidate muons
Particles cand_mu;
Particles chg_tracks =
apply<ChargedFinalState>(event, "cfs").particles();
for ( const Particle & mu :
apply<IdentifiedFinalState>(event, "muons").particlesByPt() ) {
double pTinCone = -mu.pT();
for ( const Particle & track : chg_tracks ) {
if ( deltaR(mu.momentum(),track.momentum()) <= 0.2 )
pTinCone += track.pT();
}
if ( pTinCone < 1.8*GeV )
cand_mu.push_back(mu);
}
// candidate electrons
Particles cand_e =
apply<IdentifiedFinalState>(event, "elecs").particlesByPt();
// resolve jet/lepton ambiguity
Jets cand_jets_2;
for ( const Jet& jet : cand_jets ) {
// candidates above eta=2.8 are jets
if ( fabs( jet.eta() ) >= 2.8 )
cand_jets_2.push_back( jet );
// otherwise more the R=0.2 from an electrons
else {
bool away_from_e = true;
for ( const Particle & e : cand_e ) {
if ( deltaR(e.momentum(),jet.momentum()) <= 0.2 ) {
away_from_e = false;
break;
}
}
if ( away_from_e )
cand_jets_2.push_back( jet );
}
}
// only keep electrons more than R=0.4 from jets
Particles recon_e;
for ( const Particle & e : cand_e ) {
bool away = true;
for ( const Jet& jet : cand_jets_2 ) {
if ( deltaR(e.momentum(),jet.momentum()) < 0.4 ) {
away = false;
break;
}
}
if ( away )
recon_e.push_back( e );
}
// only keep muons more than R=0.4 from jets
Particles recon_mu;
for ( const Particle & mu : cand_mu ) {
bool away = true;
for ( const Jet& jet : cand_jets_2 ) {
if ( deltaR(mu.momentum(),jet.momentum()) < 0.4 ) {
away = false;
break;
}
}
if ( away ) recon_mu.push_back( mu );
}
// pTmiss
Particles vfs_particles =
apply<VisibleFinalState>(event, "vfs").particles();
FourMomentum pTmiss;
for ( const Particle & p : vfs_particles ) {
pTmiss -= p.momentum();
}
double eTmiss = pTmiss.pT();
// final jet filter
Jets recon_jets;
for (const Jet& jet : cand_jets_2) {
if (jet.abseta() <= 2.8 ) recon_jets.push_back( jet );
}
// now only use recon_jets, recon_mu, recon_e
// reject events with electrons and muons
if ( ! ( recon_mu.empty() && recon_e.empty() ) ) {
MSG_DEBUG("Charged leptons left after selection");
vetoEvent;
}
// calculate H_T
double HT = 0;
for (const Jet& jet : recon_jets) {
if (jet.pT() > 40*GeV) HT += jet.pT() ;
}
// number of jets and deltaR
bool pass55DeltaR=true, pass80DeltaR=true;
size_t njet55=0, njet80=0;
for (size_t ix=0; ix < recon_jets.size(); ++ix) {
if (recon_jets[ix].pT() > 80*GeV) ++njet80;
if (recon_jets[ix].pT() > 55*GeV) ++njet55;
for (size_t iy = ix + 1; iy < recon_jets.size(); ++iy) {
if (recon_jets[ix].pT() > 55*GeV &&
recon_jets[iy].pT() > 55*GeV &&
deltaR(recon_jets[ix], recon_jets[iy]) < 0.6)
pass55DeltaR = false;
// if (recon_jets[ix].pT() > 80*GeV &&
// recon_jets[iy].pT() > 80*GeV &&
// deltaR(recon_jets[ix], recon_jets[iy]) < 0.6)
// pass80DeltaR = false;
}
}
// require at least four jets with et > 55
if (njet55 <= 3) vetoEvent;
// plots of etmiss/ht
double etht = eTmiss/sqrt(HT);
if (njet55 == 6) {
_etmisspT_55_NJ_6_obs->fill(etht,weight);
_etmisspT_55_NJ_6_bac->fill(etht,weight);
_etmisspT_55_NJ_6_sig->fill(etht,weight);
} else if (njet55 == 7) {
_etmisspT_55_NJ_7_obs->fill(etht,weight);
_etmisspT_55_NJ_7_bac->fill(etht,weight);
_etmisspT_55_NJ_7_sig->fill(etht,weight);
} else if (njet55 == 8) {
_etmisspT_55_NJ_8_obs->fill(etht,weight);
_etmisspT_55_NJ_8_bac->fill(etht,weight);
_etmisspT_55_NJ_8_sig->fill(etht,weight);
}
if (njet80 == 5) {
_etmisspT_80_NJ_5_obs->fill(etht,weight);
_etmisspT_80_NJ_5_bac->fill(etht,weight);
_etmisspT_80_NJ_5_sig->fill(etht,weight);
} else if (njet80 == 6) {
_etmisspT_80_NJ_6_obs->fill(etht,weight);
_etmisspT_80_NJ_6_bac->fill(etht,weight);
_etmisspT_80_NJ_6_sig->fill(etht,weight);
} else if (njet80 == 7) {
_etmisspT_80_NJ_7_obs->fill(etht,weight);
_etmisspT_80_NJ_7_bac->fill(etht,weight);
_etmisspT_80_NJ_7_sig->fill(etht,weight);
}
if (etht > 1.5 && etht < 2.) {
if (njet55 > 3) {
_njet55A_obs->fill(njet55,weight);
_njet55A_bac->fill(njet55,weight);
_njet55A_sig->fill(njet55,weight);
}
if (njet80 > 3) {
_njet80A_obs->fill(njet80,weight);
_njet80A_bac->fill(njet80,weight);
_njet80A_sig->fill(njet80,weight);
}
} else if (etht > 2. && etht < 3.) {
if (njet55 > 3) {
_njet55B_obs->fill(njet55,weight);
_njet55B_bac->fill(njet55,weight);
_njet55B_sig->fill(njet55,weight);
}
if (njet80 > 3) {
_njet80B_obs->fill(njet80,weight);
_njet80B_bac->fill(njet80,weight);
_njet80B_sig->fill(njet80,weight);
}
} else {
if (njet55 > 3) {
_njet55C_obs->fill(njet55,weight);
_njet55C_bac->fill(njet55,weight);
_njet55C_sig->fill(njet55,weight);
}
if (njet80 > 3) {
_njet80C_obs->fill(njet80,weight);
_njet80C_bac->fill(njet80,weight);
_njet80C_sig->fill(njet80,weight);
}
}
// apply E_T/sqrt(H_T) cut
if (etht <= 3.5*GeV) {
MSG_DEBUG("Fails ET/sqrt(HT) cut ");
vetoEvent;
}
// check passes at least one delta5/ njet number cut
if (!(pass55DeltaR && njet55 >= 7) && !(pass80DeltaR && njet80 >= 6) ) {
MSG_DEBUG("Fails DeltaR cut or jet number cuts");
vetoEvent;
}
// 7j55
if (njet55 >= 7 && pass55DeltaR) _count_7j55->fill( 0.5, weight);
// 8j55
if (njet55 >= 8 && pass55DeltaR) _count_8j55->fill( 0.5, weight);
// 6j80
if (njet80 >= 6 && pass80DeltaR) _count_6j80->fill( 0.5, weight);
// 7j80
if (njet80 >= 7 && pass80DeltaR) _count_7j80->fill( 0.5, weight);
}
//@}
void finalize() {
const double norm = crossSection()/femtobarn*1.34/sumOfWeights();
scale(_etmisspT_55_NJ_6_obs,norm);
scale(_etmisspT_55_NJ_6_bac,norm);
scale(_etmisspT_55_NJ_6_sig,norm);
scale(_etmisspT_55_NJ_7_obs,norm);
scale(_etmisspT_55_NJ_7_bac,norm);
scale(_etmisspT_55_NJ_7_sig,norm);
scale(_etmisspT_55_NJ_8_obs,norm);
scale(_etmisspT_55_NJ_8_bac,norm);
scale(_etmisspT_55_NJ_8_sig,norm);
scale(_etmisspT_80_NJ_5_obs,norm);
scale(_etmisspT_80_NJ_5_bac,norm);
scale(_etmisspT_80_NJ_5_sig,norm);
scale(_etmisspT_80_NJ_6_obs,norm);
scale(_etmisspT_80_NJ_6_bac,norm);
scale(_etmisspT_80_NJ_6_sig,norm);
scale(_etmisspT_80_NJ_7_obs,norm);
scale(_etmisspT_80_NJ_7_bac,norm);
scale(_etmisspT_80_NJ_7_sig,norm);
scale(_njet55A_obs,norm);
scale(_njet55A_bac,norm);
scale(_njet55A_sig,norm);
scale(_njet55B_obs,norm);
scale(_njet55B_bac,norm);
scale(_njet55B_sig,norm);
scale(_njet55C_obs,norm);
scale(_njet55C_bac,norm);
scale(_njet55C_sig,norm);
scale(_njet80A_obs,norm);
scale(_njet80A_bac,norm);
scale(_njet80A_sig,norm);
scale(_njet80B_obs,norm);
scale(_njet80B_bac,norm);
scale(_njet80B_sig,norm);
scale(_njet80C_obs,norm);
scale(_njet80C_bac,norm);
scale(_njet80C_sig,norm);
scale(_count_7j55,norm);
scale(_count_8j55,norm);
scale(_count_6j80,norm);
scale(_count_7j80,norm);
}
private:
/// @name Histograms
//@{
Histo1DPtr _etmisspT_55_NJ_6_obs;
Histo1DPtr _etmisspT_55_NJ_6_bac;
Histo1DPtr _etmisspT_55_NJ_6_sig;
Histo1DPtr _etmisspT_55_NJ_7_obs;
Histo1DPtr _etmisspT_55_NJ_7_bac;
Histo1DPtr _etmisspT_55_NJ_7_sig;
Histo1DPtr _etmisspT_55_NJ_8_obs;
Histo1DPtr _etmisspT_55_NJ_8_bac;
Histo1DPtr _etmisspT_55_NJ_8_sig;
Histo1DPtr _etmisspT_80_NJ_5_obs;
Histo1DPtr _etmisspT_80_NJ_5_bac;
Histo1DPtr _etmisspT_80_NJ_5_sig;
Histo1DPtr _etmisspT_80_NJ_6_obs;
Histo1DPtr _etmisspT_80_NJ_6_bac;
Histo1DPtr _etmisspT_80_NJ_6_sig;
Histo1DPtr _etmisspT_80_NJ_7_obs;
Histo1DPtr _etmisspT_80_NJ_7_bac;
Histo1DPtr _etmisspT_80_NJ_7_sig;
Histo1DPtr _njet55A_obs;
Histo1DPtr _njet55A_bac;
Histo1DPtr _njet55A_sig;
Histo1DPtr _njet55B_obs;
Histo1DPtr _njet55B_bac;
Histo1DPtr _njet55B_sig;
Histo1DPtr _njet55C_obs;
Histo1DPtr _njet55C_bac;
Histo1DPtr _njet55C_sig;
Histo1DPtr _njet80A_obs;
Histo1DPtr _njet80A_bac;
Histo1DPtr _njet80A_sig;
Histo1DPtr _njet80B_obs;
Histo1DPtr _njet80B_bac;
Histo1DPtr _njet80B_sig;
Histo1DPtr _njet80C_obs;
Histo1DPtr _njet80C_bac;
Histo1DPtr _njet80C_sig;
Histo1DPtr _count_7j55;
Histo1DPtr _count_8j55;
Histo1DPtr _count_6j80;
Histo1DPtr _count_7j80;
//@}
};
RIVET_DECLARE_ALIASED_PLUGIN(ATLAS_2011_S9225137, ATLAS_2011_I939504);
}
|