![]() |
MaCh3
2.4.2
Reference Guide
|
Factory methods for MaCh3 software which streamline initialisation of different objects. More...
#include "Fitters/FitterBase.h"#include "Fitters/MR2T2.h"#include "Fitters/DelayedMR2T2.h"#include "Fitters/PSO.h"#include "Fitters/LikelihoodFit.h"#include "Parameters/ParameterHandlerGeneric.h"Go to the source code of this file.
Functions | |
| std::unique_ptr< FitterBase > | MaCh3FitterFactory (Manager *FitManager) |
| MaCh3 Factory initiates one of implemented fitting algorithms. More... | |
| std::unique_ptr< Manager > | MaCh3ManagerFactory (int argc, char **argv) |
| Initializes the config Manager class and allows overriding settings via command-line arguments. More... | |
| template<typename CovType > | |
| std::unique_ptr< CovType > | MaCh3CovarianceFactory (Manager *FitManager, const std::string &PreFix) |
| Factory function for creating a covariance class for systematic handling. More... | |
| template<typename SampleType > | |
| std::vector< SampleType * > | MaCh3SampleHandlerFactory (const std::vector< std::string > &SampleConfig, ParameterHandlerGeneric *xsec) |
| Factory function for creating SampleHandler and initialisation with systematic. More... | |
Factory methods for MaCh3 software which streamline initialisation of different objects.
Definition in file MaCh3Factory.h.
| std::unique_ptr<CovType> MaCh3CovarianceFactory | ( | Manager * | FitManager, |
| const std::string & | PreFix | ||
| ) |
Factory function for creating a covariance class for systematic handling.
| FitManager | Pointer to the Manager class that holds the configuration settings. |
| PreFix | Prefix, for example Xsec, then code will look for XsecCovFile |
Definition at line 70 of file MaCh3Factory.h.
| std::unique_ptr<Manager> MaCh3ManagerFactory | ( | int | argc, |
| char ** | argv | ||
| ) |
Initializes the config Manager class and allows overriding settings via command-line arguments.
| argc | number of arguments |
| argv | name of arguments |
Manager instance with optional overrides applied. Definition at line 41 of file MaCh3Factory.cpp.
| std::vector<SampleType*> MaCh3SampleHandlerFactory | ( | const std::vector< std::string > & | SampleConfig, |
| ParameterHandlerGeneric * | xsec | ||
| ) |
Factory function for creating SampleHandler and initialisation with systematic.
| SampleType | The class type of the sample to create, e.g., SampleHandlerTutorial. |
| SampleConfig | Path to sample config. |
| xsec | A pointer to a ParameterHandlerGeneric object for cross-section systematic settings. |
Definition at line 135 of file MaCh3Factory.h.