rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

JADE_1984_I221004

Spectrum for $D^{*0}$ production in $e^+e^-$ collisions at $E_{\text{CMS}}=34.4$
Experiment: JADE (Petra)
Inspire ID: 221004
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Lett.B 161 (1985) 197
Beams: e+ e-
Beam energies: (17.2, 17.2) GeV
Run details:
  • e+ e- to hadrons

Measurement of the spectrum for $D^{*0}$ production in $e^+e^-$ collisions at $E_{\text{CMS}}=34.4$ by the JADE experiment. The data were taken from the HEPDAta identifed particle spectra review, with the branching ratio renormalised the PDG 2020 value.

Source code: JADE_1984_I221004.cc
 1// -*- C++ -*-
 2#include "Rivet/Analysis.hh"
 3#include "Rivet/Projections/UnstableParticles.hh"
 4
 5namespace Rivet {
 6
 7
 8  /// @brief D*0 production at 34.4 GeV
 9  class JADE_1984_I221004 : public Analysis {
10  public:
11
12    /// Constructor
13    RIVET_DEFAULT_ANALYSIS_CTOR(JADE_1984_I221004);
14
15
16    /// @name Analysis methods
17    ///@{
18
19    /// Book histograms and initialise projections before the run
20    void init() {
21      declare(UnstableParticles(), "UFS");
22      // Book histograms
23      book(_h_x    , 1, 1, 1);
24    }
25
26
27    /// Perform the per-event analysis
28    void analyze(const Event& event) {
29      const UnstableParticles& ufs = apply<UnstableParticles>(event, "UFS");
30      for (const Particle& p : ufs.particles(Cuts::abspid==423)) {
31	double xE =2.*p.E()/sqrtS();
32	_h_x->fill(xE);
33      }
34    }
35
36
37    /// Normalise histograms etc., after the run
38    void finalize() {
39      scale(_h_x, crossSection()/microbarn/sumOfWeights()*sqr(sqrtS()));
40    }
41
42    ///@}
43
44
45    /// @name Histograms
46    ///@{
47    Histo1DPtr _h_x;
48    ///@}
49
50
51  };
52
53
54  RIVET_DECLARE_PLUGIN(JADE_1984_I221004);
55
56}