Rivet Analyses Reference

D0_2000_S4480767

Transverse momentum of the W boson
Experiment: D0 (Tevatron Run 1)
Inspire ID: 535017
Status: VALIDATED
Authors:
  • Frank Siegert
References:Beams: p- p+
Beam energies: (900.0, 900.0) GeV
Run details:
  • Production of W+ and W- decaying into the electron channel.

Measurement of the differential cross section for W boson production as a function of its transverse momentum. The data were collected by the D0 experiment at the Fermilab Tevatron Collider during 1994-1995 and correspond to an integrated luminosity of 85 pb$^{-1}$.

Source code: D0_2000_S4480767.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
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/FinalState.hh"
#include "Rivet/Projections/WFinder.hh"

namespace Rivet {


  class D0_2000_S4480767 : public Analysis {
  public:

    RIVET_DEFAULT_ANALYSIS_CTOR(D0_2000_S4480767);


    /// @name Analysis methods
    /// @{

    /// Book histograms and initialise projections before the run
    void init() {
      FinalState fs;
      WFinder wf(fs, Cuts::abseta < 5, PID::ELECTRON, 0.0*GeV, 200.0*GeV, 0.0*GeV, 0.2);
      declare(wf, "WFinder");

      book(_h_W_pT ,1, 1, 1);
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      const WFinder& wf = apply<WFinder>(event, "WFinder");
      if (wf.bosons().size() == 0) vetoEvent;

      _h_W_pT->fill(wf.bosons()[0].pT()/GeV);
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      scale(_h_W_pT, crossSection()/sumOfWeights());
    }

    /// @}


  private:

    /// Histogram
    Histo1DPtr _h_W_pT;

  };



  RIVET_DECLARE_ALIASED_PLUGIN(D0_2000_S4480767, D0_2000_I535017);

}