21 #ifndef yap_Resonance_h
22 #define yap_Resonance_h
24 #include "fwd/DataPartition.h"
25 #include "fwd/DataPoint.h"
26 #include "fwd/DecayChannel.h"
27 #include "fwd/MassShape.h"
28 #include "fwd/ParticleCombination.h"
29 #include "fwd/PhaseSpaceFactor.h"
30 #include "fwd/QuantumNumbers.h"
31 #include "fwd/SpinAmplitude.h"
32 #include "fwd/StatusManager.h"
62 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)
63 {
return std::shared_ptr<Resonance>(
new Resonance(name, q, radialSize, massShape, phsp_factory)); }
74 virtual std::shared_ptr<DecayChannel>
addChannel(std::shared_ptr<DecayChannel> c)
override;
virtual void checkDecayChannel(const DecayChannel &c) const override
Definition: Resonance.cxx:40
virtual bool consistent() const override
Check consistency of object.
Definition: Resonance.cxx:47
virtual void registerWithModel() override
overrides DecayingParticle's function to register MassShape_ with Model
Definition: Resonance.cxx:64
virtual std::shared_ptr< DecayChannel > addChannel(std::shared_ptr< DecayChannel > c)
Definition: DecayingParticle.cxx:74
Class holding vectors of fixed and free amplitudes that define a decay tree.
Definition: DecayTree.h:49
std::shared_ptr< MassShape > MassShape_
Definition: Resonance.h:120
std::shared_ptr< const MassShape > massShape() const
access MassShape (const)
Definition: Resonance.h:87
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)
Definition: Resonance.h:62
std::shared_ptr< MassShape > massShape()
access MassShape
Definition: Resonance.h:83
Resonance(std::string name, const QuantumNumbers &q, double radialSize, std::shared_ptr< MassShape > massShape, std::shared_ptr< PhaseSpaceFactorFactory > phsp_factory)
Definition: Resonance.cxx:13
virtual void modifyDecayTree(DecayTree &dt) override
Definition: Resonance.cxx:78
virtual void addParticleCombination(const std::shared_ptr< ParticleCombination > &c) override
Definition: Resonance.cxx:71
std::shared_ptr< RealParameter > radialSize()
Definition: DecayingParticle.h:107
const std::string & name() const
Get name (const)
Definition: Particle.h:72
virtual std::shared_ptr< PhaseSpaceFactor > phaseSpaceFactor(const DecayChannel &dc, const SpinAmplitude &sa) overridefinal
Definition: Resonance.cxx:24
Definition: DecayingParticle.h:51
Class for a particle that will decay and has a mass shape.
Definition: Resonance.h:47
virtual std::shared_ptr< DecayChannel > addChannel(std::shared_ptr< DecayChannel > c) override
Definition: Resonance.cxx:32
Quantum numbers of a Particle.
Definition: QuantumNumbers.h:35
friend MassShape
grant friend status to MassShape to call DecayingParticle::phaseSpaceFactor
Definition: Resonance.h:93
Class implementing a decay channel.
Definition: DecayChannel.h:40
Abstract base class implementing a spin amplitude.
Definition: SpinAmplitude.h:46