Rivet is hosted by Hepforge, IPPP Durham

## Rivet analyses reference

### CDF_2012_I1124333

CDF measurement of the Z pT in the electron channel using 2.1 fb-1
Experiment: CDF (Tevatron)
Inspire ID: 1124333
Status: VALIDATED
Authors:
• Simone Amoroso
References:
Beams: p- p+
Beam energies: (980.0, 980.0) GeV
Run details:
• $Z\to ee$ event, a cut on the dilepton invariant mass between 60 and 120 GeV can be added to increase statistics

Measurement of the Z boson pT in the electron channel performed by the CDF experiment, using ppbar at 1960 GeV. A cut on the dielectron invariant mass of $66 GeV < m_{ee} < 116 GeV$ is applied.

Source code: CDF_2012_I1124333.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 // -*- C++ -*- #include "Rivet/Analysis.hh" #include "Rivet/Projections/ZFinder.hh" namespace Rivet { /// @ CDF Run II Z \f$p_\perp \f$ in Drell-Yan events /// @author Simone Amoroso class CDF_2012_I1124333 : public Analysis { public: /// Constructor CDF_2012_I1124333() : Analysis("CDF_2012_I1124333") { } /// @name Analysis methods //@{ /// Book histograms and initialise projections before the run void init() { /// Initialise and register projections here ZFinder zfinder(FinalState(), Cuts::open(), PID::ELECTRON, 66*GeV, 116*GeV, 0.0, ZFinder::NOCLUSTER); declare(zfinder, "ZFinder"); /// Book histograms here, e.g.: // _hist_z_xs = bookHisto1D(1, 1, 1); _hist_zpt = bookHisto1D(2, 1, 1); } /// Perform the per-event analysis void analyze(const Event& event) { const double weight = event.weight(); /// @todo Do the event by event analysis here const ZFinder& zfinder = apply(event, "ZFinder"); if (zfinder.bosons().size() != 1) { MSG_DEBUG("Num e+ e- pairs found = " << zfinder.bosons().size()); vetoEvent; } const FourMomentum& pZ = zfinder.bosons()[0].momentum(); if (pZ.mass2() < 0) { MSG_DEBUG("Negative Z mass**2 = " << pZ.mass2()/GeV2 << "!"); vetoEvent; } MSG_DEBUG("Dilepton mass = " << pZ.mass()/GeV << " GeV"); _hist_zpt->fill(pZ.pT(), weight); // _hist_z_xs->fill(1, weight); } /// Normalise histograms etc., after the run void finalize() { scale(_hist_zpt, crossSection()/picobarn/sumOfWeights()); } //@} private: // Data members like post-cuts event weight counters go here /// @name Histograms //@{ Histo1DPtr _hist_zpt; // Histo1DPtr _hist_z_xs; //@} }; // The hook for the plugin system DECLARE_RIVET_PLUGIN(CDF_2012_I1124333); }