YAP
|
Class holding vectors of fixed and free amplitudes that define a decay tree. More...
#include <DecayTree.h>
Public Types | |
using | DaughterDecayTreeMap = std::map< unsigned, std::shared_ptr< DecayTree > > |
Public Member Functions | |
DecayTree (std::shared_ptr< FreeAmplitude > free_amp) | |
const std::complex< double > | dataIndependentAmplitude () const |
const std::complex< double > | dataDependentAmplitude (const DataPoint &d) const |
const std::complex< double > | dataDependentAmplitude (const DataPoint &d, const std::shared_ptr< ParticleCombination > &pc) const |
const VariableStatus | dataDependentAmplitudeStatus () const |
const std::shared_ptr < FreeAmplitude > & | freeAmplitude () const |
const DaughterDecayTreeMap | daughterDecayTrees () const |
std::shared_ptr< DecayingParticle > | decayingParticle () const |
const Model * | model () const |
Protected Member Functions | |
void | setDaughterDecayTree (unsigned i, std::shared_ptr< DecayTree > dt) |
void | setDaughterSpinProjection (unsigned i, int two_m) |
void | addAmplitudeComponent (const AmplitudeComponent &rda) |
Add an AmplitudeComponent. | |
Private Attributes | |
std::shared_ptr< FreeAmplitude > | FreeAmplitude_ |
ComplexParameter of the free amplitude for the decay. | |
SpinProjectionVector | DaughtersTwoM_ |
daughter spin projections | |
std::vector< const AmplitudeComponent * > | AmplitudeComponents_ |
vector of AmplitudeComponent's | |
DaughterDecayTreeMap | DaughterDecayTrees_ |
map of daughter index -> daughter DecayTree | |
Friends | |
class | DecayChannel |
grant friend status to DecayChannel to call addDataAccessor | |
class | DecayingParticle |
grant friend status to DecayingParticle to call addDataAccessor | |
class | Resonance |
grant friend status to Resonance to call addDataAccessor | |
Class holding vectors of fixed and free amplitudes that define a decay tree.
key is daughter index, value is decay tree of daughter
|
explicit |
Constructor
two_M | (twice) the spin projection of the parent particle |
two_m | array of (twice) the spin projections of the daughters |
free_amp | shared_ptr to ComplexParameter for the free amplitude |
const std::complex< double > dataDependentAmplitude | ( | const DataPoint & | d | ) | const |
d | DataPoint |
const std::complex< double > dataDependentAmplitude | ( | const DataPoint & | d, |
const std::shared_ptr< ParticleCombination > & | pc | ||
) | const |
d | DataPoint |
pc | shared_ptr<ParticleCombination> |
const VariableStatus dataDependentAmplitudeStatus | ( | ) | const |
const std::complex< double > dataIndependentAmplitude | ( | ) | const |
|
inline |
std::shared_ptr< DecayingParticle > decayingParticle | ( | ) | const |
|
inline |
const Model * model | ( | ) | const |
|
protected |
|
inlineprotected |
set daughter spin projection
two_m | (twice) the spin projection |