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
 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
56
57
58
59
60
61
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/UnstableParticles.hh"

namespace Rivet {


  /// @brief Sigma_c 0,++ spectrum
  class ARGUS_1988_I261672 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(ARGUS_1988_I261672);


    /// @name Analysis methods
    //@{

    /// Book histograms and initialise projections before the run
    void init() {

      // Initialise and register projections
      declare(UnstableParticles(), "UFS");

      // Book histograms
      book(_h_x, 1, 1, 1);

    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      for(const Particle& p : apply<UnstableParticles>(event, "UFS").particles(Cuts::abspid==4112 or Cuts::abspid==4222)) {
	const double xp = 2.*p.p3().mod()/sqrtS();
	_h_x->fill(xp);
      }
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      normalize(_h_x);
    }

    //@}


    /// @name Histograms
    //@{
    Histo1DPtr _h_x;
    //@}


  };


  // The hook for the plugin system
  RIVET_DECLARE_PLUGIN(ARGUS_1988_I261672);


}