YAP
|
#include <RecalculableDataAccessor.h>
Public Member Functions | |
RecalculableDataAccessor (const ParticleCombinationEqualTo &equal) | |
virtual void | calculate (DataPartition &D) const =0 |
virtual void | updateCalculationStatus (StatusManager &D) const =0 |
update the calculationStatus for a DataPartition | |
void | setParameterFlagsToUnchanged () |
set VariableStatus of all Parameters to unchanged (or leave fixed) | |
const ParameterSet & | parameters () const |
![]() | |
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. | |
virtual const Model * | model () const =0 |
get raw pointer to Model (const) | |
Protected Member Functions | |
virtual void | registerWithModel () override |
register with Model | |
void | addParameter (std::shared_ptr< ParameterBase > p) |
add a parameter for evaluating variableStatus | |
![]() | |
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 | |
ParameterSet | Parameters_ |
Parameters of object. | |
Additional Inherited Members | |
![]() | |
friend | Model |
grant friend status to Model to access CachedValues_ | |
friend | CachedValue |
grant friend status to CachedValue to call addCachedValue | |
Base class for all DataAccessor's that will need to be updated
|
inlineexplicit |
Constructor
equal | ParticleCombination equality struct for determining index assignments |
|
pure virtual |
calculate for every data point in a DataPartition must be overloaded in derived class
Implemented in BlattWeisskopf, MassShape, and TwoBodyPhaseSpaceFactor.
|
inline |