rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

PLUTO_1977_I118873

$K^0$ spectra at $3.63$, $4.03$ and $4.5$ GeV
Experiment: PLUTO (DORIS)
Inspire ID: 118873
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Lett. B104 (1981) 79-83, 1981
Beams: e- e+
Beam energies: (1.8, 1.8); (2.0, 2.0); (2.2, 2.2) GeV
Run details:
  • e+ e- to hadrons and e+ e- to mu+ mu- (for normalization)

The spectra for $K^0$ production at $3.63$, $4.03$ and $4.5$ GeV measured by the PLUTO experiment. The energy dependent cross section is not included as it is implemented in PLUTO_1981_I165122.

Source code: PLUTO_1977_I118873.cc
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/Beam.hh"
#include "Rivet/Projections/UnstableParticles.hh"

namespace Rivet {


  /// @brief Kaon spectra at 3.63, 4.03 and 4.5 GeV
  class PLUTO_1977_I118873 : public Analysis {
  public:

    /// Constructor
    DEFAULT_RIVET_ANALYSIS_CTOR(PLUTO_1977_I118873);


    /// @name Analysis methods
    //@{

    /// Book histograms and initialise projections before the run
    void init() {
      declare(Beam(), "Beams");
      declare(UnstableParticles(), "UFS");
      
      if      (fuzzyEquals(sqrtS()/GeV, 3.63, 1E-3)) {
	book(_h_spectrum, 2, 1, 1);
      }
      else if (fuzzyEquals(sqrtS()/GeV, 4.03, 1E-3)) {
	book(_h_spectrum, 3, 1, 1);
      }
      else if (fuzzyEquals(sqrtS()/GeV, 4.5, 1E-3)) {
	book(_h_spectrum, 4, 1, 1);
      }
      else
	MSG_ERROR("Beam energy not supported!");
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      // Get beams and average beam momentum
      const ParticlePair& beams = apply<Beam>(event, "Beams").beams();
      const double meanBeamMom = ( beams.first.p3().mod() +
                                   beams.second.p3().mod() ) / 2.0;
      MSG_DEBUG("Avg beam momentum = " << meanBeamMom);
      // unstable particles
      for (const Particle& p : apply<UnstableParticles>(event, "UFS").
	       particles(Cuts::pid==PID::K0S)) {
	double xp = p.E()/meanBeamMom;
	double beta = p.p3().mod()/p.E();
	_h_spectrum->fill(xp,1./beta);
      }
    }


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

    //@}


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


  };


  // The hook for the plugin system
  DECLARE_RIVET_PLUGIN(PLUTO_1977_I118873);


}