Rivet analyses referenceCMS_2011_I885663Dijet azimuthal decorrelations in $pp$ collisions at $\sqrt{s} = 7$ TeVExperiment: CMS (LHC) Inspire ID: 885663 Status: VALIDATED Authors:
Beam energies: (3500.0, 3500.0) GeV Run details:
Measurements of dijet azimuthal decorrelations in $pp$ collisions at $\sqrt{s} = 7$ TeV using the CMS detector at the CERN LHC are presented. The analysis is based on an inclusive dijet event sample corresponding to an integrated luminosity of 2.9/pb. Jets are anti-$k_t$ with $R = 0.5$, $p_\perp > 80 (30)$ GeV and $|\eta| < 1.1$. Source code: CMS_2011_I885663.cc 1// -*- C++ -*-
2#include "Rivet/Analysis.hh"
3#include "Rivet/Projections/FinalState.hh"
4#include "Rivet/Projections/FastJets.hh"
5
6namespace Rivet {
7
8 /// CMS azimuthal decorrelations
9 class CMS_2011_I885663 : public Analysis {
10 public:
11
12 RIVET_DEFAULT_ANALYSIS_CTOR(CMS_2011_I885663);
13
14
15 void init() {
16 FinalState fs;
17 FastJets akt(fs, JetAlg::ANTIKT, 0.5);
18 declare(akt, "antikT");
19
20 book(_h_deltaPhi, {80., 110., 140., 200., 300., 7000.},
21 {"d01-x01-y01", "d02-x01-y01", "d03-x01-y01", "d04-x01-y01", "d05-x01-y01"});
22 }
23
24
25 void analyze(const Event & event) {
26
27 const Jets& jets = apply<JetFinder>(event, "antikT").jetsByPt();
28 if (jets.size() < 2) vetoEvent;
29
30 if (fabs(jets[0].eta()) > 1.1 || jets[0].pT() < 80.) vetoEvent;
31 if (fabs(jets[1].eta()) > 1.1 || jets[1].pT() < 30.) vetoEvent;
32
33 double dphi = deltaPhi(jets[0].momentum(), jets[1].phi());
34
35 _h_deltaPhi->fill(jets[0].pT(), dphi);
36 }
37
38
39 void finalize() {
40 normalize(_h_deltaPhi);
41 }
42
43
44 private:
45
46 Histo1DGroupPtr _h_deltaPhi;
47
48 };
49
50
51
52 RIVET_DECLARE_ALIASED_PLUGIN(CMS_2011_I885663, CMS_2011_S8950903);
53
54}
|