rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

CLEOII_1999_I478217

Spectra for $\Xi_c^{\prime}$ at 10.58 GeV
Experiment: CLEOII (CESR)
Inspire ID: 478217
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Rev.Lett. 82 (1999) 492-496
Beams: e+ e-
Beam energies: (5.3, 5.3) GeV
Run details:
  • e+e- to hadrons

Spectrum for the average of $\Xi_c^{\prime0}$ and $\Xi_c^{\prime+}$ produced at 10.58 GeV measured by CLEOII.

Source code: CLEOII_1999_I478217.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_c' spectrum
10  class CLEOII_1999_I478217 : public Analysis {
11  public:
12
13    /// Constructor
14    RIVET_DEFAULT_ANALYSIS_CTOR(CLEOII_1999_I478217);
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,1,1,1);
27    }
28
29
30    /// Perform the per-event analysis
31    void analyze(const Event& event) {
32      // Get beams and average beam momentum
33      const ParticlePair& beams = apply<Beam>(event, "Beams").beams();
34      const double Emax = ( beams.first.p3().mod() + beams.second.p3().mod() ) / 2.0;
35      const double Pmax = sqrt(sqr(Emax)-sqr(2.578));
36      const UnstableParticles& ufs = apply<UnstableParticles>(event, "UFS");
37      for (const Particle& p : ufs.particles(Cuts::abspid==4312 or Cuts::abspid==4322)) {
38	double xp = p.momentum().p3().mod()/Pmax;
39        _h_Xi_c->fill(xp);
40      }
41    }
42
43
44    /// Normalise histograms etc., after the run
45    void finalize() {
46      normalize(_h_Xi_c);
47    }
48
49    ///@}
50
51
52    /// @name Histograms
53    ///@{
54    Histo1DPtr _h_Xi_c;
55    ///@}
56
57
58  };
59
60
61  RIVET_DECLARE_PLUGIN(CLEOII_1999_I478217);
62
63}