|
YAP
|
Abstract base class for all mass shapes. More...
#include <MassShape.h>
Public Member Functions | |
| MassShape () | |
| Constructor. | |
| virtual const std::complex < double > | value (const DataPoint &d, const std::shared_ptr< ParticleCombination > &pc) const overridefinal |
| virtual void | calculate (DataPartition &D) const overridefinal |
| virtual void | setParameters (const ParticleTableEntry &entry) |
| virtual bool | consistent () const |
| Check consistency of object. | |
| Resonance * | resonance () const |
| get raw pointer to owning resonance | |
| virtual void | updateCalculationStatus (StatusManager &D) const overridefinal |
| update the calculationStatus for a DataPartition | |
| const Model * | model () const override |
| get raw pointer to Model through resonance | |
| virtual void | checkDecayChannel (const DecayChannel &c) const |
| Check if a DecayChannel is valid for this MassShape; will throw if invalid. | |
Public Member Functions inherited from RecalculableAmplitudeComponent | |
| RecalculableAmplitudeComponent (const ParticleCombinationEqualTo &equal) | |
| virtual const bool | validFor (const std::shared_ptr< ParticleCombination > &pc) const override |
| virtual const VariableStatus | status () const override |
| calls variable_status on parameters of object | |
Public Member Functions inherited from RecalculableDataAccessor | |
| RecalculableDataAccessor (const ParticleCombinationEqualTo &equal) | |
| void | setParameterFlagsToUnchanged () |
| set VariableStatus of all Parameters to unchanged (or leave fixed) | |
| const ParameterSet & | parameters () const |
Public Member Functions inherited from DataAccessor | |
| DataAccessor (const ParticleCombinationEqualTo &equal) | |
| const ParticleCombinationEqualTo & | equal () const |
| int | index () const |
| unsigned | symmetrizationIndex (const std::shared_ptr< ParticleCombination > &c) const |
| const ParticleCombinationMap < unsigned > & | symmetrizationIndices () const |
| const unsigned | nSymmetrizationIndices () const |
| void | printParticleCombinations () const |
| print ParticleCombination map | |
| const CachedValueSet & | CachedValues () const |
| const unsigned | size () const |
| const bool | requiresStorage () const |
| bool | consistent () const |
| Check consistency of object. | |
Protected Member Functions | |
| virtual void | setResonance (Resonance *r) |
| Set raw pointer to owning Resonance. | |
| virtual void | addDecayChannel (std::shared_ptr< DecayChannel > c) |
|
std::shared_ptr < ComplexCachedValue > | T () |
| access cached dynamic amplitude | |
|
const std::shared_ptr < ComplexCachedValue > | T () const |
| access cached dynamic amplitude (const) | |
| virtual void | calculateT (DataPartition &D, const std::shared_ptr< ParticleCombination > &pc, unsigned si) const =0 |
Protected Member Functions inherited from RecalculableDataAccessor | |
| virtual void | registerWithModel () override |
| register with Model | |
| void | addParameter (std::shared_ptr< ParameterBase > p) |
| add a parameter for evaluating variableStatus | |
Protected Member Functions inherited from DataAccessor | |
| void | addCachedValue (std::shared_ptr< CachedValue > c) |
| add CachedValue | |
| virtual void | addParticleCombination (std::shared_ptr< ParticleCombination > pc) |
| add ParticleCombination to SymmetrizationIndices_ | |
| virtual void | pruneSymmetrizationIndices () |
| prune SymmetrizationIndices_ to only contain ParticleCombination's tracing back up the ISP | |
| void | setIndex (size_t i) |
| set storage index used in DataPoint. Must be unique. | |
Private Attributes | |
| Resonance * | Resonance_ |
| raw pointer to resonance that owns this mass shape | |
|
std::shared_ptr < ComplexCachedValue > | T_ |
| cached dynamic amplitude | |
Friends | |
| class | Resonance |
Additional Inherited Members | |
Public Attributes inherited from DataAccessor | |
| friend | Model |
| grant friend status to Model to access CachedValues_ | |
| friend | CachedValue |
| grant friend status to CachedValue to call addCachedValue | |
Abstract base class for all mass shapes.
|
inlineprotectedvirtual |
Give MassShape chance to perform operations based on the addition of a DecayChannel to its Resonance
Reimplemented in RelativisticBreitWigner.
|
finaloverridevirtual |
Calculate complex amplitudes for and store in each DataPoint in DataPartition; calls calculateT, which must be overrided in derived classes
| D | DataPartition to calculate on |
Implements RecalculableDataAccessor.
|
protectedpure virtual |
Calculate dynamic amplitude T for and store in each DataPoint in DataPartition
| D | DataPartition to calculate on |
| pc | ParticleCombination to calculate for |
| si | SymmetrizationIndec to calculate for |
Implemented in Flatte, RelativisticBreitWigner, BreitWigner, and PoleMass.
|
inlinevirtual |
Set parameters from ParticleTableEntry Can be overloaded in inheriting classes
| entry | ParticleTableEntry containing information to create mass shape object |
Reimplemented in BreitWigner, PoleMass, and MassShapeWithNominalMass.
|
finaloverridevirtual |
| d | DataPoint |
| pc | shared_ptr to ParticleCombination |
Implements AmplitudeComponent.
|
friend |
Grant Resonance friendship, so it can set itself as owner and call addDecayChannel
1.8.6