rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

CDF_2009_I856131

Z rapidity measurement
Experiment: CDF (Tevatron Run 2)
Inspire ID: 856131
Status: VALIDATED
Authors:
  • Frank Siegert
References: Beams: p- p+
Beam energies: (980.0, 980.0) GeV
Run details:
  • $p \bar{p} \to e^+ e^-$ + jets at 1960 GeV. Needs mass cut on lepton pair to avoid photon singularity, looser than $66 < m_{ee} < 116$ GeV

CDF measurement of the total cross section and rapidity distribution, $\mathrm{d}\sigma/\mathrm{d}y$, for $q\bar{q}\to \gamma^{*}/Z\to e^{+}e^{-}$ events in the $Z$ boson mass region ($66<M_{ee}<116$ GeV/c$^2$) produced in $p\bar{p}$ collisions at $\sqrt{s}=1.96$ TeV with 2.1 fb$^{-1}$ of integrated luminosity.

Source code: CDF_2009_I856131.cc
 1// -*- C++ -*-
 2#include "Rivet/Analysis.hh"
 3#include "Rivet/Projections/FinalState.hh"
 4#include "Rivet/Projections/DileptonFinder.hh"
 5
 6namespace Rivet {
 7
 8
 9  /// @brief CDF Z boson rapidity measurement
10  class CDF_2009_I856131 : public Analysis {
11  public:
12
13    /// Constructor
14    RIVET_DEFAULT_ANALYSIS_CTOR(CDF_2009_I856131);
15
16
17    /// @name Analysis methods
18    /// @{
19
20    /// Book histograms and initialise projections before the run
21    void init() {
22
23      /// Initialise and register projections here
24      // this seems to have been corrected completely for all selection cuts,
25      // i.e. eta cuts and pT cuts on leptons.
26      DileptonFinder zfinder(91.2*GeV, 0.2, Cuts::abspid == PID::ELECTRON, Cuts::massIn(66*GeV, 116*GeV));
27      declare(zfinder, "DileptonFinder");
28
29
30      /// Book histograms here
31      book(_h_xs ,1, 1, 1);
32      book(_h_yZ ,2, 1, 1);
33
34    }
35
36
37    /// Perform the per-event analysis
38    void analyze(const Event& event) {
39      const DileptonFinder& zfinder = apply<DileptonFinder>(event, "DileptonFinder");
40      if (zfinder.bosons().size() == 1) {
41        _h_yZ->fill(fabs(zfinder.bosons()[0].rapidity()));
42        _h_xs->fill(1960);
43      } else {
44        MSG_DEBUG("no unique lepton pair found.");
45      }
46
47    }
48
49
50    /// Normalise histograms etc., after the run
51    void finalize() {
52      scale(_h_xs, crossSection()/picobarn/sumOfWeights());
53      // Data seems to have been normalized for the avg of the two sides
54      // (+ve & -ve rapidity) rather than the sum, hence the 0.5:
55      scale(_h_yZ, 0.5*crossSection()/picobarn/sumOfWeights());
56    }
57
58    /// @}
59
60
61  private:
62
63    /// @name Histograms
64    /// @{
65    Histo1DPtr _h_yZ;
66    Histo1DPtr _h_xs;
67    /// @}
68
69  };
70
71
72
73  RIVET_DECLARE_PLUGIN(CDF_2009_I856131);
74
75}