Rivet analyses referenceCDF_2006_I699933Inclusive jet cross section differential in pTExperiment: CDF (Tevatron Run 2) Inspire ID: 699933 Status: VALIDATED Authors:
Beam energies: (980.0, 980.0) GeV Run details:
Measurement of the inclusive jet cross section in ppbar interactions at $\sqrt{s}=1.96$ TeV using 385 $\mathrm{pb}^{-1}$ of data. The data cover the jet transverse momentum range from 61 to 620 GeV/c in $0.1 < |y| < 0.7$. This analysis has been updated with more data in more rapidity bins in CDF_2008_S7828950. Source code: CDF_2006_I699933.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 inclusive-jet cross-section differential in \f$ p_\perp \f$
10 class CDF_2006_I699933 : public Analysis {
11 public:
12
13 RIVET_DEFAULT_ANALYSIS_CTOR(CDF_2006_I699933);
14
15
16 /// @name Analysis methods
17 /// @{
18
19 void init() {
20 FinalState fs;
21 declare(FastJets(fs, JetAlg::CDFMIDPOINT, 0.7), "ConeFinder");
22 book(_h_jet_pt ,1, 1, 1);
23 }
24
25
26 void analyze(const Event& event) {
27 const Jets& jets = apply<JetFinder>(event, "ConeFinder").jets(Cuts::pT > 61*GeV);
28 for (const Jet& jet : jets) {
29 if (inRange(jet.absrap(), 0.1, 0.7))
30 _h_jet_pt->fill(jet.pT()/GeV);
31 }
32 }
33
34
35 void finalize() {
36 const double delta_y = 1.2;
37 scale(_h_jet_pt, crossSection()/nanobarn/sumOfWeights()/delta_y);
38 }
39
40 /// @}
41
42
43 private:
44
45 /// Histogram
46 Histo1DPtr _h_jet_pt;
47
48 };
49
50
51
52 RIVET_DECLARE_ALIASED_PLUGIN(CDF_2006_I699933, CDF_2006_S6450792);
53
54}
|