Rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

JADE_1983_I190818

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
 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
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/ChargedFinalState.hh"

namespace Rivet {


  /// @brief Add a short analysis description here
  class JADE_1983_I190818 : public Analysis {
  public:

    /// Constructor
    DEFAULT_RIVET_ANALYSIS_CTOR(JADE_1983_I190818);


    /// @name Analysis methods
    //@{

    /// Book histograms and initialise projections before the run
    void init() {
      const ChargedFinalState cfs;
      declare(cfs, "CFS");
      if( !(fuzzyEquals(sqrtS()/GeV,12.0) ||
	    fuzzyEquals(sqrtS()/GeV,30.0) ||
	    fuzzyEquals(sqrtS()/GeV,35.0) )) {
        MSG_WARNING("CoM energy of events sqrt(s) = " << sqrtS()/GeV
                    << " doesn't match any available analysis energy .");
      }
      _hist = bookProfile1D(1, 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());
      _hist->fill(sqrtS(),cfs.size(),event.weight());
    }


    /// Normalise histograms etc., after the run
    void finalize() {}
    //@}

  private:

    // Histogram
    Profile1DPtr _hist;

  };

  // The hook for the plugin system
  DECLARE_RIVET_PLUGIN(JADE_1983_I190818);

}