rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

CDF_2001_I552797

Inclusive jet cross-section
Experiment: CDF (Tevatron Run 1)
Inspire ID: 552797
Status: VALIDATED
Authors:
  • Frank Siegert
References: Beams: p- p+
Beam energies: (900.0, 900.0) GeV
Run details:
  • Dijet events at Tevatron with $\sqrt{s}=1.8$ TeV

Measurement of the inclusive jet cross-section for jet transverse energies from 40 to 465 GeV in the pseudorapidity range $0.1<|\eta|<0.7$. The results are based on 87 $\mathrm{pb}^{-1}$ of data.

Source code: CDF_2001_I552797.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
 9  /// @brief CDF Run I inclusive jet cross-section
10  class CDF_2001_I552797 : public Analysis {
11  public:
12
13    RIVET_DEFAULT_ANALYSIS_CTOR(CDF_2001_I552797);
14
15
16    /// @name Analysis methods
17    /// @{
18
19    /// Book histograms and initialise projections before the run
20    void init() {
21      FinalState fs(Cuts::abseta < 4.2);
22      declare(FastJets(fs, JetAlg::CDFJETCLU, 0.7), "Jets");
23      book(_h_ET, 1, 1, 1);
24    }
25
26
27    /// Perform the per-event analysis
28    void analyze(const Event& event) {
29      if (_edges.empty())  _edges = _h_ET->xEdges();
30      Jets jets = apply<FastJets>(event, "Jets").jets(Cuts::Et > 40*GeV && Cuts::abseta >= 0.1 && Cuts::abseta <= 0.7, cmpMomByEt);
31      for (const Jet& jet : jets) {
32        _h_ET->fill(map2string(jet.Et()));
33      }
34    }
35
36
37    /// Normalise histograms etc., after the run
38    void finalize() {
39      const double deta = 1.2;
40      scale(_h_ET, crossSection()/sumOfWeights()/deta/nanobarn);
41      for (auto& b : _h_ET->bins()) {
42        b.scaleW(1.0/_axis.width(b.index()));
43      }
44    }
45
46    string map2string(const double value) const {
47      const size_t idx = _axis.index(value);
48      if (idx && idx <= _edges.size())  return _edges[idx-1];
49      return "OTHER";
50    }
51
52    /// @}
53
54
55  private:
56
57    /// Histogram
58    BinnedHistoPtr<string> _h_ET;
59    vector<string> _edges;
60    YODA::Axis<double> _axis{40.3, 46.3, 52.25, 58.1, 63.85, 69.5, 75.1, 80.7, 86.25, 91.75, 97.25, 102.75, 108.2,
61                             113.6, 119.0, 124.4, 129.8, 135.2, 141.8, 151.05, 161.8, 172.55, 183.3, 194.1, 204.85,
62                             217.8, 236.25, 257.95, 279.65, 301.3, 322.85, 347.9, 387.55, 438.25};
63
64  };
65
66
67
68  RIVET_DECLARE_ALIASED_PLUGIN(CDF_2001_I552797, CDF_2001_S4563131);
69
70}