rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

CLEOII_1996_I415409

Hadronic Mass in $\tau^-\to K^-\eta\nu_\tau$
Experiment: CLEOII (CESR)
Inspire ID: 415409
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Rev.Lett. 76 (1996) 4119-4123
Beams: * *
Beam energies: ANY
Run details:
  • Tau production, can be any process but original data was in $e^+ e^-$ at the $\Upsilon(4S)$ resonance

Measurement of the invariant mass spectrum of the $K^-\eta$ system in $\tau\to K^-\eta\nu_\tau$ measured by CLEO at CESR.

Source code: CLEOII_1996_I415409.cc
 1// -*- C++ -*-
 2#include "Rivet/Analysis.hh"
 3#include "Rivet/Projections/UnstableParticles.hh"
 4
 5namespace Rivet {
 6
 7
 8  /// @brief tau -> K eta
 9  class CLEOII_1996_I415409 : public Analysis {
10  public:
11
12    /// Constructor
13    RIVET_DEFAULT_ANALYSIS_CTOR(CLEOII_1996_I415409);
14
15
16    /// @name Analysis methods
17    /// @{
18
19    /// Book histograms and initialise projections before the run
20    void init() {
21      declare(UnstableParticles(), "UFS");
22      book(_hist,  1, 1, 1);
23    }
24
25    void findDecayProducts(const Particle & mother,
26                           unsigned int & nstable,
27                           Particles& eta, Particles& K) {
28      for(const Particle & p : mother.children()) {
29	long id = p.abspid();
30        if (id == PID::ETA ) {
31          eta.push_back(p);
32          ++nstable;
33	}
34        else if (id == PID::KPLUS) {
35          K.push_back(p);
36          ++nstable;
37        }
38        else if ( !p.children().empty() ) {
39          findDecayProducts(p, nstable, eta,K);
40        }
41        else
42          ++nstable;
43      }
44    }
45
46    /// Perform the per-event analysis
47    void analyze(const Event& event) {
48      const UnstableParticles& ufs = apply<UnstableParticles>(event, "UFS");
49      for (const Particle& p : ufs.particles(Cuts::abspid==PID::TAU)) {
50        Particles eta, K;
51        unsigned int nstable = 0;
52        // find the decay products we want
53        findDecayProducts(p, nstable, eta, K);
54        if (nstable != 3) continue;
55	// K eta
56        if (K.size() == 1 && eta.size() == 1)
57	  _hist->fill((eta[0].momentum()+K[0].momentum()).mass());
58      }
59    }
60
61
62    /// Normalise histograms etc., after the run
63    void finalize() {
64      normalize(_hist);
65    }
66
67    /// @}
68
69
70    /// @name Histograms
71    /// @{
72    Histo1DPtr _hist;
73    /// @}
74
75
76  };
77
78
79  RIVET_DECLARE_PLUGIN(CLEOII_1996_I415409);
80
81}