Rivet analyses referenceTOTEM_2014_I1328627Forward charged particle pseudorapidity density in pp collisions at √s=8TeV 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 dNch/dη is measured by the TOTEM experiment in pp collisions at √s=8 TeV within the ranges 3.9<η<4.7 and −6.95<η<−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 pT>0 MeV/c, produced in inelastic interactions with at least one charged particle in −7<η<−6 or 3.7<η<4.8. The dNch/dη has been found to decrease with |η|, from 5.11±0.73 at η=3.95 to 1.81±0.56 at η=−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}
|