rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

ARGUS_1988_I261672

Spectrum for $\Sigma_c^{0,++}$ production in $e^+e^-$ at 10 GeV in the continuum
Experiment: ARGUS (DORIS)
Inspire ID: 261672
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Lett. B211 (1988) 489-492
Beams: e- e+
Beam energies: (5.0, 5.0) GeV
Run details:
  • $e^+ e^-$ analysis near the $\Upsilon$ resonances

Measurement of the $\Sigma_c^{0,++}$ spectrum in $e^+e^-$ collisions at 10 GeV.

Source code: ARGUS_1988_I261672.cc
 1// -*- C++ -*-
 2#include "Rivet/Analysis.hh"
 3#include "Rivet/Projections/UnstableParticles.hh"
 4
 5namespace Rivet {
 6
 7
 8  /// @brief Sigma_c 0,++ spectrum
 9  class ARGUS_1988_I261672 : public Analysis {
10  public:
11
12    /// Constructor
13    RIVET_DEFAULT_ANALYSIS_CTOR(ARGUS_1988_I261672);
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(UnstableParticles(), "UFS");
24
25      // Book histograms
26      book(_h_x, 1, 1, 1);
27
28    }
29
30
31    /// Perform the per-event analysis
32    void analyze(const Event& event) {
33      for(const Particle& p : apply<UnstableParticles>(event, "UFS").particles(Cuts::abspid==4112 or Cuts::abspid==4222)) {
34	const double xp = 2.*p.p3().mod()/sqrtS();
35	_h_x->fill(xp);
36      }
37    }
38
39
40    /// Normalise histograms etc., after the run
41    void finalize() {
42      normalize(_h_x);
43    }
44
45    /// @}
46
47
48    /// @name Histograms
49    /// @{
50    Histo1DPtr _h_x;
51    /// @}
52
53
54  };
55
56
57  RIVET_DECLARE_PLUGIN(ARGUS_1988_I261672);
58
59
60}