Rivet analyses


title: CMS_2011_I902309

Measurement of the inclusive jet cross-section in $pp$ collisions at $\sqrt{s} = 7$ TeV

Experiment: CMS (LHC)

Inspire ID: 902309

Status: VALIDATED

Authors: - Rasmus Sloth Hansenrsh07@phys.au.dk

References: - http://cdsweb.cern.ch/record/1355680

Beams: p+ p+

Beam energies: (3500.0, 3500.0)GeV

Run details: - Inclusive QCD at 7TeV comEnergy, ptHat (or equivalent) greater than 10 GeV

The inclusive jet cross section is measured in pp collisions with a center-of-mass energy of 7 TeV at the LHC using the CMS experiment. The data sample corresponds to an integrated luminosity of 34 inverse picobarns. The measurement is made for jet transverse momenta in the range 18-1100 GeV and for absolute values of rapidity less than 3. Jets are anti-kt with $R=0.5$, $p_\perp>18$ GeV and $|y|<3.0$.

Source code:CMS_2011_I902309.cc

```c++ // -- C++ --

include "Rivet/Analysis.hh"

include "Rivet/Projections/FastJets.hh"

include "Rivet/Projections/FinalState.hh"

namespace Rivet {

// Inclusive jet pT class CMS_2011_I902309 : public Analysis { public:

RIVET_DEFAULT_ANALYSIS_CTOR(CMS_2011_I902309);


/// @{

/// Book histograms and initialize projections:
void init() {
  const FinalState fs;

  // Initialize the projectors:
  declare(FastJets(fs, JetAlg::ANTIKT, 0.5), "Jets");

  // Book histograms:
  book(_hist_sigma, {0., 0.5, 1., 1.5, 2., 2.5, 3.});
  for (auto& b : _hist_sigma->bins()) {
    book(b, b.index(), 1, 1);
  }
}

/// Analysis
void analyze(const Event& event) {

  const FastJets& fj = apply<FastJets>(event, "Jets");
  const Jets& jets = fj.jets(Cuts::ptIn(18 * GeV, 1100.0 * GeV) && Cuts::absrap < 4.7);

  // Fill the relevant histograms:
  for (const Jet& j : jets) {
    _hist_sigma->fill(j.absrap(), j.pT());
  }
}

/// Finalize
void finalize() {
  scale(_hist_sigma, crossSection() / picobarn / sumOfWeights() / 2.0);
  divByGroupWidth(_hist_sigma);
}

/// @}

private:

Histo1DGroupPtr _hist_sigma;

};

RIVET_DECLARE_ALIASED_PLUGIN(CMS_2011_I902309, CMS_2011_S9086218);

} ```

Aliases: - CMS_2011_S9086218