/usr/include/root/Math/Factory.h is in libroot-math-mathcore-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | // @(#)root/mathcore:$Id$
// Author: L. Moneta Fri Dec 22 14:43:33 2006
/**********************************************************************
* *
* Copyright (c) 2006 LCG ROOT Math Team, CERN/PH-SFT *
* *
* *
**********************************************************************/
// Header file for class Factory
#ifndef ROOT_Math_Factory
#define ROOT_Math_Factory
#include <string>
namespace ROOT {
namespace Math {
class Minimizer;
class DistSampler;
//___________________________________________________________________________
/**
Factory class holding static functions to create the interfaces like ROOT::Math::Minimizer
via the Plugin Manager
*/
class Factory {
public:
/**
static method to create the corrisponding Minimizer given the string
Supported Minimizers types are:
Minuit (TMinuit), Minuit2, GSLMultiMin, GSLMultiFit, GSLSimAn, Linear, Fumili, Genetic
If no name is given use default values defined in MinimizerOptions
*/
static ROOT::Math::Minimizer * CreateMinimizer(const std::string & minimizerType = "", const std::string & algoType = "");
/**
static method to create the distribution sampler class given a string specifying the type
Supported sampler types are:
Unuran, Foam
If no name is given use default values defined in DistSamplerOptions
*/
static ROOT::Math::DistSampler * CreateDistSampler(const std::string & samplerType ="");
};
} // end namespace Fit
} // end namespace ROOT
#endif /* ROOT_Fit_MinimizerFactory */
|