Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AIDA_FitParameterSettings.h

Go to the documentation of this file.
00001  /**********************************************************************
00002   *                                                                    *
00003   * Copyright (c) 2002 Lorenzo Moneta, CERN/IT                       *
00004   *                   <Lorenzo.Moneta.cern.ch>                       *
00005   *                                                                    *
00006   * This library is free software; you can redistribute it and/or      *
00007   * modify it under the terms of the GNU Lesser General Public         *
00008   * License as published by the Free Software Foundation; either       *
00009   * version 2.1 of the License, or (at your option) any later version. *
00010   *                                                                    *
00011   * This library is distributed in the hope that it will be useful,    *
00012   * but WITHOUT ANY WARRANTY; without even the implied warranty of     *
00013   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   *
00014   * Lesser General Public License for more details.                    *
00015   *                                                                    *
00016   * You should have received a copy of the GNU Lesser General Public   *
00017   * License along with this library (see file COPYING); if not, write  *
00018   * to the Free Software Foundation, Inc., 59 Temple Place, Suite      *
00019   * 330, Boston, MA 02111-1307 USA, or contact the author.             *
00020   *                                                                    *
00021   **********************************************************************/
00022 
00023 // Header file for class AIDA_FitParameterSettings
00024 // 
00025 // Authors  : Lorenzo Moneta , Jakub Moscicki
00026 // Created  : Fri Oct  4 16:14:29 2002
00027 // 
00028 // Last update: Fri Oct  4 16:14:29 2002
00029 // 
00030 #ifndef ANAPHE_AIDA_FITTER_FML_AIDA_FITPARAMETERSETTINGS
00031 #define ANAPHE_AIDA_FITTER_FML_AIDA_FITPARAMETERSETTINGS 1
00032 
00033 # include "AIDA_Dev/IDevFitParameterSettings.h"
00034 # include "FML/FitParameterSettings.h"
00035 
00036 namespace Anaphe { 
00037    namespace FML { 
00038      class FitParameterSettings; 
00039    }
00040  }
00041      
00042 namespace Anaphe  { 
00043   namespace AIDA_Fitter_FML { 
00044 
00050     class AIDA_FitParameterSettings : virtual public AIDA::Dev::IDevFitParameterSettings { 
00051 
00052     public: 
00053       //AIDA_FitParameterSettings(); 
00055       AIDA_FitParameterSettings(Anaphe::FML::FitParameterSettings* ptr);
00056       virtual ~AIDA_FitParameterSettings(); 
00057 
00058     private:
00059       // usually copying is non trivial, so we make this unaccessible
00060       AIDA_FitParameterSettings(const AIDA_FitParameterSettings &); 
00061       AIDA_FitParameterSettings & operator = (const AIDA_FitParameterSettings &); 
00062       
00063     public: 
00064 
00065       std::string name() const;
00066       double stepSize() const;
00067       double upperBound() const;
00068       double lowerBound() const;
00069       bool isBound() const;
00070       bool isFixed() const;
00071       void setStepSize(double step);
00072       void setBounds(double lo, double up);
00073       void removeBounds();
00074       void setFixed(bool isFixed);
00075       void setLowerBound(double lowerBound);
00076       void setUpperBound(double upperBound);
00077       void reset();
00078 
00079 
00080     protected: 
00081 
00082 
00083     private: 
00084 
00085       Anaphe::FML::FitParameterSettings *m_settings;      
00086 
00087     }; 
00088 
00089   }    // end of namespace Anaphe::AIDA_Fitter_FML
00090 }
00091 #endif /* AIDA_FITPARAMETERSETTINGS */

Generated on Tue May 20 14:49:01 2003 for AIDA_Fitter_FML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002