ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::FitResult Struct Reference

Data structure which resembles a general fit result. More...

#include <FitResult.hpp>

Public Member Functions

void write (std::string filename) const
 

Public Attributes

FitParameterList InitialParameters
 
FitParameterList FinalParameters
 
unsigned int NumFreeParameters
 
bool IsValid = false
 
double InitialEstimatorValue = 0.0
 
double FinalEstimatorValue = 0.0
 
std::chrono::seconds FitDuration = std::chrono::seconds(0)
 
std::vector< std::vector< double > > CovarianceMatrix
 

Private Member Functions

template<class archive >
void serialize (archive &ar, const unsigned int version)
 

Friends

std::ostream & operator<< (std::ostream &os, const FitResult &Result)
 

Detailed Description

Data structure which resembles a general fit result.

Optimizers should derive from this structure and append more information via inheritance.

Definition at line 19 of file FitResult.hpp.

+ Inheritance diagram for ComPWA::FitResult:
+ Collaboration diagram for ComPWA::FitResult:

Member Function Documentation

◆ serialize()

template<class archive >
void ComPWA::FitResult::serialize ( archive &  ar,
const unsigned int  version 
)
inlineprivate

Definition at line 38 of file FitResult.hpp.

◆ write()

void ComPWA::FitResult::write ( std::string  filename) const

Definition at line 151 of file FitResult.cpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const FitResult Result 
)
friend

Definition at line 35 of file FitResult.cpp.

Member Data Documentation

◆ CovarianceMatrix

std::vector<std::vector<double> > ComPWA::FitResult::CovarianceMatrix

Definition at line 29 of file FitResult.hpp.

◆ FinalEstimatorValue

double ComPWA::FitResult::FinalEstimatorValue = 0.0

Definition at line 26 of file FitResult.hpp.

◆ FinalParameters

FitParameterList ComPWA::FitResult::FinalParameters

Definition at line 21 of file FitResult.hpp.

◆ FitDuration

std::chrono::seconds ComPWA::FitResult::FitDuration = std::chrono::seconds(0)

Definition at line 27 of file FitResult.hpp.

◆ InitialEstimatorValue

double ComPWA::FitResult::InitialEstimatorValue = 0.0

Definition at line 25 of file FitResult.hpp.

◆ InitialParameters

FitParameterList ComPWA::FitResult::InitialParameters

Definition at line 20 of file FitResult.hpp.

◆ IsValid

bool ComPWA::FitResult::IsValid = false

Definition at line 23 of file FitResult.hpp.

◆ NumFreeParameters

unsigned int ComPWA::FitResult::NumFreeParameters

Definition at line 22 of file FitResult.hpp.


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