Rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

AMY_1990_I295160

Hadronic charged multiplicity measurement between 50 and 61.4 GeV
Experiment: AMY (TRISTAN)
Inspire ID: 295160
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Rev. D42 (1990) 737-747
Beams: e+ e-
Beam energies: (25.0, 25.0); (26.0, 26.0); (27.5, 27.5); (28.0, 28.0); (28.5, 28.5); (30.0, 30.0); (30.4, 30.4); (30.7, 30.7); (28.5, 28.5) GeV
Run details:
  • Hadronic e+ e- events generated below the Z pole

The charged particle multiplicity distribution of hadronic $e^+e^-$ events as measured between 50 and 61.4 GeV using the AMY detector at TRISTAN.

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

namespace Rivet {


  /// @brief Charged multiplicity below Z pole based on ALEPH Z pole analysis
  // @author Peter Richardson
  class AMY_1990_I295160 : public Analysis {
  public:

    /// Constructor
    DEFAULT_RIVET_ANALYSIS_CTOR(AMY_1990_I295160);


    /// @name Analysis methods
    //@{

    /// Book histograms and initialise projections before the run
    void init() {
      const ChargedFinalState cfs;
      declare(cfs, "CFS");
      int offset = 0;
      if(fuzzyEquals(sqrtS()/GeV,50.0)) {
	offset = 1;
      }
      else if(fuzzyEquals(sqrtS()/GeV,52.0)) {
	offset = 2;
      }
      else if(fuzzyEquals(sqrtS()/GeV,55.0)) {
	offset = 3;
      }
      else if(fuzzyEquals(sqrtS()/GeV,56.0)) {
	offset = 4;
      }
      else if(fuzzyEquals(sqrtS()/GeV,57.0)) {
	offset = 5;
      }
      else if(fuzzyEquals(sqrtS()/GeV,60.0)) {
	offset = 6;
      }
      else if(fuzzyEquals(sqrtS()/GeV,60.8)) {
	offset = 7;
      }
      else if(fuzzyEquals(sqrtS()/GeV,61.4)) {
	offset = 8;
      }
      else {
        MSG_WARNING("CoM energy of events sqrt(s) = " << sqrtS()/GeV
                    << " doesn't match any available analysis energy .");
      }
      _histChTotal = bookHisto1D(1, 1, offset);
      _histTotal = bookProfile1D(2, 1, 1);
      if(offset==5) {
	_histChAver  = bookHisto1D(1, 1, 9);
	_histAver    = bookProfile1D(2, 2, 1);
      }
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      const FinalState& cfs = apply<FinalState>(event, "CFS");
      MSG_DEBUG("Total charged multiplicity = " << cfs.size());
      _histChTotal->fill(cfs.size(), event.weight());
      _histTotal->fill(sqrtS()/GeV,cfs.size(), event.weight());
      if(_histAver) {
	_histChAver->fill(cfs.size(), event.weight());
	_histAver->fill(sqrtS()/GeV,cfs.size(), event.weight());
      }
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      
      scale(_histChTotal, 200.0/sumOfWeights()); // bin width (2) and %age (100)
      if(_histAver) 
	scale(_histChAver, 200.0/sumOfWeights());
    }

    //@}


  private:

    /// @name Histograms
    //@{
    Histo1DPtr _histChTotal;
    Histo1DPtr _histChAver;
    Profile1DPtr _histTotal;
    Profile1DPtr _histAver;
    //@}

  };


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


}