Rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

ARGUS_1993_S2789213

Inclusive production of $K^*(892)$, $\rho^0(770)$, and $\omega(783)$ mesons in the upsilon energy region.
Experiment: ()
Inspire ID: 356616
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Z.Phys. C61 (1994) 1-18
Beams: e+ e-
Beam energies: (4.7, 4.7); (5.2, 5.2); (5.3, 5.3) GeV
Run details:
  • $e^+ e^-$ analysis in the 10 GeV CMS energy range

Measurement of the inclusive production of the vector mesons $K^*(892)$, $\rho^0(770)$ and $\omega(783)$ in $e^+e^-$ annihilation in the Upsilon region by the Argus Collaboration. Useful for tuning simulations of B meson and bottomium decays.

Source code: ARGUS_1993_S2789213.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
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/UnstableFinalState.hh"

namespace Rivet {


  /// @brief ARGUS vector meson production
  /// @author Peter Richardson
  class ARGUS_1993_S2789213 : public Analysis {
  public:

    ARGUS_1993_S2789213()
      : Analysis("ARGUS_1993_S2789213"),
        _weightSum_cont(0.),_weightSum_Ups1(0.),_weightSum_Ups4(0.)
    { }


    void init() {
      declare(UnstableFinalState(), "UFS");

      _mult_cont_Omega     = bookHisto1D( 1, 1, 1);
      _mult_cont_Rho0      = bookHisto1D( 1, 1, 2);
      _mult_cont_KStar0    = bookHisto1D( 1, 1, 3);
      _mult_cont_KStarPlus = bookHisto1D( 1, 1, 4);
      _mult_cont_Phi       = bookHisto1D( 1, 1, 5);

      _mult_Ups1_Omega     = bookHisto1D( 2, 1, 1);
      _mult_Ups1_Rho0      = bookHisto1D( 2, 1, 2);
      _mult_Ups1_KStar0    = bookHisto1D( 2, 1, 3);
      _mult_Ups1_KStarPlus = bookHisto1D( 2, 1, 4);
      _mult_Ups1_Phi       = bookHisto1D( 2, 1, 5);

      _mult_Ups4_Omega     = bookHisto1D( 3, 1, 1);
      _mult_Ups4_Rho0      = bookHisto1D( 3, 1, 2);
      _mult_Ups4_KStar0    = bookHisto1D( 3, 1, 3);
      _mult_Ups4_KStarPlus = bookHisto1D( 3, 1, 4);
      _mult_Ups4_Phi       = bookHisto1D( 3, 1, 5);

      _hist_cont_KStarPlus = bookHisto1D( 4, 1, 1);
      _hist_Ups1_KStarPlus = bookHisto1D( 5, 1, 1);
      _hist_Ups4_KStarPlus = bookHisto1D( 6, 1, 1);

      _hist_cont_KStar0    = bookHisto1D( 7, 1, 1);
      _hist_Ups1_KStar0    = bookHisto1D( 8, 1, 1);
      _hist_Ups4_KStar0    = bookHisto1D( 9, 1, 1);

      _hist_cont_Rho0      = bookHisto1D(10, 1, 1);
      _hist_Ups1_Rho0      = bookHisto1D(11, 1, 1);
      _hist_Ups4_Rho0      = bookHisto1D(12, 1, 1);

      _hist_cont_Omega     = bookHisto1D(13, 1, 1);
      _hist_Ups1_Omega     = bookHisto1D(14, 1, 1);
    }


