rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

DM2_1991_I318558

Cross section for $e^+e^-\to$ $K^+K^-\pi^0$ and $K^0_SK^\pm\pi^\mp$ for energies from 1.3 to 2.2 GeV
Experiment: DM2 (DCI)
Inspire ID: 318558
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Z.Phys. C52 (1991) 227-230, 1991
Beams: e+ e-
Beam energies: ANY
Run details:
  • e+e- to hadrons

Measurement of the cross section for $e^+e^-\to$ $K^+K^-\pi^0$ and $K^0_SK^\pm\pi^\mp$ for energies from 1.3 to 2.2 GeV.

Source code: DM2_1991_I318558.cc
 1// -*- C++ -*-
 2#include "Rivet/Analysis.hh"
 3#include "Rivet/Projections/FinalState.hh"
 4
 5namespace Rivet {
 6
 7
 8  /// @brief e+e- -> K+K-pi0 and KS0 K+-pi-+
 9  class DM2_1991_I318558 : public Analysis {
10  public:
11
12    /// Constructor
13    RIVET_DEFAULT_ANALYSIS_CTOR(DM2_1991_I318558);
14
15
16    /// @name Analysis methods
17    /// @{
18
19    /// Book histograms and initialise projections before the run
20    void init() {
21
22      // Initialise and register projections
23      declare(FinalState(), "FS");
24      // Book histograms
25      for (unsigned int ix=0;ix<2;++ix) {
26        book(_nMeson[ix], ix+1, 1, 1);
27      }
28    }
29
30
31    /// Perform the per-event analysis
32    void analyze(const Event& event) {
33      const FinalState& fs = apply<FinalState>(event, "FS");
34
35      map<long,int> nCount;
36      int ntotal(0);
37      for (const Particle& p : fs.particles()) {
38	nCount[p.pid()] += 1;
39	++ntotal;
40      }
41      if(ntotal!=3) vetoEvent;
42      if(nCount[310]==1 &&
43	 ((nCount[ 211]==1&&nCount[-321]==1)||
44	  (nCount[-211]==1&&nCount[ 321]==1)))
45	 _nMeson[0]->fill(round(sqrtS()/MeV));
46      else if(nCount[321]==1 &&
47	      nCount[-321]==1 && nCount[111]==1)
48        _nMeson[1]->fill(round(sqrtS()/MeV));
49    }
50
51
52    /// Normalise histograms etc., after the run
53    void finalize() {
54      for (unsigned int ix=0;ix<2;++ix) {
55        scale(_nMeson[ix], crossSection()/ sumOfWeights() /nanobarn);
56      }
57    }
58
59    /// @}
60
61
62    /// @name Histograms
63    /// @{
64    BinnedHistoPtr<int> _nMeson[2];
65    /// @}
66
67
68  };
69
70
71  RIVET_DECLARE_PLUGIN(DM2_1991_I318558);
72
73
74}