Rivet analyses

Cross section for e+e proton and antiproton between 1.877 and 3 GeV

Experiment: BESIII (BEPC)

Inspire ID: 1847766

Status: VALIDATED

Authors: - Peter Richardson

References: - arXiv: 2102.10337

Beams: e+ e-

Beam energies: ANY

Run details: - e+ e- to hadrons

Measurement of the cross section for e+e → p for energies between 1.877 and 3 GeV using initial-state radiation by the BESIII collaboration.

Source code:BESIII_2021_I1847766.cc

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

namespace Rivet {


  /// @brief Add a short analysis description here
  class BESIII_2021_I1847766 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(BESIII_2021_I1847766);


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

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

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

      // Book histograms
      book(_nproton, "TMP/proton", refData(1,1,1));
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      const FinalState& fs = apply<FinalState>(event, "FS");
      if(fs.particles().size()!=2) vetoEvent;
      for (const Particle& p : fs.particles()) {
    if(abs(p.pid())!=PID::PROTON) vetoEvent;
      }
      _nproton->fill(sqrtS()/GeV);
    }


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

    ///@}


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


  };


  RIVET_DECLARE_PLUGIN(BESIII_2021_I1847766);

}