Rivet Analyses Reference

L3_1990_I298078

Jets Rates using the Jade Algorithm at 91 GeV
Experiment: L3 (LEP)
Inspire ID: 298078
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Lett.B 248 (1990) 464-472, 1990.
Beams: e+ e-
Beam energies: (45.6, 45.6) GeV
Run details:
  • e+e- to hadrons

Measurement of the integrated jet rates using the Jade algorithm by the L3 experiment at LEP1.

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

namespace Rivet {


  /// @brief Add a short analysis description here
  class L3_1990_I298078 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(L3_1990_I298078);


    /// @name Analysis methods
    ///@{

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

      // Projections to use
      const FinalState FS;
      declare(FS, "FS");
      FastJets jadeJets = FastJets(FS, FastJets::JADE, 0.7, JetAlg::Muons::ALL, JetAlg::Invisibles::DECAY);
      declare(jadeJets, "JadeJets");
      // book histos
      book(_h_y_2_JADE, 1,1,1);
      book(_h_y_3_JADE, 1,1,2);
      book(_h_y_4_JADE, 1,1,3);
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      const FastJets& jadejet = apply<FastJets>(event, "JadeJets");
      if (jadejet.clusterSeq()) {
	const double y_23 = jadejet.clusterSeq()->exclusive_ymerge_max(2);
	const double y_34 = jadejet.clusterSeq()->exclusive_ymerge_max(3);
	const double y_45 = jadejet.clusterSeq()->exclusive_ymerge_max(4);
	for (size_t i = 0; i < _h_y_2_JADE->numBins(); ++i) {
	  double ycut = _h_y_2_JADE->bin(i).xMid();
	  double width = _h_y_2_JADE->bin(i).width();
	  if (y_23 < ycut) _h_y_2_JADE->fillBin(i,width);
	}
	for (size_t i = 0; i < _h_y_3_JADE->numBins(); ++i) {
	  double ycut = _h_y_3_JADE->bin(i).xMid();
	  double width = _h_y_3_JADE->bin(i).width();
	  if (y_34 < ycut && y_23 > ycut) {
	    _h_y_3_JADE->fillBin(i,width);
	  }
	}
	for (size_t i = 0; i < _h_y_4_JADE->numBins(); ++i) {
	  double ycut = _h_y_4_JADE->bin(i).xMid();
	  double width = _h_y_4_JADE->bin(i).width();
	  if (y_45 < ycut && y_34 > ycut) {
	    _h_y_4_JADE->fillBin(i,width);
	  }
	}
      }
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      scale(_h_y_2_JADE, 100./ sumOfWeights());
      scale(_h_y_3_JADE, 100./ sumOfWeights());
      scale(_h_y_4_JADE, 100./ sumOfWeights());
    }

    ///@}


    /// @name Histograms
    ///@{
    Histo1DPtr _h_y_2_JADE,_h_y_3_JADE,_h_y_4_JADE;
    ///@}


  };


  RIVET_DECLARE_PLUGIN(L3_1990_I298078);

}