rivet is hosted by Hepforge, IPPP Durham

Rivet analyses reference

BESIII_2022_I2122399

$pK^-$ mass distribution in $\Lambda_c^+\to pK^-e^+\nu_e$
Experiment: BESIII (BEPC)
Inspire ID: 2122399
Status: VALIDATED NOHEPDATA
Authors:
  • Peter Richardson
References: Beams: * *
Beam energies: ANY
Run details:
  • Any process producing Lambda_c+

Measurement of the $pK^-$ mass distribution in $\Lambda_c^+\to pK^-e^+\nu_e$ by BES-III. N.B. The data were read from the paper and may not have been corrected for acceptance.

Source code: BESIII_2022_I2122399.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
69
70
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/UnstableParticles.hh"
#include "Rivet/Projections/DecayedParticles.hh"

namespace Rivet {


  /// @brief Lambda_c+ -> p K- e+ nu_e
  class BESIII_2022_I2122399 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(BESIII_2022_I2122399);


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

    /// Book histograms and initialise projections before the run
    void init() {
      // Initialise and register projections
      UnstableParticles ufs = UnstableParticles(Cuts::pid==4122);
      declare(ufs, "UFS");
      DecayedParticles LambdaC(ufs);
      LambdaC.addStable(PID::PI0);
      LambdaC.addStable(PID::K0S);
      LambdaC.addStable(PID::ETA);
      LambdaC.addStable(PID::ETAPRIME);
      declare(LambdaC, "LambdaC");
      
      // Book histogram
      book(_h,1,1,1);
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {
      static const map<PdgId,unsigned int> & mode = { { -321,1}, { 2212,1}, {-11,1}, { 12,1}};
      DecayedParticles LambdaC = apply<DecayedParticles>(event, "LambdaC");
      // loop over particles
      for(unsigned int ix=0;ix<LambdaC.decaying().size();++ix) {
	if ( !LambdaC.modeMatches(ix,4,mode) ) continue;
       	const Particle & Km = LambdaC.decayProducts()[ix].at(-321 )[0];
       	const Particle & pp = LambdaC.decayProducts()[ix].at( 2212)[0];
	_h->fill((Km.momentum()+pp.momentum()).mass());
      }
    }


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

    /// @}


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


  };


  RIVET_DECLARE_PLUGIN(BESIII_2022_I2122399);

}