Rivet analyses referenceCDF_2008_I790693CDF Run II inclusive jet cross-section using the Midpoint algorithmExperiment: CDF (Tevatron Run 2) Inspire ID: 790693 Status: VALIDATED Authors:
Beam energies: (980.0, 980.0) GeV Run details:
Measurement of the inclusive jet cross section in $p\bar{p}$ collisions at $\sqrt{s}=1.96$ TeV as a function of jet $E_\perp$, for $E_\perp >$ 62 GeV. The data is collected by the CDF II detector and has an integrated luminosity of 1.13 fb$^{-1}$. The measurement was made using the cone-based Midpoint jet clustering algorithm in rapidity bins within $|y|<2.1$. This measurement can be used to provide increased precision in PDFs at high parton momentum fraction $x$. Source code: CDF_2008_I790693.cc 1// -*- C++ -*-
2#include "Rivet/Analysis.hh"
3#include "Rivet/Projections/FastJets.hh"
4
5namespace Rivet {
6
7
8 /// @brief CDF Run II inclusive jet cross-section using the Midpoint algorithm.
9 ///
10 /// The analysis includes 1.1fb^-1 of CDF data and is the first with a
11 /// cone algorithm to include the forward region of the detector.
12 /// arXiv:0807.2204 to be published in PRD
13 class CDF_2008_I790693 : public Analysis {
14 public:
15
16 RIVET_DEFAULT_ANALYSIS_CTOR(CDF_2008_I790693);
17
18
19 /// @name Analysis methods
20 /// @{
21
22 // Book histos and set counters for number of events passed in each one
23 void init() {
24 const FinalState fs;
25 declare(FastJets(fs, JetAlg::CDFMIDPOINT, 0.7), "JetsM07");
26
27 book(_binnedHistosR07, {0., 0.1, 0.7, 1.1, 1.6, 2.1},
28 {"d01-x01-y01", "d02-x01-y01", "d03-x01-y01", "d04-x01-y01", "d05-x01-y01"});
29 }
30
31
32 // Do the analysis
33 void analyze(const Event& event) {
34 for (const Jet& jet : apply<FastJets>(event, "JetsM07").jets(Cuts::pT > 62*GeV)) {
35 _binnedHistosR07->fill(jet.absrap(), jet.pT()/GeV);
36 }
37 }
38
39
40 // Normalise histograms to cross-section
41 void finalize() {
42 scale(_binnedHistosR07, crossSection()/nanobarn/sumOfWeights()/2.0);
43 divByGroupWidth(_binnedHistosR07);
44 }
45
46 /// @}
47
48
49 private:
50
51 /// Histograms in different eta regions
52 Histo1DGroupPtr _binnedHistosR07;
53
54 };
55
56
57
58 RIVET_DECLARE_ALIASED_PLUGIN(CDF_2008_I790693, CDF_2008_S7828950);
59
60}
|