rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

BABAR_2013_I1247460

Semi-leptonic $B^+\to\omega\ell^+\nu_\ell$
Experiment: BABAR (PEP-II)
Inspire ID: 1247460
Status: VALIDATED NOHEPDATA
Authors:
  • Peter Richardson
References:
  • Phys.Rev.D 88 (2013) 7, 072006
Beams: * *
Beam energies: ANY
Run details:
  • Any process producing B+ -> omega l+ nu_l, original e+e->Upsilon(4S)

Implementation of Lorentz invariant $q^2$ distributions ("form factor") for semileptonic $B^+$ decays, uses the same dataset as BABAR_2013_I1116411 but different technique to extract the semi-leptonic decays.

Source code: BABAR_2013_I1247460.cc
 1// -*- C++ -*-
 2#include "Rivet/Analysis.hh"
 3#include "Rivet/Projections/UnstableParticles.hh"
 4
 5namespace Rivet {
 6
 7
 8  /// @brief B+ -> omega l+ nu_l
 9  class BABAR_2013_I1247460 : public Analysis {
10  public:
11
12    /// Constructor
13    RIVET_DEFAULT_ANALYSIS_CTOR(BABAR_2013_I1247460);
14
15
16    /// @name Analysis methods
17    /// @{
18
19    /// Book histograms and initialise projections before the run
20    void init() {
21
22      // Initialise and register projections
23      declare(UnstableParticles(Cuts::pid==PID::BPLUS), "UFS");
24
25      // Book histograms
26      book(_h_q2 ,1, 1, 1);
27      book(_nB,"TMP/nB");
28    }
29
30    // Calculate the Q2 using mother and daughter charged lepton
31    double q2(const Particle& B, int mesonID) {
32      FourMomentum q = B.mom() - select(B.children(), Cuts::pid==mesonID)[0];
33      return q*q;
34    }
35
36    // Check for explicit decay into pdgids
37    bool isSemileptonicDecay(const Particle& mother, vector<int> ids) {
38      // Trivial check to ignore any other decays but the one in question modulo photons
39      const Particles children = mother.children(Cuts::pid!=PID::PHOTON);
40      if (children.size()!=ids.size()) return false;
41      // Check for the explicit decay
42      return all(ids, [&](int i){return count(children, hasPID(i))==1;});
43    }
44
45    /// Perform the per-event analysis
46    void analyze(const Event& event) {
47      // Get B+ Mesons
48      for(const Particle& p : apply<UnstableParticles>(event, "UFS").particles()) {
49	_nB->fill();
50        if (isSemileptonicDecay(p, {PID::OMEGA, PID::POSITRON, PID::NU_E}) ||
51            isSemileptonicDecay(p, {PID::OMEGA, PID::ANTIMUON, PID::NU_MU})) {
52	  _h_q2->fill(q2(p,PID::OMEGA));
53        }
54      }
55    }
56
57
58    /// Normalise histograms etc., after the run
59    void finalize() {
60      // BR in units of 10^{-5}
61      scale(_h_q2,1e5/ *_nB);
62    }
63
64    /// @}
65
66
67    /// @name Histograms
68    /// @{
69    CounterPtr _nB;
70    Histo1DPtr _h_q2;
71    /// @}
72
73
74  };
75
76
77  RIVET_DECLARE_PLUGIN(BABAR_2013_I1247460);
78
79}