Rivet Analyses Reference

TASSO_1984_I194774

$D_s^\pm$ spectra at 34.7 GeV
Experiment: TASSO (PETRA)
Inspire ID: 194774
Status: VALIDATED
Authors:
  • Peter Richardson
References:
  • Phys.Lett.B 136 (1984) 130-134, 1984
Beams: e+ e-
Beam energies: (17.4, 17.4) GeV
Run details:
  • e+ e- to hadrons

Measurement of the $D_s^\pm$ spectra at 34.7 GeV by the TASSO experiment, the PDG2020 value of $D^+_s\to\phi\pi^+$ branching ratio is used.

Source code: TASSO_1984_I194774.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
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/FinalState.hh"
#include "Rivet/Projections/FastJets.hh"
#include "Rivet/Projections/UnstableParticles.hh"

namespace Rivet {


  /// @brief D_s spectrum at 34.7
  class TASSO_1984_I194774 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(TASSO_1984_I194774);


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

    /// Book histograms and initialise projections before the run
    void init() {
      declare(UnstableParticles(), "UFS");
      book(_h_Ds ,1,1,1);
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      UnstableParticles ufs = apply<UnstableParticles>(event,"UFS");
      for(const Particle & p : ufs.particles(Cuts::abspid==431)) {
      	double xE = 2.*p.E()/sqrtS();
      	Vector3 mom3 = p.p3();
        const double energy = p.E();
      	double modp = mom3.mod();
      	double beta = modp/energy;
	_h_Ds ->fill(xE,1./beta);
      }
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      scale( _h_Ds , sqr(sqrtS())*crossSection()/nanobarn/sumOfWeights());
    }

    ///@}


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


  };


  RIVET_DECLARE_PLUGIN(TASSO_1984_I194774);

}