rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

CLEO_1991_I29927

Inclusive $B^*$ cross-section above the $\Upsilon(4S)$
Experiment: CLEO (CESR)
Inspire ID: 29927
Status: VALIDATED NOTREENTRY HEPDATA SINGLEWEIGHT
Authors:
  • Peter Richardson
References:
  • Phys.Rev.Lett. 67 (1991) 1692-1695
Beams: e- e+
Beam energies: (5.3, 5.3); (5.3, 5.3); (5.3, 5.3); (5.3, 5.3); (5.3, 5.3); (5.3, 5.3); (5.3, 5.3) GeV
Run details:
  • e+e- collisions

Measurement of the inclusive cross section for $B^*$ production at energies above the $\Upsilon(4S)$ mass.

Source code: CLEO_1991_I29927.cc
 1// -*- C++ -*-
 2#include "Rivet/Analysis.hh"
 3#include "Rivet/Projections/UnstableParticles.hh"
 4
 5namespace Rivet {
 6
 7
 8  class CLEO_1991_I29927 : public Analysis {
 9  public:
10
11    /// Constructor
12    RIVET_DEFAULT_ANALYSIS_CTOR(CLEO_1991_I29927);
13
14
15    /// @name Analysis methods
16    /// @{
17
18    /// Book histograms and initialise projections before the run
19    void init() {
20
21      // Initialise and register projections
22      declare(UnstableParticles(), "UFS");
23
24      // Book histograms
25      book(_c_B, "/TMP/sigma_B");
26      book(_c_Bstar, "/TMP/sigma_Bstar");
27
28    }
29
30
31    /// Perform the per-event analysis
32    void analyze(const Event& event) {
33      const FinalState& ufs = apply<FinalState>(event, "UFS");
34      unsigned int nBstar(0);
35      // Get Bottom hadrons
36      const Particles bhads = select(ufs.particles(), isBottomHadron);
37      // find the Bstars
38      for (const Particle& p : bhads) {
39        if(abs(p.pid())==513 || abs(p.pid())==523) {
40          if(!p.hasDescendantWith(Cuts::pid == p.pid())) ++nBstar;
41        }
42      }
43      if(!bhads.empty())
44        _c_B->fill();
45      if(nBstar!=0)
46        _c_Bstar->fill(nBstar);
47    }
48
49
50    /// Normalise histograms etc., after the run
51    void finalize() {
52      double fact = crossSection()/ sumOfWeights() /picobarn;
53      for(unsigned int ix=1;ix<3;++ix) {
54        double sig(0.),err(0.);
55        if(ix==1) {
56          sig = _c_B->val()*fact;
57          err = _c_B->err()*fact;
58        }
59        else {
60          sig = _c_Bstar->val()*fact;
61          err = _c_Bstar->err()*fact;
62        }
63        Estimate1DPtr mult;
64        book(mult, ix, 1, 1);
65        for (auto& b : mult->bins()) {
66          if (inRange(sqrtS()/GeV, b.xMid(), b.xMax())) {
67            b.set(sig, err);
68          }
69        }
70      }
71    }
72
73    /// @}
74
75
76    /// @name Histograms
77    /// @{
78    CounterPtr _c_B, _c_Bstar;
79    /// @}
80
81
82  };
83
84
85  RIVET_DECLARE_PLUGIN(CLEO_1991_I29927);
86
87
88}