Rivet analyses referenceE735_1998_I480349Charged particle multiplicity in $p\bar{p}$ collisions at $\sqrt{s} = 1.8 \text{TeV}$Experiment: E735 (Tevatron) Inspire ID: 480349 Status: VALIDATED Authors:
Beam energies: (900.0, 900.0) GeV Run details:
A measurement of the charged multiplicity distribution at $\sqrt{s} = 1.8 \text{TeV}$. The analysis is reproduced to the best of abilities. There is no theory curve in the paper to compare to. Source code: E735_1998_I480349.cc 1// -*- C++ -*-
2#include "Rivet/Analysis.hh"
3#include "Rivet/Projections/ChargedFinalState.hh"
4
5#include "Rivet/Projections/TriggerCDFRun0Run1.hh"
6#include "Rivet/Projections/TriggerUA5.hh"
7
8namespace Rivet {
9
10
11 /// @brief E735 charged multiplicity in NSD-triggered events
12 class E735_1998_I480349 : public Analysis {
13 public:
14
15 /// Constructor
16 RIVET_DEFAULT_ANALYSIS_CTOR(E735_1998_I480349);
17
18
19 /// @name Analysis methods
20 /// @{
21
22 void init() {
23 // Projections
24 declare(TriggerUA5(), "Trigger");
25 declare(ChargedFinalState(), "FS");
26
27 // Histo
28 book(_hist_multiplicity ,1, 1, 1);
29 book(_sumWTrig, "TMP/sumWtrig");
30
31 }
32
33
34 void analyze(const Event& event) {
35 const bool trigger = apply<TriggerUA5>(event, "Trigger").nsdDecision();
36 if (!trigger) vetoEvent;
37 _sumWTrig->fill();
38
39 const ChargedFinalState& fs = apply<ChargedFinalState>(event, "FS");
40 const size_t numParticles = fs.particles().size();
41 _hist_multiplicity->fill(numParticles);
42 }
43
44
45 void finalize() {
46 scale(_hist_multiplicity, 1 / *_sumWTrig);
47 }
48
49 /// @}
50
51
52 private:
53
54 /// Weight counter
55 CounterPtr _sumWTrig;
56
57 /// Histograms
58 Histo1DPtr _hist_multiplicity;
59
60 };
61
62
63
64 RIVET_DECLARE_ALIASED_PLUGIN(E735_1998_I480349, E735_1998_S3905616);
65
66}
|