21 #ifndef yap_MassShape_h 
   22 #define yap_MassShape_h 
   24 #include "fwd/CachedValue.h" 
   25 #include "fwd/DataPartition.h" 
   26 #include "fwd/DecayChannel.h" 
   27 #include "fwd/Model.h" 
   28 #include "fwd/Parameter.h" 
   29 #include "fwd/ParticleCombination.h" 
   30 #include "fwd/ParticleFactory.h" 
   31 #include "fwd/Resonance.h" 
   32 #include "fwd/StatusManager.h" 
   56     virtual const std::complex<double> 
value(
const DataPoint& d, 
const std::shared_ptr<ParticleCombination>& pc) 
const override final;
 
  101     std::shared_ptr<ComplexCachedValue> 
T()
 
  105     const std::shared_ptr<ComplexCachedValue> 
T()
 const 
  112     virtual void calculateT(
DataPartition& D, 
const std::shared_ptr<ParticleCombination>& pc, 
unsigned si) 
const = 0;
 
  120     std::shared_ptr<ComplexCachedValue> 
T_;
 
virtual bool consistent() const 
Check consistency of object. 
Definition: MassShape.cxx:52
virtual void addDecayChannel(std::shared_ptr< DecayChannel > c)
Definition: MassShape.h:97
std::shared_ptr< ComplexCachedValue > T()
access cached dynamic amplitude 
Definition: MassShape.h:101
virtual void updateCalculationStatus(StatusManager &D) const overridefinal
update the calculationStatus for a DataPartition 
Definition: MassShape.cxx:39
Data container for storing particle information in database. 
Definition: ParticleFactory.h:43
virtual void setParameters(const ParticleTableEntry &entry)
Definition: MassShape.h:66
virtual void checkDecayChannel(const DecayChannel &c) const 
Check if a DecayChannel is valid for this MassShape; will throw if invalid. 
Definition: MassShape.h:83
const std::shared_ptr< ComplexCachedValue > T() const 
access cached dynamic amplitude (const) 
Definition: MassShape.h:105
std::shared_ptr< ComplexCachedValue > T_
cached dynamic amplitude 
Definition: MassShape.h:120
Definition: AmplitudeComponent.h:82
Class for holding data and cached values per data point for fast calculation. 
Definition: DataPoint.h:35
Resonance * Resonance_
raw pointer to resonance that owns this mass shape 
Definition: MassShape.h:117
virtual void calculate(DataPartition &D) const overridefinal
Definition: MassShape.cxx:23
Class defining a partition of the DataSet. 
Definition: DataPartition.h:158
Definition: StatusManager.h:32
Class implementing a PWA model. 
Definition: Model.h:56
virtual const std::complex< double > value(const DataPoint &d, const std::shared_ptr< ParticleCombination > &pc) const overridefinal
Definition: MassShape.cxx:46
Resonance * resonance() const 
get raw pointer to owning resonance 
Definition: MassShape.h:73
virtual void calculateT(DataPartition &D, const std::shared_ptr< ParticleCombination > &pc, unsigned si) const =0
MassShape()
Constructor. 
Definition: MassShape.cxx:16
Class for a particle that will decay and has a mass shape. 
Definition: Resonance.h:47
Abstract base class for all mass shapes. 
Definition: MassShape.h:46
virtual void setResonance(Resonance *r)
Set raw pointer to owning Resonance. 
Definition: MassShape.cxx:66
const Model * model() const override
get raw pointer to Model through resonance 
Definition: MassShape.cxx:75
Class implementing a decay channel. 
Definition: DecayChannel.h:40