Rivet analyses


title: 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

```c++ // -- C++ --

include "Rivet/Analysis.hh"

include "Rivet/Projections/UnstableParticles.hh"

namespace Rivet {

/// @brief D*0 production at 34.4 GeV class JADE_1984_I221004 : public Analysis { public:

/// Constructor
RIVET_DEFAULT_ANALYSIS_CTOR(JADE_1984_I221004);


/// @name Analysis methods
///@{

/// Book histograms and initialise projections before the run
void init() {
  declare(UnstableParticles(), "UFS");
  // Book histograms
  book(_h_x, 1, 1, 1);
}


/// Perform the per-event analysis
void analyze(const Event& event) {
  const UnstableParticles& ufs = apply<UnstableParticles>(event, "UFS");
  for (const Particle& p : ufs.particles(Cuts::abspid == 423)) {
    double xE = 2. * p.E() / sqrtS();
    _h_x->fill(xE);
  }
}


/// Normalise histograms etc., after the run
void finalize() {
  scale(_h_x, crossSection() / microbarn / sumOfWeights() * sqr(sqrtS()));
}

///@}


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

};

RIVET_DECLARE_PLUGIN(JADE_1984_I221004);

} ```