Files
geant4/examples/extended/analysis/A01/include/AIDA/IFitFactory.h
T
2016-06-08 16:57:27 +02:00

76 lines
3.3 KiB
C++

//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// -*- C++ -*-
// AID-GENERATED
// =========================================================================
// This class was generated by AID - Abstract Interface Definition
// DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
// =========================================================================
#ifndef AIDA_IFITFACTORY_H
#define AIDA_IFITFACTORY_H 1
// This file is part of the AIDA library
// Copyright (C) 2002 by the AIDA team. All rights reserved.
// This library is free software and under the terms of the
// GNU Library General Public License described in the LGPL.txt
#include <string>
namespace AIDA {
class IFitData;
class IFitter;
/** @interface IFitFactory
*
* Factory for fitter and fit data objects.
*
* @author The AIDA team (http://aida.freehep.org/)
*
*/
class IFitFactory {
public:
/// Destructor.
virtual ~IFitFactory() { /* nop */; }
virtual IFitData * createFitData() = 0;
/**
* Create a new IFitter.
* @param fitterType The type of fitter. The supported types are:
* - "CHI2" or "Chi2" or "ChiSquared" for chi squared fitter (this is the default),
* - "ML" or "MaxLikelihood" for maximum likelihood fitter,
* - "LS" or "LeastSquares" for Last Squares fitter.
* @param engineType The type of optimization engine used by the fitter. The available types depend on the
* specific implementation in use. The default is "" (the implementation specific default).
* @param options A string of options. The default is "".
* @return The IFitter.
*
*/
virtual IFitter * createFitter(std::string fitterType = "Chi2", std::string engineType = "", std::string options = "") = 0;
}; // class
}; // namespace AIDA
#endif /* ifndef AIDA_IFITFACTORY_H */