AmpTools
ParameterManager Class Reference

#include <ParameterManager.h>

Inheritance diagram for ParameterManager:
Collaboration diagram for ParameterManager:

Public Types

enum  { kFixedIndex = -1 }
 

Public Member Functions

 ParameterManager (MinuitMinimizationManager *minuitManager, IntensityManager *intenManager)
 
 ParameterManager (MinuitMinimizationManager *minuitManager, const vector< IntensityManager *> &intenManagers)
 
 ~ParameterManager ()
 
MinuitMinimizationManagerfitManager () const
 
void setupFromConfigurationInfo (ConfigurationInfo *cfgInfo)
 
vector< double > parameterValues () const
 
vector< string > parameterList () const
 
map< string, int > parameterIndex () const
 
vector< vector< double > > covarianceMatrix () const
 
bool hasConstraints (const string &ampName) const
 
bool hasParameter (const string &ampName) const
 
void update (const MISubject *parPtr)
 

Protected Member Functions

 ParameterManager (IntensityManager *intenManager)
 
 ParameterManager (const vector< IntensityManager *> &intenManager)
 
virtual void addProductionParameter (const string &ampName, bool real=false, bool fixed=false)
 
virtual void addAmplitudeParameter (const string &ampName, const ParameterInfo *parInfo)
 
complex< double > * getProdParPtr (const string &ampName)
 
double * getAmpParPtr (const string &parName)
 
virtual void update (const string &parName)
 

Detailed Description

Definition at line 54 of file ParameterManager.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kFixedIndex 

Definition at line 61 of file ParameterManager.h.

Constructor & Destructor Documentation

◆ ParameterManager() [1/4]

ParameterManager::ParameterManager ( MinuitMinimizationManager minuitManager,
IntensityManager intenManager 
)

Definition at line 51 of file ParameterManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ParameterManager() [2/4]

ParameterManager::ParameterManager ( MinuitMinimizationManager minuitManager,
const vector< IntensityManager *> &  intenManagers 
)

Definition at line 63 of file ParameterManager.cc.

Here is the call graph for this function:

◆ ~ParameterManager()

ParameterManager::~ParameterManager ( )

Definition at line 97 of file ParameterManager.cc.

◆ ParameterManager() [3/4]

ParameterManager::ParameterManager ( IntensityManager intenManager)
protected

Definition at line 81 of file ParameterManager.cc.

Here is the call graph for this function:

◆ ParameterManager() [4/4]

ParameterManager::ParameterManager ( const vector< IntensityManager *> &  intenManager)
protected

Definition at line 90 of file ParameterManager.cc.

Member Function Documentation

◆ addAmplitudeParameter()

void ParameterManager::addAmplitudeParameter ( const string &  ampName,
const ParameterInfo parInfo 
)
protectedvirtual

Reimplemented in ParameterManagerMPI.

Definition at line 156 of file ParameterManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addProductionParameter()

void ParameterManager::addProductionParameter ( const string &  ampName,
bool  real = false,
bool  fixed = false 
)
protectedvirtual

Reimplemented in ParameterManagerMPI.

Definition at line 234 of file ParameterManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ covarianceMatrix()

vector< vector< double > > ParameterManager::covarianceMatrix ( ) const
inline

Definition at line 82 of file ParameterManager.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fitManager()

MinuitMinimizationManager* ParameterManager::fitManager ( ) const
inline

Definition at line 71 of file ParameterManager.h.

Here is the call graph for this function:

◆ getAmpParPtr()

double * ParameterManager::getAmpParPtr ( const string &  parName)
protected

Definition at line 296 of file ParameterManager.cc.

Here is the caller graph for this function:

◆ getProdParPtr()

complex< double > * ParameterManager::getProdParPtr ( const string &  ampName)
protected

Definition at line 284 of file ParameterManager.cc.

Here is the caller graph for this function:

◆ hasConstraints()

bool ParameterManager::hasConstraints ( const string &  ampName) const

Definition at line 307 of file ParameterManager.cc.

Here is the caller graph for this function:

◆ hasParameter()

bool ParameterManager::hasParameter ( const string &  ampName) const

Definition at line 314 of file ParameterManager.cc.

Here is the caller graph for this function:

◆ parameterIndex()

map< string, int > ParameterManager::parameterIndex ( ) const
inline

Definition at line 81 of file ParameterManager.h.

◆ parameterList()

vector< string > ParameterManager::parameterList ( ) const
inline

Definition at line 80 of file ParameterManager.h.

Here is the caller graph for this function:

◆ parameterValues()

vector< double > ParameterManager::parameterValues ( ) const
inline

Definition at line 79 of file ParameterManager.h.

Here is the caller graph for this function:

◆ setupFromConfigurationInfo()

void ParameterManager::setupFromConfigurationInfo ( ConfigurationInfo cfgInfo)

Definition at line 122 of file ParameterManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update() [1/2]

void ParameterManager::update ( const MISubject parPtr)
virtual

Implements MIObserver.

Definition at line 344 of file ParameterManager.cc.

Here is the caller graph for this function:

◆ update() [2/2]

void ParameterManager::update ( const string &  parName)
protectedvirtual

Reimplemented in ParameterManagerMPI.

Definition at line 370 of file ParameterManager.cc.

Here is the call graph for this function:

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