Rivet analyses

Ds± spectra at 34.7 GeV

Experiment: TASSO (PETRA)

Inspire ID: 194774

Status: VALIDATED

Authors: - Peter Richardson

References: - Phys.Lett.B 136 (1984) 130-134, 1984

Beams: e+ e-

Beam energies: (17.4, 17.4)GeV

Run details: - e+ e- to hadrons

Measurement of the Ds± spectra at 34.7 GeV by the TASSO experiment, the PDG2020 value of Ds+ → ϕπ+ branching ratio is used.

Source code:TASSO_1984_I194774.cc

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

namespace Rivet {


  /// @brief D_s spectrum at 34.7
  class TASSO_1984_I194774 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(TASSO_1984_I194774);


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

    /// Book histograms and initialise projections before the run
    void init() {
      declare(UnstableParticles(), "UFS");
      book(_h_Ds, 1, 1, 1);
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      UnstableParticles ufs = apply<UnstableParticles>(event,"UFS");
      for(const Particle & p : ufs.particles(Cuts::abspid==431)) {
        double xE = 2.*p.E()/sqrtS();
        Vector3 mom3 = p.p3();
        const double energy = p.E();
        double modp = mom3.mod();
        double beta = modp/energy;
        _h_Ds ->fill(xE,1./beta);
      }
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      scale( _h_Ds , sqr(sqrtS())*crossSection()/nanobarn/sumOfWeights());
    }

    ///@}


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


  };


  RIVET_DECLARE_PLUGIN(TASSO_1984_I194774);

}