Rivet analyses

Cross section for e+e → KS0KL0 between 1.4 and 2.18 GeV

Experiment: DM1 (DCI)

Inspire ID: 156053

Status: VALIDATED

Authors: - Peter Richardson

References: - Phys.Lett. B99 (1981) 261-264, 1981

Beams: e+ e-

Beam energies: ANY

Run details: - e+ e- to hadrons

Measurement of the cross section for e+e → KS0KL0 at energies between 1.35 and 2.4 GeV

Source code:DM1_1981_I156053.cc

// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/FinalState.hh"

namespace Rivet {


  /// @brief e+ e- > KS0 KL0
  class DM1_1981_I156053 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(DM1_1981_I156053);


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

    /// Book histograms and initialise projections before the run
    void init() {

      // Initialise and register projections
      declare(FinalState(), "FS");

      // Book histograms
      book(_nKSKL, "TMP/nKSKL" , refData(1,1,1));
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      const FinalState& fs = apply<FinalState>(event, "FS");

      map<long,int> nCount;
      int ntotal(0);
      for (const Particle& p : fs.particles()) {
    nCount[p.pid()] += 1;
    ++ntotal;
      }

      if(ntotal==2 && nCount[130]==1 && nCount[310]==1)
    _nKSKL->fill(sqrtS()/GeV);
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      scale(_nKSKL, crossSection()/ sumOfWeights() /nanobarn);
      Estimate1DPtr mult;
      book(mult, 1, 1, 1);
      barchart(_nKSKL,mult);
    }

    /// @}


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


  };


  RIVET_DECLARE_PLUGIN(DM1_1981_I156053);


}