Rivet analyses

Hadronic charged multiplicity measurement between 12 and 35 GeV

Experiment: JADE (PETRA)

Inspire ID: 190818

Status: VALIDATED

Authors: - Peter Richardson

References: - Z.Phys. C20 (1983) 187

Beams: e+ e-

Beam energies: (6.0, 6.0); (15.0, 15.0); (17.5, 17.5)GeV

Run details: - Hadronic e+ e- events generated below the Z pole.

The charged particle multiplicity distribution of hadronic e+e events as measured between 12 and 35 GeV using the JADE detector at PETRA.’

Source code:JADE_1983_I190818.cc

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

namespace Rivet {


  /// @brief Average multiplcity at a range of energies
  class JADE_1983_I190818 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(JADE_1983_I190818);


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

    /// Book histograms and initialise projections before the run
    void init() {
      const ChargedFinalState cfs;
      declare(cfs, "CFS");
      book(_mult, 1, 1, 1);
      for (int en : _mult.binning().edges<0>()) {
        if (isCompatibleWithSqrtS(double(en))) {
          _sqs = en; break;
        }
      }
      raiseBeamErrorIf(_sqs < 0);
    }


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

    /// @}

  private:

    // Histogram
    BinnedProfilePtr<int> _mult;
    int _sqs = -1;

  };

  RIVET_DECLARE_PLUGIN(JADE_1983_I190818);
}