Rivet Analyses Reference
MARKII_1988_I261194
$\eta$ production at 29 GeV
Experiment: MARKII (PEP)
Inspire ID: 261194
Status: VALIDATED
Authors:References:- Phys.Rev.Lett. 61 (1988) 1057
Beams: e+ e-
Beam energies: (14.5, 14.5) GeV
Run details:- e+ e- to hadrons at 29 GeV
Rate and spectrum for $\eta$ meson production at 29 GeV measured by the MARKII collaboration.
Source code:
MARKII_1988_I261194.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
| // -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/UnstableParticles.hh"
namespace Rivet {
/// @brief eta production at 29 GeV
class MARKII_1988_I261194 : public Analysis {
public:
/// Constructor
RIVET_DEFAULT_ANALYSIS_CTOR(MARKII_1988_I261194);
/// @name Analysis methods
///@{
/// Book histograms and initialise projections before the run
void init() {
// Initialise and register projections
declare(UnstableParticles(), "UFS");
//Histograms
book(_h_spect,1,1,1);
}
/// Perform the per-event analysis
void analyze(const Event& event) {
const UnstableParticles& ufs = apply<UnstableParticles>(event, "UFS");
for (const Particle& p : ufs.particles(Cuts::abspid==221)) {
const double xp = 2.*p.E()/sqrtS();
const double beta = p.p3().mod() / p.E();
_h_spect->fill(xp,1./beta);
}
}
/// Normalise histograms etc., after the run
void finalize() {
scale(_h_spect, sqr(sqrtS())*crossSection()/microbarn/sumOfWeights());
}
///@}
/// @name Histograms
///@{
Histo1DPtr _h_spect;
///@}
};
RIVET_DECLARE_PLUGIN(MARKII_1988_I261194);
}
|