Rivet analyses referenceBELLE_2018_I1641071Mass distributions in $\Omega_c^0$ decaysExperiment: BELLE (KEKB) Inspire ID: 1641071 Status: VALIDATED NOHEPDATA Authors:
Beam energies: ANY Run details:
Measurement of the mass distributions in the decays $\Omega_c^0\to\Omega^-\pi^+\pi^0$, $\Xi^-K^+\pi^+\pi^+$ and $\Xi^0K^-\pi^+$ . The data were read from the plots in the paper and are not corrected. Source code: BELLE_2018_I1641071.cc 1// -*- C++ -*-
2#include "Rivet/Analysis.hh"
3#include "Rivet/Projections/UnstableParticles.hh"
4#include "Rivet/Projections/DecayedParticles.hh"
5
6namespace Rivet {
7
8
9 /// @brief Omega_c decays
10 class BELLE_2018_I1641071 : public Analysis {
11 public:
12
13 /// Constructor
14 RIVET_DEFAULT_ANALYSIS_CTOR(BELLE_2018_I1641071);
15
16
17 /// @name Analysis methods
18 /// @{
19
20 /// Book histograms and initialise projections before the run
21 void init() {
22 UnstableParticles ufs = UnstableParticles(Cuts::abspid==4332);
23 declare(ufs, "UFS");
24 DecayedParticles OMEGAC(ufs);
25 OMEGAC.addStable( PID::PI0);
26 OMEGAC.addStable( PID::K0S);
27 OMEGAC.addStable( PID::XIMINUS);
28 OMEGAC.addStable(-PID::XIMINUS);
29 OMEGAC.addStable( PID::XI0);
30 OMEGAC.addStable(-PID::XI0);
31 OMEGAC.addStable( PID::OMEGAMINUS);
32 OMEGAC.addStable(-PID::OMEGAMINUS);
33 declare(OMEGAC, "OMEGAC");
34 for(unsigned int ix=0;ix<4;++ix)
35 book(_h[ix],1,1,1+ix);
36 }
37
38
39 /// Perform the per-event analysis
40 void analyze(const Event& event) {
41 static const map<PdgId,unsigned int> & mode1 = { { 3334,1}, { 211,1}, { 111,1} };
42 static const map<PdgId,unsigned int> & mode1CC = { {-3334,1}, {-211,1}, { 111,1} };
43 static const map<PdgId,unsigned int> & mode2 = { { 3312,1}, {-321,1}, { 211,2} };
44 static const map<PdgId,unsigned int> & mode2CC = { {-3312,1}, { 321,1}, {-211,2} };
45 static const map<PdgId,unsigned int> & mode3 = { { 3322,1}, {-321,1}, { 211,1} };
46 static const map<PdgId,unsigned int> & mode3CC = { {-3322,1}, { 321,1}, {-211,1} };
47 DecayedParticles OMEGAC = apply<DecayedParticles>(event, "OMEGAC");
48 // loop over particles
49 for(unsigned int ix=0;ix<OMEGAC.decaying().size();++ix) {
50 int sign = OMEGAC.decaying()[ix].pid()/OMEGAC.decaying()[ix].abspid();
51 // omega pi+ pi0
52 if (( sign==1 && OMEGAC.modeMatches(ix,3,mode1 )) ||
53 ( sign==-1 && OMEGAC.modeMatches(ix,3,mode1CC))) {
54 const Particle & pi0 = OMEGAC.decayProducts()[ix].at( 111)[0];
55 const Particle & pip = OMEGAC.decayProducts()[ix].at( sign*211 )[0];
56 _h[0]->fill((pi0.momentum()+pip.momentum()).mass());
57 }
58 // Xi- K- pi+pi+
59 else if (( sign==1 && OMEGAC.modeMatches(ix,4,mode2 )) ||
60 ( sign==-1 && OMEGAC.modeMatches(ix,4,mode2CC))) {
61 const Particles & pip = OMEGAC.decayProducts()[ix].at( sign*211);
62 const Particle & Km = OMEGAC.decayProducts()[ix].at(-sign*321)[0];
63 const Particle & xim = OMEGAC.decayProducts()[ix].at(sign*3312)[0];
64 _h[1]->fill((xim.momentum()+pip[0].momentum()).mass());
65 _h[1]->fill((xim.momentum()+pip[1].momentum()).mass());
66 _h[2]->fill(( Km.momentum()+pip[0].momentum()).mass());
67 _h[2]->fill(( Km.momentum()+pip[1].momentum()).mass());
68 }
69 // Xi0 K- pi+
70 else if (( sign==1 && OMEGAC.modeMatches(ix,3,mode3 )) ||
71 ( sign==-1 && OMEGAC.modeMatches(ix,3,mode3CC))) {
72 const Particle & pip = OMEGAC.decayProducts()[ix].at( sign*211)[0];
73 const Particle & Km = OMEGAC.decayProducts()[ix].at(-sign*321)[0];
74 _h[3]->fill(( Km.momentum()+pip.momentum()).mass());
75 }
76 }
77 }
78
79
80 /// Normalise histograms etc., after the run
81 void finalize() {
82 for(unsigned int ix=0;ix<4;++ix)
83 normalize(_h[ix]);
84 }
85
86 /// @}
87
88
89 /// @name Histograms
90 /// @{
91 Histo1DPtr _h[4];
92 /// @}
93
94
95 };
96
97
98 RIVET_DECLARE_PLUGIN(BELLE_2018_I1641071);
99
100}
|