Rivet analyses

Hadronic Z decay charged multiplicity measurement

Experiment: DELPHI (LEP 1)

Inspire ID: 301657

Status: VALIDATED

Authors: - Peter Richardson

References: - Z.Phys. C50 (1991) 185-194

Beams: e+ e-

Beam energies: (45.6, 45.6)GeV

Run details: - Hadronic Z decay events generated on the Z pole ($\sqrt{s} = 91.2$ GeV)

The charged particle multiplicity distribution of hadronic Z decays, as measured on the peak of the Z resonance using the DELPHI detector at LEP.

Source code:DELPHI_1991_I301657.cc

// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/ChargedFinalState.hh"

namespace Rivet {


  /// @brief DELPHI LEP1 charged multiplicity, code basically a copy of the ALEPH one
  /// @author Peter Richardson
  class DELPHI_1991_I301657 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(DELPHI_1991_I301657);


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

    /// Book histograms and initialise projections before the run
    void init() {
      const ChargedFinalState cfs;
      declare(cfs, "CFS");

      book(_histChTot, 2, 1, 1);
      book(_histAver , 4, 1, 1);
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      const FinalState& cfs = apply<FinalState>(event, "CFS");
      MSG_DEBUG("Total charged multiplicity = " << cfs.size());
      _histChTot->fill(cfs.size());
      _histAver->fill(sqrtS(),cfs.size());
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      scale(_histChTot, 100.0/sumOfWeights()); // %age (100)
    }

    /// @}


  private:

    /// @name Histograms
    /// @{
    BinnedHistoPtr<int> _histChTot;
    Profile1DPtr _histAver;
    /// @}


  };


  RIVET_DECLARE_PLUGIN(DELPHI_1991_I301657);


}