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

namespace Rivet {


  class TOTEM_2012_I1115294 : public Analysis {
  public:

    TOTEM_2012_I1115294()
      : Analysis("TOTEM_2012_I1115294")
    {    }


  public:

    void init() {
      ChargedFinalState cfsm((Cuts::etaIn(-6.50, -5.35) && Cuts::pT >=  40.*MeV));
      ChargedFinalState cfsp((Cuts::etaIn( 5.35,  6.50) && Cuts::pT >=  40.*MeV));
      declare(cfsm, "CFSM");
      declare(cfsp, "CFSP");

      book(_h_eta ,1, 1, 1);
      book(_sumofweights, "sumofweights");
    }


    void analyze(const Event& event) {
      const ChargedFinalState cfsm = apply<ChargedFinalState>(event, "CFSM");
      const ChargedFinalState cfsp = apply<ChargedFinalState>(event, "CFSP");

      if (cfsm.size() == 0 && cfsp.size() == 0) vetoEvent;

      _sumofweights->fill();

      for (const Particle& p : cfsm.particles() + cfsp.particles()) {
        _h_eta->fill(p.abseta());
      }

    }


    void finalize() {
      scale(_h_eta, 0.5 / *_sumofweights);
    }


  private:

    CounterPtr _sumofweights;
    Histo1DPtr _h_eta;


  };



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

}