Rivet Analyses Reference

TOPAZ_1997_I454183

Measurement of charged particle multiplicity vs thrust at $E_{\text{CMS}}=57.8$ GeV
Experiment: TOPAZ (Tristan)
Inspire ID: 454183
Status: UNVALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Lett. B413 (1997) 447-452
Beams: e- e+
Beam energies: (28.9, 28.9) GeV
Run details:
  • e+ e- to hadrons

Measurement of the charged particle multiplicity as a function of thrust at 57.8 GeV by the TOPAZ collaboration.

Source code: TOPAZ_1997_I454183.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
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/ChargedFinalState.hh"
#include "Rivet/Projections/Thrust.hh"

namespace Rivet {


  /// @brief N charged vs thrust
  class TOPAZ_1997_I454183 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(TOPAZ_1997_I454183);


    /// @name Analysis methods
    //@{

    /// Book histograms and initialise projections before the run
    void init() {

      // Initialise and register projections
      ChargedFinalState cfs;
      declare(cfs        , "CFS");
      declare(Thrust(cfs), "Thrust");

      // Book histograms
      book(_p_charged ,3,1,1);
      book(_c_ncharged,1,1,1);

    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      // First, veto on leptonic events by requiring at least 5 charged FS particles
      const ChargedFinalState& cfs = apply<ChargedFinalState>(event, "CFS");
      const size_t numParticles = cfs.particles().size();
      // Even if we only generate hadronic events, we still need a cut on numCharged >= 2.
      if (numParticles < 5) {
        MSG_DEBUG("Failed leptonic event cut");
        vetoEvent;
      }
      MSG_DEBUG("Passed leptonic event cut");

      // thrust
      const Thrust& thrust = apply<Thrust>(event, "Thrust");
      _c_ncharged->fill(cfs.particles().size());
      _p_charged->fill(-log(1.-thrust.thrust()),cfs.particles().size());
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      scale(_c_ncharged,1./sumOfWeights());
    }

    //@}


    /// @name Histograms
    //@{
    Profile1DPtr _p_charged;
    CounterPtr _c_ncharged;
    //@}


  };


  // The hook for the plugin system
  RIVET_DECLARE_PLUGIN(TOPAZ_1997_I454183);


}