rivet is hosted by Hepforge, IPPP Durham

## Rivet analyses reference

### BELLE_2017_I1607562

Invariant-mass and fractional-energy dependence of inclusive production of di-hadrons at $\sqrt{s}=10.58$ GeV
Experiment: BELLE (KEKB)
Inspire ID: 1607562
Status: VALIDATED
Authors:
• Peter Richardson
References:
• Phys.Rev. D96 (2017) no.3, 032005
Beams: e+ e-
Beam energies: (5.3, 5.3) GeV
Run details:
  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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 `// -*- C++ -*- #include "Rivet/Analysis.hh" #include "Rivet/Projections/FinalState.hh" #include "Rivet/Projections/Thrust.hh" #include "Rivet/Tools/BinnedHistogram.hh" namespace Rivet { /// @brief BELLE double differential cross section class BELLE_2017_I1607562 : public Analysis { public: /// Constructor DEFAULT_RIVET_ANALYSIS_CTOR(BELLE_2017_I1607562); /// @name Analysis methods ///@{ /// Book histograms and initialise projections before the run void init() { // projections FinalState fs; declare(fs,"FS"); declare(Thrust(fs),"Thrust"); // histograms double bins[17]={0.20,0.25,0.30,0.35,0.40,0.45,0.50,0.55,0.60, 0.65,0.70,0.75,0.80,0.85,0.90,0.95,1.00}; for(unsigned int ip=0;ip<6;++ip) { for(unsigned int iy=0;iy<16;++iy) { Histo1DPtr temp; book(temp,1,ip+1,iy+1); _h_all [ip].add(bins[iy],bins[iy+1],temp); book(temp,2,ip+1,iy+1); _h_strong[ip].add(bins[iy],bins[iy+1],temp); } } } bool isWeak(const Particle & p) { bool weak = false; if(p.parents().empty()) return weak; Particle parent = p.parents()[0]; while (!parent.parents().empty()) { if(parent.abspid()==411 || parent.abspid()==421 || parent.abspid()==431 || parent.abspid()==4122 || parent.abspid()==4232 || parent.abspid()==4132 || parent.abspid()==4332) { weak=true; break; } parent = parent.parents()[0]; } return weak; } /// Perform the per-event analysis void analyze(const Event& event) { // get thrust and apply cut const Thrust thrust = apply(event,"Thrust"); if(thrust.thrust()<0.8) vetoEvent; // get thrust axis Vector3 axis = thrust.thrustAxis(); Particles charged = apply(event,"FS").particles(Cuts::abspid==PID::KPLUS or Cuts::abspid==PID::PIPLUS); for(unsigned int ix=0;ix