Rivet analyses

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: - Phys.Rev.D 86, 052010 (2012) - arXiv: 1207.7138 - DOI: 10.1103/PhysRevD.86.052010

Beams: p- p+

Beam energies: (980.0, 980.0)GeV

Run details: - Z → 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 66GeV < mee < 116GeV is applied.

Source code:CDF_2012_I1124333.cc

// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/DileptonFinder.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
    RIVET_DEFAULT_ANALYSIS_CTOR(CDF_2012_I1124333);


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

    /// Book histograms and initialise projections before the run
    void init() {

      ///  Initialise and register projections
      DileptonFinder zfinder(91.2*GeV, 0.0, Cuts::abspid == PID::ELECTRON, Cuts::massIn(66*GeV, 116*GeV));
      declare(zfinder, "DileptonFinder");

      ///  Book histograms
      book(_hist_zpt, 2, 1, 1);
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      const DileptonFinder& zfinder = apply<DileptonFinder>(event, "DileptonFinder");
      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());
      //      _hist_z_xs->fill(1);
    }


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

    /// @}


  private:

    /// @name Histograms
    /// @{
    Histo1DPtr _hist_zpt;
    //    Histo1DPtr _hist_z_xs;
    /// @}

  };


  RIVET_DECLARE_PLUGIN(CDF_2012_I1124333);

}