Version: SMASH-3.1
smash::TwoBodyDecayUnstable Class Reference

#include <decaytype.h>

TwoBodyDecayUnstable represents a decay type with two unstable final-state particles.

Definition at line 241 of file decaytype.h.

Inheritance diagram for smash::TwoBodyDecayUnstable:
smash::TwoBodyDecay smash::DecayType

Public Member Functions

 TwoBodyDecayUnstable (ParticleTypePtrList part_types, int l)
 Construct a TwoBodyDecayUnstable. More...
 
double width (double m0, double G0, double m) const override
 
double in_width (double m0, double G0, double m, double m1, double m2) const override
 
- Public Member Functions inherited from smash::TwoBodyDecay
 TwoBodyDecay (ParticleTypePtrList part_types, int l)
 Construct a TwoBodyDecay. More...
 
unsigned int particle_number () const override
 
bool has_particles (ParticleTypePtrList list) const override
 
double threshold () const
 
- Public Member Functions inherited from smash::DecayType
 DecayType (ParticleTypePtrList part_types, int l)
 Construct a DecayType. More...
 
virtual ~DecayType ()=default
 Virtual Destructor. More...
 
virtual bool has_mother ([[maybe_unused]] ParticleTypePtr mother) const
 
const ParticleTypePtrList & particle_types () const
 
int angular_momentum () const
 
virtual bool is_dilepton_decay () const
 

Protected Member Functions

double rho (double m) const override
 See TwoBodyDecay::rho. More...
 
double get_Lambda ()
 
- Protected Member Functions inherited from smash::TwoBodyDecay
virtual double rho ([[maybe_unused]] double mass) const
 This is a virtual helper method which is used to write the width as Gamma(m) = Gamma_0 * rho(m) / rho(m_0). More...
 

Protected Attributes

double Lambda_
 Cut-off parameter Λ for unstable decays. More...
 
std::unique_ptr< Tabulationtabulation_
 Tabulation of the resonance integrals. More...
 
- Protected Attributes inherited from smash::DecayType
ParticleTypePtrList particle_types_
 final-state particles of the decay More...
 
int L_
 angular momentum of the decay More...
 

Constructor & Destructor Documentation

◆ TwoBodyDecayUnstable()

smash::TwoBodyDecayUnstable::TwoBodyDecayUnstable ( ParticleTypePtrList  part_types,
int  l 
)

Construct a TwoBodyDecayUnstable.

Parameters
[in]part_typesFinal-state particles of the decay.
[in]lAngular momentum of the decay.
Returns
The constructed object.

Definition at line 181 of file decaytype.cc.

183  : TwoBodyDecay(part_types, l), Lambda_(get_Lambda()), tabulation_(nullptr) {
184  if (part_types[0]->is_stable() || part_types[1]->is_stable()) {
185  throw std::runtime_error(
186  "Error: Stable particle in TwoBodyDecayUnstable constructor: " +
187  part_types[0]->pdgcode().string() + " " +
188  part_types[1]->pdgcode().string());
189  }
190 }
std::unique_ptr< Tabulation > tabulation_
Tabulation of the resonance integrals.
Definition: decaytype.h:270
double Lambda_
Cut-off parameter Λ for unstable decays.
Definition: decaytype.h:267
TwoBodyDecay(ParticleTypePtrList part_types, int l)
Construct a TwoBodyDecay.
Definition: decaytype.cc:51

Member Function Documentation

◆ width()

double smash::TwoBodyDecayUnstable::width ( double  m0,
double  G0,
double  m 
) const
overridevirtual
Returns
the mass-dependent width of the decay.
Parameters
[in]m0Pole mass of the decaying particle [GeV].
[in]G0Partial width at the pole mass [GeV].
[in]mActual mass of the decaying particle [GeV].

Implements smash::DecayType.

Definition at line 227 of file decaytype.cc.

