rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

KLOE_2013_I1186739

$\eta\to\pi^+\pi^-\gamma$ decays
Experiment: KLOE (DAPHNE)
Inspire ID: 1186739
Status: VALIDATED NOHEPDATA
Authors:
  • Peter Richardson
References:
  • Phys.Lett.B 718 (2013) 910-914
Beams: * *
Beam energies: ANY
Run details:
  • Events with eta decays, either particle guns or collisions.

Differential decay rates for $\eta\to \pi^+\pi^-\gamma$ decays. Data read from plots and error bars are the size of the point. The data is corrected and background subtracted.

Source code: KLOE_2013_I1186739.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
63
64
65
66
67
68
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/UnstableParticles.hh"
#include "Rivet/Projections/DecayedParticles.hh"

namespace Rivet {


  /// @brief eta -> pi+pi- gamma decay
  class KLOE_2013_I1186739 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(KLOE_2013_I1186739);


    /// @name Analysis methods
    /// @{

    /// Book histograms and initialise projections before the run
    void init() {

      // Initialise and register projections
      UnstableParticles ufs = UnstableParticles(Cuts::abspid==221);
      declare(ufs, "UFS");
      DecayedParticles ETA(ufs);
      ETA.addStable(PID::PI0);
      declare(ETA, "ETA");

      // Book histograms
      book(_h_m, 1, 1, 1);
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      static const map<PdgId,unsigned int> & mode   = { { PID::PIPLUS,1}, { PID::PIMINUS ,1}, { PID::GAMMA,1}};
      DecayedParticles ETA = apply<DecayedParticles>(event, "ETA");
      // loop over particles
      for(unsigned int ix=0;ix<ETA.decaying().size();++ix) {
	if (!ETA.modeMatches(ix,3,mode)) continue;
	const Particle & pip = ETA.decayProducts()[ix].at( PID::PIPLUS )[0];
	const Particle & pim = ETA.decayProducts()[ix].at( PID::PIMINUS)[0];
	_h_m->fill((pip.momentum()+pim.momentum()).mass()/MeV);
      }
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      normalize(_h_m);
    }

    /// @}


    /// @name Histograms
    /// @{
    Histo1DPtr _h_m;
    /// @}


  };


  RIVET_DECLARE_PLUGIN(KLOE_2013_I1186739);

}