rivet is hosted by Hepforge, IPPP Durham

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 57 58 59 60 61 62 63 64 // -*- C++ -*- #include "Rivet/Analysis.hh" #include "Rivet/Projections/FinalState.hh" #include "Rivet/Projections/WFinder.hh" namespace Rivet { class D0_2000_S4480767 : public Analysis { public: /// Constructor D0_2000_S4480767() : Analysis("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(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: /// @name Histograms //@{ Histo1DPtr _h_W_pT; //@} }; // The hook for the plugin system DECLARE_RIVET_PLUGIN(D0_2000_S4480767); }