rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

CLEOII_1999_I501417

Spectra for $\Xi_c(2815)^{+,0}$ at 10.58 GeV
Experiment: CLEOII (CESR)
Inspire ID: 501417
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Rev.Lett. 83 (1999) 3390-3393
Beams: e+ e-
Beam energies: (5.3, 5.3) GeV
Run details:
  • e+e- to hadrons

Spectrum for the average of $\Xi_c^{0}(2815)$ and $\Xi_c^{+}(2815)$ produced at 10.58 GeV measured by CLEOII.

Source code: CLEOII_1999_I501417.cc
 1// -*- C++ -*-
 2#include "Rivet/Analysis.hh"
 3#include "Rivet/Projections/Beam.hh"
 4#include "Rivet/Projections/UnstableParticles.hh"
 5
 6namespace Rivet {
 7
 8
 9  /// @brief Xi_c1 spectra
10  class CLEOII_1999_I501417 : public Analysis {
11  public:
12
13    /// Constructor
14    RIVET_DEFAULT_ANALYSIS_CTOR(CLEOII_1999_I501417);
15
16
17    /// @name Analysis methods
18    /// @{
19
20    /// Book histograms and initialise projections before the run
21    void init() {
22      // projections
23      declare(Beam(), "Beams");
24      declare(UnstableParticles(), "UFS");
25      // book histos
26      book(_h_Xi_c,2,1,1);
27    }
28
29
30    /// Perform the per-event analysis
31    void analyze(const Event& event) {
32      static const int id0 = 14314, idp=14324;
33      // Get beams and average beam momentum
34      const ParticlePair& beams = apply<Beam>(event, "Beams").beams();
35      const double Emax = ( beams.first.p3().mod() + beams.second.p3().mod() ) / 2.0;
36      const double Pmax = sqrt(sqr(Emax)-sqr(2.815));
37      const UnstableParticles& ufs = apply<UnstableParticles>(event, "UFS");
38      for (const Particle& p : ufs.particles(Cuts::abspid==id0 or Cuts::abspid==idp)) {
39	double xp = p.momentum().p3().mod()/Pmax;
40        _h_Xi_c->fill(xp);
41      }
42    }
43
44
45    /// Normalise histograms etc., after the run
46    void finalize() {
47      normalize(_h_Xi_c);
48    }
49
50    /// @}
51
52
53    /// @name Histograms
54    /// @{
55    Histo1DPtr _h_Xi_c;
56    /// @}
57
58
59  };
60
61
62  RIVET_DECLARE_PLUGIN(CLEOII_1999_I501417);
63
64}