Rivet analyses referenceTOTEM_2014_I1328627Forward charged particle pseudorapidity density in $pp$ collisions at $\sqrt{s} = 8 \text{TeV}$ using a displaced interaction pointExperiment: TOTEM (LHC) Inspire ID: 1328627 Status: VALIDATED Authors:
Beam energies: (4000.0, 4000.0) GeV Run details:
The pseudorapidity density of charged particles $\mathrm{d}N_\mathrm{ch}/\mathrm{d}\eta$ is measured by the TOTEM experiment in $pp$ collisions at $\sqrt{s} = 8$ TeV within the ranges $3.9 < \eta < 4.7$ and $-6.95 < \eta < -6.9$. Data were collected in a low intensity LHC run with collisions occurring at a distance of 11.25\,m from the nominal interaction point. The data sample is expected to include 96--97\% of the inelastic proton--proton interactions. The measurement reported here considers charged particles with $p_T > 0$ MeV/$c$, produced in inelastic interactions with at least one charged particle in $-7 < \eta < -6$ or $3.7 < \eta < 4.8$. The $\mathrm{d}N_\mathrm{ch}/\mathrm{d}\eta$ has been found to decrease with $|\eta|$, from $5.11 \pm 0.73$ at $\eta = 3.95$ to $1.81 \pm 0.56$ at $\eta = -6.925$. Source code: TOTEM_2014_I1328627.cc 1// -*- C++ -*-
2#include "Rivet/Analysis.hh"
3#include "Rivet/Projections/ChargedFinalState.hh"
4
5namespace Rivet {
6
7
8 class TOTEM_2014_I1328627 : public Analysis {
9 public:
10
11
12 RIVET_DEFAULT_ANALYSIS_CTOR(TOTEM_2014_I1328627);
13
14
15
16 void init() {
17 ChargedFinalState cfsm(Cuts::etaIn(-7.0, -6.0));
18 ChargedFinalState cfsp(Cuts::etaIn( 3.7, 4.8));
19 declare(cfsm, "CFSM");
20 declare(cfsp, "CFSP");
21
22 book(_h_eta ,1, 1, 1);
23 book(_sumofweights, "sumofweights");
24 }
25
26
27 void analyze(const Event& event) {
28 const ChargedFinalState cfsm = apply<ChargedFinalState>(event, "CFSM");
29 const ChargedFinalState cfsp = apply<ChargedFinalState>(event, "CFSP");
30 if (cfsm.size() == 0 && cfsp.size() == 0) vetoEvent;
31
32 _sumofweights->fill();
33 for (const Particle& p : cfsm.particles() + cfsp.particles()) {
34 _h_eta->fill(p.abseta());
35 }
36 }
37
38
39 void finalize() {
40 scale(_h_eta, 1./ *_sumofweights);
41 }
42
43
44 private:
45
46 CounterPtr _sumofweights;
47 Histo1DPtr _h_eta;
48
49 };
50
51
52 RIVET_DECLARE_PLUGIN(TOTEM_2014_I1328627);
53
54
55}
|