ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::FunctionTree::FunctionTreeIntensity Class Reference

#include <FunctionTreeIntensity.hpp>

Public Member Functions

 FunctionTreeIntensity (std::shared_ptr< TreeNode > Tree_, ParameterList Parameters_, ParameterList Data_)
 
 FunctionTreeIntensity (const FunctionTreeIntensity &other)=delete
 
 FunctionTreeIntensity (FunctionTreeIntensity &&other)=default
 
std::vector< double > evaluate (const ComPWA::DataMap &data) noexcept
 
void updateParametersFrom (const std::vector< double > &params)
 It is important to input the vector in the same length and order as defined in the getParameters() method. More...
 
std::vector< ComPWA::ParametergetParameters () const
 
std::tuple< std::shared_ptr< ComPWA::FunctionTree::TreeNode >, ComPWA::FunctionTree::ParameterListbind (const ComPWA::DataMap &data)
 
std::string print (int level) const
 
- Public Member Functions inherited from ComPWA::Function< OutputType, InputTypes >
virtual ~Function ()=default
 
virtual OutputType evaluate (const InputTypes &... args) noexcept=0
 

Private Member Functions

void updateDataContainers (const ComPWA::DataMap &data)
 

Private Attributes

std::shared_ptr< TreeNodeTree
 
ParameterList Parameters
 
ParameterList Data
 

Detailed Description

Definition at line 16 of file FunctionTreeIntensity.hpp.

+ Inheritance diagram for ComPWA::FunctionTree::FunctionTreeIntensity:
+ Collaboration diagram for ComPWA::FunctionTree::FunctionTreeIntensity:

Constructor & Destructor Documentation

◆ FunctionTreeIntensity() [1/3]

ComPWA::FunctionTree::FunctionTreeIntensity::FunctionTreeIntensity ( std::shared_ptr< TreeNode Tree_,
ParameterList  Parameters_,
ParameterList  Data_ 
)

Definition at line 8 of file FunctionTreeIntensity.cpp.

◆ FunctionTreeIntensity() [2/3]

ComPWA::FunctionTree::FunctionTreeIntensity::FunctionTreeIntensity ( const FunctionTreeIntensity other)
delete

◆ FunctionTreeIntensity() [3/3]

ComPWA::FunctionTree::FunctionTreeIntensity::FunctionTreeIntensity ( FunctionTreeIntensity &&  other)
default

Member Function Documentation

◆ bind()

std::tuple< std::shared_ptr< ComPWA::FunctionTree::TreeNode >, ComPWA::FunctionTree::ParameterList > ComPWA::FunctionTree::FunctionTreeIntensity::bind ( const ComPWA::DataMap data)

Definition at line 46 of file FunctionTreeIntensity.cpp.

◆ evaluate()

std::vector< double > ComPWA::FunctionTree::FunctionTreeIntensity::evaluate ( const ComPWA::DataMap data)
noexcept

Definition at line 16 of file FunctionTreeIntensity.cpp.

◆ getParameters()

std::vector< ComPWA::Parameter > ComPWA::FunctionTree::FunctionTreeIntensity::getParameters ( ) const
virtual

◆ print()

std::string ComPWA::FunctionTree::FunctionTreeIntensity::print ( int  level) const

Definition at line 51 of file FunctionTreeIntensity.cpp.

◆ updateDataContainers()

void ComPWA::FunctionTree::FunctionTreeIntensity::updateDataContainers ( const ComPWA::DataMap data)
private

Definition at line 23 of file FunctionTreeIntensity.cpp.

◆ updateParametersFrom()

void ComPWA::FunctionTree::FunctionTreeIntensity::updateParametersFrom ( const std::vector< double > &  )
virtual

It is important to input the vector in the same length and order as defined in the getParameters() method.

So in other words, call getParameters() first, then use this ordering and to input new values in this method.

Implements ComPWA::Function< OutputType, InputTypes >.

Definition at line 27 of file FunctionTreeIntensity.cpp.

Member Data Documentation

◆ Data

ParameterList ComPWA::FunctionTree::FunctionTreeIntensity::Data
private

Definition at line 41 of file FunctionTreeIntensity.hpp.

◆ Parameters

ParameterList ComPWA::FunctionTree::FunctionTreeIntensity::Parameters
private

Definition at line 40 of file FunctionTreeIntensity.hpp.

◆ Tree

std::shared_ptr<TreeNode> ComPWA::FunctionTree::FunctionTreeIntensity::Tree
private

Definition at line 39 of file FunctionTreeIntensity.hpp.


The documentation for this class was generated from the following files: