Rivet analyses

Forward dN/dη 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 dNch/dη in pp collisions at $\sqrt{s} = 7$,TeV for 5.3 < |η| < 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

// -*- 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;


  };



  RIVET_DECLARE_PLUGIN(TOTEM_2012_I1115294);

}