    void analyze(const Event& e) {
      const double weight = e.weight();

      // Find the upsilons
      Particles upsilons;
      // First in unstable final state
      const UnstableFinalState& ufs = apply<UnstableFinalState>(e, "UFS");
      foreach (const Particle& p, ufs.particles())
        if (p.pid() == 300553 || p.pid() == 553) upsilons.push_back(p);
      // Then in whole event if that failed
      if (upsilons.empty()) {
        foreach (const GenParticle* p, Rivet::particles(e.genEvent())) {
          if (p->pdg_id() != 300553 && p->pdg_id() != 553) continue;
          const GenVertex* pv = p->production_vertex();
          bool passed = true;
          if (pv) {
            foreach (const GenParticle* pp, particles_in(pv)) {
              if ( p->pdg_id() == pp->pdg_id() ) {
                passed = false;
                break;
              }
            }
          }
          if (passed) upsilons.push_back(Particle(*p));
        }
      }

      if (upsilons.empty()) { // continuum

        _weightSum_cont += weight;
        unsigned int nOmega(0), nRho0(0), nKStar0(0), nKStarPlus(0), nPhi(0);
        foreach (const Particle& p, ufs.particles()) {
          int id = p.abspid();
          double xp = 2.*p.E()/sqrtS();
          double beta = p.p3().mod()/p.E();
          if (id == 113) {
            _hist_cont_Rho0->fill(xp, weight/beta);
            ++nRho0;
          }
          else if (id == 313) {
            _hist_cont_KStar0->fill(xp, weight/beta);
            ++nKStar0;
          }
          else if (id == 223) {
            _hist_cont_Omega->fill(xp, weight/beta);
            ++nOmega;
          }
          else if (id == 323) {
            _hist_cont_KStarPlus->fill(xp,weight/beta);
            ++nKStarPlus;
          }
          else if (id == 333) {
            ++nPhi;
          }
        }
        /// @todo Replace with Counters and fill one-point Scatters at the end
        _mult_cont_Omega    ->fill(10.45, weight*nOmega    );
        _mult_cont_Rho0     ->fill(10.45, weight*nRho0     );
        _mult_cont_KStar0   ->fill(10.45, weight*nKStar0   );
        _mult_cont_KStarPlus->fill(10.45, weight*nKStarPlus);
        _mult_cont_Phi      ->fill(10.45, weight*nPhi      );

      } else { // found an upsilon

        foreach (const Particle& ups, upsilons) {
          const int parentId = ups.pid();
          (parentId == 553 ? _weightSum_Ups1 : _weightSum_Ups4) += weight;
          Particles unstable;
          // Find the decay products we want
          findDecayProducts(ups.genParticle(),unstable);
          /// @todo Update to new LT mk* functions
          LorentzTransform cms_boost;
          if (ups.p3().mod() > 0.001)
            cms_boost = LorentzTransform::mkFrameTransformFromBeta(ups.momentum().betaVec());
          double mass = ups.mass();
          unsigned int nOmega(0),nRho0(0),nKStar0(0),nKStarPlus(0),nPhi(0);
          foreach(const Particle & p , unstable) {
            int id = p.abspid();
            FourMomentum p2 = cms_boost.transform(p.momentum());
            double xp = 2.*p2.E()/mass;
            double beta = p2.p3().mod()/p2.E();
            if (id == 113) {
              if (parentId == 553) _hist_Ups1_Rho0->fill(xp,weight/beta);
              else                 _hist_Ups4_Rho0->fill(xp,weight/beta);
              ++nRho0;
            }
            else if (id == 313) {
              if (parentId == 553) _hist_Ups1_KStar0->fill(xp,weight/beta);
              else                 _hist_Ups4_KStar0->fill(xp,weight/beta);
              ++nKStar0;
            }
            else if (id == 223) {
              if (parentId == 553) _hist_Ups1_Omega->fill(xp,weight/beta);
              ++nOmega;
            }
            else if (id == 323) {
              if (parentId == 553) _hist_Ups1_KStarPlus->fill(xp,weight/beta);
              else                 _hist_Ups4_KStarPlus->fill(xp,weight/beta);
              ++nKStarPlus;
            }
            else if (id == 333) {
              ++nPhi;
            }
          }
          if (parentId == 553) {
            _mult_Ups1_Omega    ->fill(9.46,weight*nOmega    );
            _mult_Ups1_Rho0     ->fill(9.46,weight*nRho0     );
            _mult_Ups1_KStar0   ->fill(9.46,weight*nKStar0   );
            _mult_Ups1_KStarPlus->fill(9.46,weight*nKStarPlus);
            _mult_Ups1_Phi      ->fill(9.46,weight*nPhi      );
          }
          else {
            _mult_Ups4_Omega    ->fill(10.58,weight*nOmega    );
            _mult_Ups4_Rho0     ->fill(10.58,weight*nRho0     );
            _mult_Ups4_KStar0   ->fill(10.58,weight*nKStar0   );
            _mult_Ups4_KStarPlus->fill(10.58,weight*nKStarPlus);
            _mult_Ups4_Phi      ->fill(10.58,weight*nPhi      );
          }
        }
      }

    }