227  {
228  return G0 * rho(m) / rho(m0) * post_ff_sqr(m, m0, threshold(), Lambda_);
229 }
double rho(double m) const override
See TwoBodyDecay::rho.
Definition: decaytype.cc:199
double threshold() const
Definition: decaytype.h:107
double post_ff_sqr(double m, double M0, double srts0, double L)
An additional form factor for unstable final states as used in GiBUU, according to M.
Definition: formfactors.h:77

◆ in_width()

double smash::TwoBodyDecayUnstable::in_width ( double  m0,
double  G0,
double  m,
double  m1,
double  m2 
) const
overridevirtual
Returns
The mass-dependent in-width for a resonance formation process.
Parameters
[in]m0Pole mass of the produced resonance [GeV].
[in]G0Partial width at the pole mass [GeV].
[in]mActual mass of the produced resonance [GeV].
[in]m1Actual mass of the first incoming particle [GeV].
[in]m2Actual mass of the second incoming particle [GeV].

Implements smash::DecayType.

Definition at line 231 of file decaytype.cc.

232  {
233  const double p_f = pCM(m, m1, m2);
234 
235  return G0 * p_f * blatt_weisskopf_sqr(p_f, L_) *
236  post_ff_sqr(m, m0, threshold(), Lambda_) / (m * rho(m0));
237 }
int L_
angular momentum of the decay
Definition: decaytype.h:88
T pCM(const T sqrts, const T mass_a, const T mass_b) noexcept
Definition: kinematics.h:79
double blatt_weisskopf_sqr(const double p_ab, const int L)
Definition: formfactors.h:35

◆ rho()

double smash::TwoBodyDecayUnstable::rho ( double  m) const
overrideprotected

See TwoBodyDecay::rho.

Definition at line 199 of file decaytype.cc.

199  {
200  if (tabulation_ == nullptr) {
201  /* TODO(weil): Move this lazy init to a global initialization function,
202  * in order to avoid race conditions in multi-threading. */
203  const ParticleTypePtr r1 = particle_types_[0];
204  const ParticleTypePtr r2 = particle_types_[1];
205  const double m1_min = r1->min_mass_kinematic();
206  const double m2_min = r2->min_mass_kinematic();
207  const double sum_gamma = r1->width_at_pole() + r2->width_at_pole();
208  const double tab_interval = std::max(2., 10. * sum_gamma);
209 
210  tabulation_ = std::make_unique<Tabulation>(
211  m1_min + m2_min, tab_interval, num_tab_pts, [&](double sqrts) {
212  const double m1_max = sqrts - m2_min;
213  const double m2_max = sqrts - m1_min;
214 
215  const double result = integrate2d(m1_min, m1_max, m2_min, m2_max,
216  [&](double m1, double m2) {
218  sqrts, m1, m2, r1, r2, L_);
219  })
220  .value();
221  return result;
222  });
223  }
224  return tabulation_->get_value_linear(mass);
225 }
ParticleTypePtrList particle_types_
final-state particles of the decay
Definition: decaytype.h:86
static double integrand_rho_Manley_2res(double sqrts, double m1, double m2, ParticleTypePtr t1, ParticleTypePtr t2, int L)
Definition: decaytype.cc:35
static Integrator2d integrate2d(1E7)
constexpr size_t num_tab_pts
Number of tabulation points.
Definition: decaytype.cc:142

◆ get_Lambda()

double smash::TwoBodyDecayUnstable::get_Lambda ( )
protected
Returns
the cut-off parameter Λ for unstable decays, given the types of the daughter particles.

Definition at line 192 of file decaytype.cc.

192  {
193  // for now: use the same value for all unstable decays (fixed on f₂ → ρ ρ)
194  return 0.6;
195 }

Member Data Documentation

◆ Lambda_

double smash::TwoBodyDecayUnstable::Lambda_
protected

Cut-off parameter Λ for unstable decays.

Definition at line 267 of file decaytype.h.

◆ tabulation_

std::unique_ptr<Tabulation> smash::TwoBodyDecayUnstable::tabulation_
mutableprotected

Tabulation of the resonance integrals.

Definition at line 270 of file decaytype.h.


The documentation for this class was generated from the following files: