Rivet analyses
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.
Source
code:MARKI_1982_I169326.cc
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/ChargedFinalState.hh"
namespace Rivet {
/// @brief Charged multiplicity
class MARKI_1982_I169326 : public Analysis {
public:
/// Constructor
RIVET_DEFAULT_ANALYSIS_CTOR(MARKI_1982_I169326);
/// @name Analysis methods
/// @{
/// Book histograms and initialise projections before the run
void init() {
// Initialise and register projections
declare(ChargedFinalState(), "FS");
// Book histograms
book(_nHadrons, 6, 1, 1);
for (const string& en : _nHadrons.binning().edges<0>()) {
const double eval = stod(en)*GeV;
if (isCompatibleWithSqrtS(eval)) {
_sqs = en; break;
}
}
raiseBeamErrorIf(_sqs.empty());
}
/// Perform the per-event analysis
void analyze(const Event& event) {
_nHadrons->fill(_sqs, apply<ChargedFinalState>(event, "FS").particles().size());
}
/// Normalise histograms etc., after the run
void finalize() {}
/// @}
/// @name Histograms
/// @{
BinnedProfilePtr<string> _nHadrons;
string _sqs = "";
/// @}
};
RIVET_DECLARE_PLUGIN(MARKI_1982_I169326);
}