rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

D0_2015_I1324946

D0 measurement of the $\phi^*$ distribution of muon pairs with masses between 30 and 500 GeV in 10.4 fb-1
Experiment: D0 (Tevatron)
Inspire ID: 1324946
Status: VALIDATED
Authors:
  • Simone Amoroso
References: Beams: p- p+
Beam energies: (980.0, 980.0) GeV
Run details:
  • $Z/\gamma^*$ production with decays to muons.

D0 measurement of the distribution of the variable $\phi^*$ for muon pairs with masses between 30 and 500 GeV, using the complete run II data set collected at the Tevatron proton-antiproton collider. This corresponds to an integrated luminosity of $10.4 \text{fb}^{-1}$ at $\sqrt{s}=1.96$ TeV. The data are corrected for detector effects and presented in bins of dimuon rapidity and mass.

Source code: D0_2015_I1324946.cc
 1// -*- C++ -*-
 2#include "Rivet/Analysis.hh"
 3#include "Rivet/Projections/FinalState.hh"
 4#include "Rivet/Projections/DileptonFinder.hh"
 5
 6namespace Rivet {
 7
 8
 9  class D0_2015_I1324946 : public Analysis {
10  public:
11
12    /// Constructor
13    RIVET_DEFAULT_ANALYSIS_CTOR(D0_2015_I1324946);
14
15
16    /// @name Analysis methods
17    /// @{
18
19    /// Book histograms and initialise projections before the run
20    void init() {
21      DileptonFinder zfinder_mm(91.2*GeV, 0.0, Cuts::abseta < 2 && Cuts::pT > 15*GeV &&
22                                Cuts::abspid == PID::MUON, Cuts::massIn(30*GeV, 500*GeV));
23      declare(zfinder_mm, "zfinder_mm");
24
25      book(_h_phistar_mm_peak_central, 1, 1, 1);
26      book(_h_phistar_mm_peak_forward, 2, 1, 1);
27      book(_h_phistar_mm_low_central, 3, 1, 1);
28      book(_h_phistar_mm_low_forward, 4, 1, 1);
29      book(_h_phistar_mm_high1, 5, 1, 1);
30      book(_h_phistar_mm_high2, 6, 1, 1);
31    }
32
33
34    /// Perform the per-event analysis
35    void analyze(const Event& event) {
36
37      //70<Mmm<105
38      const DileptonFinder& zfinder_mm = apply<DileptonFinder>(event, "zfinder_mm");
39      if (zfinder_mm.bosons().size() == 1) {
40        Particles mm = zfinder_mm.constituents();
41        std::sort(mm.begin(), mm.end(), cmpMomByPt);
42        const FourMomentum& mminus = PID::charge3(mm[0].pid()) < 0 ? mm[0].momentum() : mm[1].momentum();
43        const FourMomentum& mplus  = PID::charge3(mm[0].pid()) < 0 ? mm[1].momentum() : mm[0].momentum();
44        double phi_acop = M_PI - mapAngle0ToPi(mminus.phi() - mplus.phi());
45        double costhetastar = tanh((mminus.eta() - mplus.eta())/2);
46        double sin2thetastar = 1 - sqr(costhetastar);
47        if (sin2thetastar < 0) sin2thetastar = 0;
48        const double phistar = tan(phi_acop/2) * sqrt(sin2thetastar);
49        const FourMomentum& zmom = zfinder_mm.bosons()[0].momentum();
50        if (zmom.mass()<30*GeV || zmom.mass() >500*GeV) vetoEvent;
51
52        if( zmom.mass()>70 && zmom.mass()<100 && zmom.absrap()<1.0) _h_phistar_mm_peak_central->fill(phistar);
53        if( zmom.mass()>70 && zmom.mass()<100 && zmom.absrap()>1.0  && zmom.absrap()<2.0) _h_phistar_mm_peak_forward->fill(phistar);
54        if( zmom.mass()>30 && zmom.mass()<60  && zmom.absrap()<1.0) _h_phistar_mm_low_central->fill(phistar);
55        if( zmom.mass()>30 && zmom.mass()<60 && zmom.absrap()>1.0 && zmom.absrap()<2.0) _h_phistar_mm_low_forward->fill(phistar);
56        if( zmom.mass()>160 && zmom.mass()<300) _h_phistar_mm_high1->fill(phistar);
57        if( zmom.mass()>300 && zmom.mass()<500) _h_phistar_mm_high2->fill(phistar);
58
59      }
60    }
61
62
63    /// Normalise histograms etc., after the run
64    void finalize() {
65
66      normalize(_h_phistar_mm_low_central);
67      normalize(_h_phistar_mm_low_forward);
68      normalize(_h_phistar_mm_peak_central);
69      normalize(_h_phistar_mm_peak_forward);
70      normalize(_h_phistar_mm_high1);
71      normalize(_h_phistar_mm_high2);
72
73    }
74
75    /// @}
76
77
78  private:
79
80    /// @name Histograms
81    /// @{
82
83    Histo1DPtr _h_phistar_mm_low_central;
84    Histo1DPtr _h_phistar_mm_low_forward;
85    Histo1DPtr _h_phistar_mm_peak_central;
86    Histo1DPtr _h_phistar_mm_peak_forward;
87    Histo1DPtr _h_phistar_mm_high1;
88    Histo1DPtr _h_phistar_mm_high2;
89    /// @}
90
91  };
92
93
94  RIVET_DECLARE_PLUGIN(D0_2015_I1324946);
95
96}