rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

MARKI_1982_I169326

Charged particle multiplicity for energies between 2.6 and 7.8 GeV
Experiment: MARKI (SPEAR)
Inspire ID: 169326
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Rev. D26 (1982) 969, 1982
Beams: e- e+
Beam energies: (1.3, 1.3); (1.4, 1.4); (1.5, 1.5); (1.6, 1.6); (1.6, 1.6); (1.6, 1.6); (1.7, 1.7); (1.7, 1.7); (1.8, 1.8); (1.8, 1.8); (1.8, 1.8); (1.8, 1.8); (1.9, 1.9); (1.9, 1.9); (1.9, 1.9); (1.9, 1.9); (2.0, 2.0); (2.0, 2.0); (2.0, 2.0); (2.0, 2.0); (2.1, 2.1); (2.1, 2.1); (2.1, 2.1); (2.1, 2.1); (2.2, 2.2); (2.2, 2.2); (2.2, 2.2); (2.2, 2.2); (2.3, 2.3); (2.3, 2.3); (2.3, 2.3); (2.4, 2.4); (2.4, 2.4); (2.5, 2.5); (2.5, 2.5); (2.6, 2.6); (2.6, 2.6); (2.7, 2.7); (2.8, 2.8); (2.8, 2.8); (2.9, 2.9); (2.9, 2.9); (2.9, 2.9); (2.9, 2.9); (3.0, 3.0); (3.0, 3.0); (3.0, 3.0); (3.0, 3.0); (3.0, 3.0); (3.1, 3.1); (3.1, 3.1); (3.1, 3.1); (3.1, 3.1); (3.2, 3.2); (3.2, 3.2); (3.2, 3.2); (3.2, 3.2); (3.3, 3.3); (3.3, 3.3); (3.3, 3.3); (3.4, 3.4); (3.4, 3.4); (3.4, 3.4); (3.4, 3.4); (3.5, 3.5); (3.5, 3.5); (3.5, 3.5); (3.5, 3.5); (3.5, 3.5); (3.6, 3.6); (3.6, 3.6); (3.6, 3.6); (3.6, 3.6); (3.7, 3.7); (3.7, 3.7); (3.7, 3.7); (3.8, 3.8); (3.9, 3.9) GeV
Run details:
  • e+e- to hadrons

Charged particle multiplicity for energies between 2.6 and 7.8 GeV. Beam energy must be specified as analysis option "ENERGY" when rivet-merging samples.

Source code: MARKI_1982_I169326.cc
 1// -*- C++ -*-
 2#include "Rivet/Analysis.hh"
 3#include "Rivet/Projections/ChargedFinalState.hh"
 4
 5namespace Rivet {
 6
 7
 8  /// @brief Charged multiplicity
 9  class MARKI_1982_I169326 : public Analysis {
10  public:
11
12    /// Constructor
13    RIVET_DEFAULT_ANALYSIS_CTOR(MARKI_1982_I169326);
14
15
16    /// @name Analysis methods
17    /// @{
18
19    /// Book histograms and initialise projections before the run
20    void init() {
21
22      // Initialise and register projections
23      declare(ChargedFinalState(), "FS");
24
25      // Book histograms
26      book(_nHadrons, 6, 1, 1);
27      for (const string& en : _nHadrons.binning().edges<0>()) {
28        const double end = std::stod(en)*GeV;
29        if (isCompatibleWithSqrtS(end)) {
30          _ecms = en;
31          break;
32        }
33      }
34      if(_ecms.empty()) MSG_ERROR("Beam energy incompatible with analysis.");
35    }
36
37
38    /// Perform the per-event analysis
39    void analyze(const Event& event) {
40      const ChargedFinalState& fs = apply<ChargedFinalState>(event, "FS");
41      _nHadrons->fill(_ecms,fs.particles().size());
42    }
43
44
45    /// Normalise histograms etc., after the run
46    void finalize() {}
47    /// @}
48
49
50    /// @name Histograms
51    /// @{
52    BinnedProfilePtr<string> _nHadrons;
53    string _ecms;
54    /// @}
55
56
57  };
58
59
60  RIVET_DECLARE_PLUGIN(MARKI_1982_I169326);
61
62
63}