|
YAP
|
Base class for all data accessors that will only write to DataPoint once at initial data loading. More...
#include <StaticDataAccessor.h>
Public Member Functions | |
| StaticDataAccessor (Model &m, const ParticleCombinationEqualTo &equal) | |
| virtual void | calculate (DataPoint &d, StatusManager &sm) const =0 |
| 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 | registerWithModel () override |
| register with Model | |
| virtual void | addToStaticDataAccessors () |
| add to model's StaticDataAccessors_ | |
| 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 | 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 | |
| Model * | Model_ |
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 | |
Base class for all data accessors that will only write to DataPoint once at initial data loading.
|
inline |
Constructor
| model | owning Model |
| equal | ParticleCombination equality struct for determining index assignments |
|
pure virtual |
calculate CachedValues, store to DataPoint, and update StatusManager. Must be overriden in derived classes.
Implemented in SpinAmplitude, HelicityAngles, HelicitySpinAmplitude, ZemachSpinAmplitude, FourMomenta, and MeasuredBreakupMomenta.
|
inlineoverridevirtual |
Implements DataAccessor.
1.8.6