diff --git a/analyses/pluginLEP/ALEPH_1999_S4193598.cc b/analyses/pluginLEP/ALEPH_1999_S4193598.cc --- a/analyses/pluginLEP/ALEPH_1999_S4193598.cc +++ b/analyses/pluginLEP/ALEPH_1999_S4193598.cc @@ -1,78 +1,78 @@ // -*- C++ -*- #include "Rivet/Analysis.hh" #include "Rivet/Projections/Beam.hh" #include "Rivet/Projections/ChargedFinalState.hh" #include "Rivet/Projections/UnstableParticles.hh" namespace Rivet { class ALEPH_1999_S4193598 : public Analysis { public: /// @name Constructors etc. //@{ /// Constructor ALEPH_1999_S4193598() : Analysis("ALEPH_1999_S4193598") { } //@} public: /// Book histograms and initialise projections before the run void init() { declare(Beam(), "Beams"); declare(UnstableParticles(), "UFS"); declare(ChargedFinalState(), "CFS"); _h_Xe_Ds = bookHisto1D(1, 1, 1); } /// Perform the per-event analysis void analyze(const Event& event) { const double weight = event.weight(); // Trigger condition const ChargedFinalState& cfs = apply(event, "CFS"); if (cfs.size() < 5) vetoEvent; const UnstableParticles& ufs = apply(event, "UFS"); // Get beams and average beam momentum const ParticlePair& beams = apply(event, "Beams").beams(); const double meanBeamMom = ( beams.first.p3().mod() + beams.second.p3().mod() ) / 2.0/GeV; // Accept all D*+- decays. Normalisation to data in finalize for (const Particle& p : filter_select(ufs.particles(), Cuts::abspid==PID::DSTARPLUS)) { // Scaled energy. const double energy = p.E()/GeV; const double scaledEnergy = energy/meanBeamMom; _h_Xe_Ds->fill(scaledEnergy, weight); } } /// Normalise histograms etc., after the run void finalize() { // Normalize to data integral - normalize(_h_Xe_Ds, 0.00498); + normalize(_h_Xe_Ds, 4.98); } private: Histo1DPtr _h_Xe_Ds; }; // The hook for the plugin system DECLARE_RIVET_PLUGIN(ALEPH_1999_S4193598); } diff --git a/analyses/pluginLEP/ALEPH_1999_S4193598.plot b/analyses/pluginLEP/ALEPH_1999_S4193598.plot --- a/analyses/pluginLEP/ALEPH_1999_S4193598.plot +++ b/analyses/pluginLEP/ALEPH_1999_S4193598.plot @@ -1,6 +1,6 @@ # BEGIN PLOT /ALEPH_1999_S4193598/d01-x01-y01 Title=Scaled energy of $D^{*\pm}$ in $e^+e^-\to Z\to\text{hadronic}$ at $\sqrt{s}=91.2$~GeV XLabel=$X_E$ -YLabel=$1/N_\text{Zhad} \text{d}N(D^{*})/\text{d}X_E$ +YLabel=$1000/N_\text{Zhad} \text{d}N(D^{*})/\text{d}X_E$ LogY=0 # END PLOT diff --git a/analyses/pluginLEP/ALEPH_1999_S4193598.yoda b/analyses/pluginLEP/ALEPH_1999_S4193598.yoda --- a/analyses/pluginLEP/ALEPH_1999_S4193598.yoda +++ b/analyses/pluginLEP/ALEPH_1999_S4193598.yoda @@ -1,46 +1,53 @@ BEGIN YODA_SCATTER2D_V2 /REF/ALEPH_1999_S4193598/d01-x01-y01 +Variations: [""] +ErrorBreakdown: {0: {error: {dn: -0.63, up: 0.63}}, 1: {error: {dn: -0.49, up: 0.49}}, 2: {error: {dn: -0.44, up: 0.44}}, 3: {error: {dn: -0.43, up: 0.43}}, 4: {error: {dn: -0.38, up: 0.38}}, 5: {error: {dn: -0.35, up: 0.35}}, 6: {error: {dn: -0.32, up: 0.32}}, 7: {error: {dn: -0.28, up: 0.28}}, 8: {error: {dn: -0.27, up: 0.27}}, 9: {error: {dn: -0.24, up: 0.24}}, 10: {error: {dn: -0.22, up: 0.22}}, 11: {error: {dn: -0.18, up: 0.18}}, 12: {error: {dn: -0.17, up: 0.17}}, 13: {error: {dn: -0.14, up: 0.14}}, 14: {error: {dn: -0.11, up: 0.11}}, 15: {error: {dn: -0.07, up: 0.07}}, 16: {error: {dn: -0.05, up: 0.05}}, 17: {error: {dn: -0.03, up: 0.03}}} + IsRef: 1 Path: /REF/ALEPH_1999_S4193598/d01-x01-y01 -Title: ~ +Title: doi:10.17182/hepdata.49183.v1/t1 Type: Scatter2D --- -# xval xerr- xerr+ yval yerr- yerr+ -1.250000e-01 2.500000e-02 2.500000e-02 7.470000e-03 6.300000e-04 6.300000e-04 -1.750000e-01 2.500000e-02 2.500000e-02 9.030000e-03 4.900000e-04 4.900000e-04 -2.250000e-01 2.500000e-02 2.500000e-02 1.042000e-02 4.400000e-04 4.400000e-04 -2.750000e-01 2.500000e-02 2.500000e-02 1.076000e-02 4.300000e-04 4.300000e-04 -3.250000e-01 2.500000e-02 2.500000e-02 9.890000e-03 3.800000e-04 3.800000e-04 -3.750000e-01 2.500000e-02 2.500000e-02 8.970000e-03 3.500000e-04 3.500000e-04 -4.250000e-01 2.500000e-02 2.500000e-02 8.170000e-03 3.200000e-04 3.200000e-04 -4.750000e-01 2.500000e-02 2.500000e-02 6.940000e-03 2.800000e-04 2.800000e-04 -5.250000e-01 2.500000e-02 2.500000e-02 6.730000e-03 2.700000e-04 2.700000e-04 -5.750000e-01 2.500000e-02 2.500000e-02 5.560000e-03 2.400000e-04 2.400000e-04 -6.250000e-01 2.500000e-02 2.500000e-02 4.940000e-03 2.200000e-04 2.200000e-04 -6.750000e-01 2.500000e-02 2.500000e-02 3.490000e-03 1.800000e-04 1.800000e-04 -7.250000e-01 2.500000e-02 2.500000e-02 3.130000e-03 1.700000e-04 1.700000e-04 -7.750000e-01 2.500000e-02 2.500000e-02 2.000000e-03 1.400000e-04 1.400000e-04 -8.250000e-01 2.500000e-02 2.500000e-02 1.270000e-03 1.100000e-04 1.100000e-04 -8.750000e-01 2.500000e-02 2.500000e-02 5.000000e-04 7.000000e-05 7.000000e-05 -9.250000e-01 2.500000e-02 2.500000e-02 2.700000e-04 5.000000e-05 5.000000e-05 -9.750000e-01 2.500000e-02 2.500000e-02 6.000000e-05 3.000000e-05 3.000000e-05 +# xval xerr- xerr+ yval yerr- yerr+ +1.250000e-01 2.500000e-02 2.500000e-02 7.470000e+00 6.300000e-01 6.300000e-01 +1.750000e-01 2.500000e-02 2.500000e-02 9.030000e+00 4.900000e-01 4.900000e-01 +2.250000e-01 2.500000e-02 2.500000e-02 1.042000e+01 4.400000e-01 4.400000e-01 +2.750000e-01 2.500000e-02 2.500000e-02 1.076000e+01 4.300000e-01 4.300000e-01 +3.250000e-01 2.500000e-02 2.500000e-02 9.890000e+00 3.800000e-01 3.800000e-01 +3.750000e-01 2.500000e-02 2.500000e-02 8.970000e+00 3.500000e-01 3.500000e-01 +4.250000e-01 2.500000e-02 2.500000e-02 8.170000e+00 3.200000e-01 3.200000e-01 +4.750000e-01 2.500000e-02 2.500000e-02 6.940000e+00 2.800000e-01 2.800000e-01 +5.250000e-01 2.500000e-02 2.500000e-02 6.730000e+00 2.700000e-01 2.700000e-01 +5.750000e-01 2.500000e-02 2.500000e-02 5.560000e+00 2.400000e-01 2.400000e-01 +6.250000e-01 2.500000e-02 2.500000e-02 4.940000e+00 2.200000e-01 2.200000e-01 +6.750000e-01 2.500000e-02 2.500000e-02 3.490000e+00 1.800000e-01 1.800000e-01 +7.250000e-01 2.500000e-02 2.500000e-02 3.130000e+00 1.700000e-01 1.700000e-01 +7.750000e-01 2.500000e-02 2.500000e-02 2.000000e+00 1.400000e-01 1.400000e-01 +8.250000e-01 2.500000e-02 2.500000e-02 1.270000e+00 1.100000e-01 1.100000e-01 +8.750000e-01 2.500000e-02 2.500000e-02 5.000000e-01 7.000000e-02 7.000000e-02 +9.250000e-01 2.500000e-02 2.500000e-02 2.700000e-01 5.000000e-02 5.000000e-02 +9.750000e-01 2.500000e-02 2.500000e-02 6.000000e-02 3.000000e-02 3.000000e-02 END YODA_SCATTER2D_V2 +BEGIN YODA_SCATTER2D_V2 /REF/ALEPH_1999_S4193598/d02-x01-y01 +Variations: [""] +ErrorBreakdown: {0: {stat: {dn: -6.7e-05, up: 6.7e-05}, sys: {dn: -7.2e-05, up: 7.2e-05}}} -BEGIN YODA_SCATTER2D_V2 /REF/ALEPH_1999_S4193598/d02-x01-y01 IsRef: 1 Path: /REF/ALEPH_1999_S4193598/d02-x01-y01 -Title: ~ +Title: doi:10.17182/hepdata.49183.v1/t2 Type: Scatter2D --- -# xval xerr- xerr+ yval yerr- yerr+ +# xval xerr- xerr+ yval yerr- yerr+ 5.000000e-01 5.000000e-01 5.000000e-01 5.114000e-03 9.835141e-05 9.835141e-05 END YODA_SCATTER2D_V2 +BEGIN YODA_SCATTER2D_V2 /REF/ALEPH_1999_S4193598/d03-x01-y01 +Variations: [""] +ErrorBreakdown: {0: {stat: {dn: -0.0047, up: 0.0047}, sys_1: {dn: -0.0088, up: 0.0088}, sys_2: {dn: -0.0075, up: 0.0075}}} -BEGIN YODA_SCATTER2D_V2 /REF/ALEPH_1999_S4193598/d03-x01-y01 IsRef: 1 Path: /REF/ALEPH_1999_S4193598/d03-x01-y01 -Title: ~ +Title: doi:10.17182/hepdata.49183.v1/t3 Type: Scatter2D --- -# xval xerr- xerr+ yval yerr- yerr+ -9.120000e+01 5.000000e-01 5.000000e-01 1.738000e-01 1.248119e-02 1.248119e-02 +# xval xerr- xerr+ yval yerr- yerr+ +9.120000e+01 0.000000e+00 0.000000e+00 1.738000e-01 1.248119e-02 1.248119e-02 END YODA_SCATTER2D_V2