|
YAP
|
Calculates, stores and gives access to breakup momenta (using measured masses) More...
#include <MeasuredBreakupMomenta.h>
Public Member Functions | |
| MeasuredBreakupMomenta (Model &m) | |
| virtual void | calculate (DataPoint &d, StatusManager &sm) const override |
| double | q2 (const DataPoint &d, const std::shared_ptr< ParticleCombination > &pc) const |
| double | q (const DataPoint &d, const std::shared_ptr< ParticleCombination > &pc) const |
| double | rho (const DataPoint &d, const std::shared_ptr< ParticleCombination > &pc) const |
| std::shared_ptr< RealCachedValue > | breakupMomenta () |
| std::shared_ptr< RealCachedValue > | breakupMomenta () const |
Public Member Functions inherited from StaticDataAccessor | |
| StaticDataAccessor (Model &m, const ParticleCombinationEqualTo &equal) | |
| const Model * | model () const override |
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 | addToStaticDataAccessors () override |
| add to model's StaticDataAccessors_ | |
| void | addParticleCombination (std::shared_ptr< ParticleCombination > pc) override |
| override to throw on adding final-state PC or more-than-two-body PC | |
Protected Member Functions inherited from StaticDataAccessor | |
| virtual void | registerWithModel () override |
| register with Model | |
| StaticDataAccessorVector & | staticDataAccessors () |
| access to the model's StaticDataAccessors_ | |
Protected Member Functions inherited from DataAccessor | |
| void | addCachedValue (std::shared_ptr< CachedValue > c) |
| add CachedValue | |
| 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. | |
Protected Attributes | |
| std::shared_ptr< RealCachedValue > | Q2_ |
| squared breakup momentum [GeV^2] | |
Friends | |
| class | Model |
| grant friend status to Model to call addParticleCombination | |
| class | DataAccessor |
| grant friend status to DataAccessor to call addParticleCombination | |
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 | |
Calculates, stores and gives access to breakup momenta (using measured masses)
| MeasuredBreakupMomenta | ( | Model & | m | ) |
Constructor
| m | owning Model |
|
inline |
|
inline |
|
overridevirtual |
Calculate breakup momenta for all possible symmetrization indices
| d | DataPoint to caluclate into |
| sm | StatusManager to update |
Implements StaticDataAccessor.
|
inline |
Access breakup momentum
| d | DataPoint to get data from |
| pc | ParticleCombination to return breakup momentum of |
| double q2 | ( | const DataPoint & | d, |
| const std::shared_ptr< ParticleCombination > & | pc | ||
| ) | const |
Access squared breakup momentum
| d | DataPoint to get data from |
| pc | ParticleCombination to return breakup momentum of |
| double rho | ( | const DataPoint & | d, |
| const std::shared_ptr< ParticleCombination > & | pc | ||
| ) | const |
Access phase space factor (rho := 2 * q / m)
| d | DataPoint to get data from |
| pc | ParticleCombination to return breakup momentum of |
1.8.6