rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

TOTEM_2012_I1115294

Forward $\mathrm{d}N/\mathrm{d}\eta$ at 7 TeV
Experiment: TOTEM (LHC)
Inspire ID: 1115294
Status: VALIDATED
Authors:
  • Hendrik Hoeth
References:
  • Europhys.Lett. 98 (2012) 31002
  • arXiv: 1205.4105
  • CERN-PH-EP-2012-106
  • TOTEM 2012-01
Beams: p+ p+
Beam energies: (3500.0, 3500.0) GeV
Run details:
  • pp QCD interactions at 900 GeV and 7 TeV.

The TOTEM experiment has measured the charged particle pseudorapidity density $\mathrm{d}N_\text{ch}/\mathrm{d}\eta$ in $pp$ collisions at $\sqrt{s} = 7$\,TeV for $5.3 < |\eta| < 6.4$ in events with at least one charged particle with transverse momentum above 40 MeV/$c$ in this pseudorapidity range.

Source code: TOTEM_2012_I1115294.cc
 1// -*- C++ -*-
 2#include "Rivet/Analysis.hh"
 3#include "Rivet/Projections/ChargedFinalState.hh"
 4
 5namespace Rivet {
 6
 7
 8  class TOTEM_2012_I1115294 : public Analysis {
 9  public:
10
11    TOTEM_2012_I1115294()
12      : Analysis("TOTEM_2012_I1115294")
13    {    }
14
15
16  public:
17
18    void init() {
19      ChargedFinalState cfsm((Cuts::etaIn(-6.50, -5.35) && Cuts::pT >=  40.*MeV));
20      ChargedFinalState cfsp((Cuts::etaIn( 5.35,  6.50) && Cuts::pT >=  40.*MeV));
21      declare(cfsm, "CFSM");
22      declare(cfsp, "CFSP");
23
24      book(_h_eta ,1, 1, 1);
25      book(_sumofweights, "sumofweights");
26    }
27
28
29    void analyze(const Event& event) {
30      const ChargedFinalState cfsm = apply<ChargedFinalState>(event, "CFSM");
31      const ChargedFinalState cfsp = apply<ChargedFinalState>(event, "CFSP");
32
33      if (cfsm.size() == 0 && cfsp.size() == 0) vetoEvent;
34
35      _sumofweights->fill();
36
37      for (const Particle& p : cfsm.particles() + cfsp.particles()) {
38        _h_eta->fill(p.abseta());
39      }
40
41    }
42
43
44    void finalize() {
45      scale(_h_eta, 0.5 / *_sumofweights);
46    }
47
48
49  private:
50
51    CounterPtr _sumofweights;
52    Histo1DPtr _h_eta;
53
54
55  };
56
57
58
59  RIVET_DECLARE_PLUGIN(TOTEM_2012_I1115294);
60
61}