YAP
|
Class for a particle that will decay and has a mass shape. More...
#include <Resonance.h>
Public Member Functions | |
virtual void | checkDecayChannel (const DecayChannel &c) const override |
virtual std::shared_ptr < DecayChannel > | addChannel (std::shared_ptr< DecayChannel > c) override |
virtual bool | consistent () const override |
Check consistency of object. | |
Getters | |
std::shared_ptr< MassShape > | massShape () |
access MassShape | |
std::shared_ptr< const MassShape > | massShape () const |
access MassShape (const) | |
![]() | |
const DecayTreeVectorMap & | decayTrees () const |
std::shared_ptr< DecayChannel > | addChannel (const ParticleVector &daughters) |
template<typename... Types> | |
std::shared_ptr< DecayChannel > | addChannel (std::shared_ptr< Particle > A, std::shared_ptr< Particle > B, Types...other_daughters) |
void | printDecayChain () const |
Print complete decay chain. | |
const Model * | model () const override |
const DecayChannelVector & | channels () const |
std::shared_ptr< RealParameter > | radialSize () |
const BlattWeisskopfMap & | blattWeisskopfs () const |
![]() | |
const QuantumNumbers & | quantumNumbers () const |
const access QuantumNumbers object | |
const std::string & | name () const |
Get name (const) | |
std::string & | name () |
Get name. | |
const ParticleCombinationSet & | particleCombinations () const |
Static Public Member Functions | |
static std::shared_ptr< Resonance > | create (std::string name, const QuantumNumbers &q, double radialSize, std::shared_ptr< MassShape > massShape, std::shared_ptr< PhaseSpaceFactorFactory > phsp_factory=DefaultPHSPFactory) |
![]() | |
static std::shared_ptr < DecayingParticle > | create (std::string name, const QuantumNumbers &q, double radialSize, std::shared_ptr< PhaseSpaceFactorFactory > phsp_factory=DefaultPHSPFactory) |
Public Attributes | |
friend | MassShape |
grant friend status to MassShape to call DecayingParticle::phaseSpaceFactor | |
![]() | |
friend | Model |
grant friend status to Model to call fixSolitaryFreeAmplitudes() | |
friend | DecayChannel |
grant friend status to DecayChannel to call registerWithModel() | |
Protected Member Functions | |
Resonance (std::string name, const QuantumNumbers &q, double radialSize, std::shared_ptr< MassShape > massShape, std::shared_ptr< PhaseSpaceFactorFactory > phsp_factory) | |
virtual void | registerWithModel () override |
overrides DecayingParticle's function to register MassShape_ with Model | |
virtual void | addParticleCombination (const std::shared_ptr< ParticleCombination > &c) override |
virtual void | modifyDecayTree (DecayTree &dt) override |
virtual std::shared_ptr < PhaseSpaceFactor > | phaseSpaceFactor (const DecayChannel &dc, const SpinAmplitude &sa) overridefinal |
![]() | |
DecayingParticle (std::string name, const QuantumNumbers &q, double radialSize, std::shared_ptr< PhaseSpaceFactorFactory > phsp_factory) | |
virtual void | pruneParticleCombinations () override |
prune ParticleCombinations_ to only contain ParticleCombination's tracing back up the ISP | |
void | fixSolitaryFreeAmplitudes () |
if only one decay channel is available, fix its free amplitude to the current value | |
void | printDecayChainLevel (int level) const |
std::shared_ptr < PhaseSpaceFactorFactory > | phaseSpaceFactorFactory () |
![]() | |
Particle (std::string name, const QuantumNumbers &q) | |
Private Attributes | |
std::shared_ptr< MassShape > | MassShape_ |
Class for a particle that will decay and has a mass shape.
|
protected |
Constructor see create
|
overridevirtual |
Add a DecayChannel to this Resonance
c | unique_ptr to DecayChannel, should be constructed in function call, or use std::move(c) |
Reimplemented from DecayingParticle.
|
overrideprotectedvirtual |
add ParticleCombination to ParticleCombinations_, also add to MassShape_
Reimplemented from DecayingParticle.
|
overridevirtual |
Check if a DecayChannel is valid for Resonance; will throw if invalid. checks with MassShape_
Reimplemented from DecayingParticle.
|
inlinestatic |
create
name | Name of resonance |
q | QuantumNumbers of resonance |
radialSize | radial size of resonance |
massShape | shared_ptr to MassShape of resonance |
|
overrideprotectedvirtual |
|
finaloverrideprotectedvirtual |
(create and) return a RecalculableAmplitudeComponent that calculates a phase-space factor applicaple for the final state of DecayChannel and the orbital angular momentum of SpinAmplitude
dc | DecayChannel |
sa | SpinAmplitude |
Reimplemented from DecayingParticle.
|
private |