    void finalize() {
      if (_weightSum_cont > 0.) {
        /// @todo Replace with Counters and fill one-point Scatters at the end
        scale(_mult_cont_Omega    , 1./_weightSum_cont);
        scale(_mult_cont_Rho0     , 1./_weightSum_cont);
        scale(_mult_cont_KStar0   , 1./_weightSum_cont);
        scale(_mult_cont_KStarPlus, 1./_weightSum_cont);
        scale(_mult_cont_Phi      , 1./_weightSum_cont);
        scale(_hist_cont_KStarPlus, 1./_weightSum_cont);
        scale(_hist_cont_KStar0   , 1./_weightSum_cont);
        scale(_hist_cont_Rho0     , 1./_weightSum_cont);
        scale(_hist_cont_Omega    , 1./_weightSum_cont);
      }
      if (_weightSum_Ups1 > 0.) {
        /// @todo Replace with Counters and fill one-point Scatters at the end
        scale(_mult_Ups1_Omega    , 1./_weightSum_Ups1);
        scale(_mult_Ups1_Rho0     , 1./_weightSum_Ups1);
        scale(_mult_Ups1_KStar0   , 1./_weightSum_Ups1);
        scale(_mult_Ups1_KStarPlus, 1./_weightSum_Ups1);
        scale(_mult_Ups1_Phi      , 1./_weightSum_Ups1);
        scale(_hist_Ups1_KStarPlus, 1./_weightSum_Ups1);
        scale(_hist_Ups1_KStar0   , 1./_weightSum_Ups1);
        scale(_hist_Ups1_Rho0     , 1./_weightSum_Ups1);
        scale(_hist_Ups1_Omega    , 1./_weightSum_Ups1);
      }
      if (_weightSum_Ups4 > 0.) {
        /// @todo Replace with Counters and fill one-point Scatters at the end
        scale(_mult_Ups4_Omega    , 1./_weightSum_Ups4);
        scale(_mult_Ups4_Rho0     , 1./_weightSum_Ups4);
        scale(_mult_Ups4_KStar0   , 1./_weightSum_Ups4);
        scale(_mult_Ups4_KStarPlus, 1./_weightSum_Ups4);
        scale(_mult_Ups4_Phi      , 1./_weightSum_Ups4);
        scale(_hist_Ups4_KStarPlus, 1./_weightSum_Ups4);
        scale(_hist_Ups4_KStar0   , 1./_weightSum_Ups4);
        scale(_hist_Ups4_Rho0     , 1./_weightSum_Ups4);
      }
    }


  private:

    //@{
    Histo1DPtr _mult_cont_Omega, _mult_cont_Rho0, _mult_cont_KStar0, _mult_cont_KStarPlus, _mult_cont_Phi;
    Histo1DPtr _mult_Ups1_Omega, _mult_Ups1_Rho0, _mult_Ups1_KStar0, _mult_Ups1_KStarPlus, _mult_Ups1_Phi;
    Histo1DPtr _mult_Ups4_Omega, _mult_Ups4_Rho0, _mult_Ups4_KStar0, _mult_Ups4_KStarPlus, _mult_Ups4_Phi;
    Histo1DPtr _hist_cont_KStarPlus, _hist_Ups1_KStarPlus, _hist_Ups4_KStarPlus;
    Histo1DPtr _hist_cont_KStar0, _hist_Ups1_KStar0, _hist_Ups4_KStar0   ;
    Histo1DPtr _hist_cont_Rho0, _hist_Ups1_Rho0,  _hist_Ups4_Rho0;
    Histo1DPtr _hist_cont_Omega, _hist_Ups1_Omega;

    double _weightSum_cont,_weightSum_Ups1,_weightSum_Ups4;
    //@}


    void findDecayProducts(const GenParticle* p, Particles& unstable) {
      const GenVertex* dv = p->end_vertex();
      /// @todo Use better looping
      for (GenVertex::particles_out_const_iterator pp = dv->particles_out_const_begin(); pp != dv->particles_out_const_end(); ++pp) {
        int id = abs((*pp)->pdg_id());
        if (id == 113 || id == 313 || id == 323 ||
            id == 333 || id == 223 ) {
          unstable.push_back(Particle(*pp));
        }
        else if ((*pp)->end_vertex())
          findDecayProducts(*pp, unstable);
      }
    }


  };


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

}