YAP
|
Class implementing a decay channel. More...
#include <DecayChannel.h>
Public Member Functions | |
virtual bool | consistent () const |
check consistency of object | |
void | addSpinAmplitude (std::shared_ptr< SpinAmplitude > sa) |
add a spin amplitude More... | |
void | addAllPossibleSpinAmplitudes (unsigned two_J) |
Constructors | |
DecayChannel (const ParticleVector &daughters) | |
Getters | |
const ParticleVector & | daughters () const |
Get Daughters. | |
const SpinAmplitudeVector & | spinAmplitudes () const |
Get SpinAmplitude objects. | |
const PhaseSpaceFactorMap & | phaseSpaceFactors () const |
const ParticleCombinationSet & | particleCombinations () const |
const Model * | model () const |
Protected Member Functions | |
virtual void | registerWithModel () |
register any necessary DataAccessor's with model | |
virtual void | addParticleCombination (std::shared_ptr< ParticleCombination > c) |
Add particle combination. | |
virtual void | pruneParticleCombinations () |
prune ParticleCombinations_ to only contain ParticleCombination's tracing back up the ISP | |
Private Attributes | |
ParticleVector | Daughters_ |
daughters of the decay | |
SpinAmplitudeVector | SpinAmplitudes_ |
Vector of SpinAmplitudes. | |
PhaseSpaceFactorMap | PhaseSpaceFactors_ |
map of SpinAmplitude to PhaseSpaceFactor | |
ParticleCombinationSet | ParticleCombinations_ |
vector of shared_ptr<ParticleCombination> | |
Friends | |
class | DecayingParticle |
Class implementing a decay channel.
DecayChannel | ( | const ParticleVector & | daughters | ) |
N-particle Constructor (at the moment only valid for 2 particles). DecayChannel inherits ISP from daughters.
void addAllPossibleSpinAmplitudes | ( | unsigned | two_J | ) |
automatically create all possible spin amplitudes given initial spin J
two_J,(twice) | decaying particle's spin |
void addSpinAmplitude | ( | std::shared_ptr< SpinAmplitude > | sa | ) |
add a spin amplitude
const Model * model | ( | ) | const |
|
inline |
|
inline |
|
friend |
grant friend status to DecayingParticle to call addParticleCombination, pruneParticleCombinations, registerWithModel, and to access PhaseSpaceFactors_