Rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

D0_2009_S8320160

Dijet angular distributions
Experiment: D0 (Tevatron Run 2)
Inspire ID: 824127
Status: VALIDATED
Authors:
  • Frank Siegert
References: Beams: p- p+
Beam energies: (980.0, 980.0) GeV
Run details:
  • $p \bar{p} \to$ jets at 1960 GeV

Dijet angular distributions in different bins of dijet mass from 0.25 TeV to above 1.1 TeV in $p \bar{p}$ collisions at $\sqrt{s} = 1.96$ TeV, based on an integrated luminosity of 0.7 fb$^{-1}$.

Source code: D0_2009_S8320160.cc
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Tools/BinnedHistogram.hh"
#include "Rivet/Projections/FinalState.hh"
#include "Rivet/Projections/ChargedFinalState.hh"
#include "Rivet/Projections/FastJets.hh"

namespace Rivet {


  /// @brief D0 dijet angular distributions
  class D0_2009_S8320160 : public Analysis {
  public:

    /// @name Construction
    //@{

    /// Constructor
    D0_2009_S8320160() : Analysis("D0_2009_S8320160")
    {
    }

    //@}


    /// @name Analysis methods
    //@{

    // Book histograms
    void init() {
      FinalState fs;
      FastJets conefinder(fs, FastJets::D0ILCONE, 0.7);
      declare(conefinder, "ConeFinder");

      _h_chi_dijet.addHistogram(250., 300., bookHisto1D(1, 1, 1));
      _h_chi_dijet.addHistogram(300., 400., bookHisto1D(2, 1, 1));
      _h_chi_dijet.addHistogram(400., 500., bookHisto1D(3, 1, 1));
      _h_chi_dijet.addHistogram(500., 600., bookHisto1D(4, 1, 1));
      _h_chi_dijet.addHistogram(600., 700., bookHisto1D(5, 1, 1));
      _h_chi_dijet.addHistogram(700., 800., bookHisto1D(6, 1, 1));
      _h_chi_dijet.addHistogram(800., 900., bookHisto1D(7, 1, 1));
      _h_chi_dijet.addHistogram(900., 1000., bookHisto1D(8, 1, 1));
      _h_chi_dijet.addHistogram(1000., 1100., bookHisto1D(9, 1, 1));
      _h_chi_dijet.addHistogram(1100., 1960, bookHisto1D(10, 1, 1));
    }



    /// Do the analysis
    void analyze(const Event & e) {
      const double weight = e.weight();

      const Jets& jets = apply<JetAlg>(e, "ConeFinder").jetsByPt();
      if (jets.size() < 2) vetoEvent;

      FourMomentum j0(jets[0].momentum());
      FourMomentum j1(jets[1].momentum());
      double y0 = j0.rapidity();
      double y1 = j1.rapidity();

      if (fabs(y0+y1)>2) vetoEvent;

      double mjj = FourMomentum(j0+j1).mass();
      double chi = exp(fabs(y0-y1));
      if(chi<16.)  _h_chi_dijet.fill(mjj, chi, weight);
    }



    /// Finalize
    void finalize() {
      foreach (Histo1DPtr hist, _h_chi_dijet.getHistograms()) {
        normalize(hist);
      }
    }

    //@}


  private:

    /// @name Histograms
    //@{
    BinnedHistogram<double> _h_chi_dijet;
    //@}

  };



  // The hook for the plugin system
  DECLARE_RIVET_PLUGIN(D0_2009_S8320160);

}