BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
BeamWavelengthItem.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Models/BeamWavelengthItem.h
6 //! @brief Defines class BeamWavelengthItem
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_BEAMWAVELENGTHITEM_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_BEAMWAVELENGTHITEM_H
17 
19 
20 class BA_CORE_API_ BeamWavelengthItem : public BeamDistributionItem {
21 public:
22  BeamWavelengthItem(const QString& model_type = "BeamWavelength",
23  const QString& distribution_group = "Distribution extended group");
24 
25  double wavelength() const;
26 
27 private:
28  static const bool m_show_mean = true;
29 };
30 
31 class BA_CORE_API_ SpecularBeamWavelengthItem : public BeamWavelengthItem {
32 public:
34  void setToRange(const RealLimits& limits);
35 };
36 
37 #endif // BORNAGAIN_GUI_COREGUI_MODELS_BEAMWAVELENGTHITEM_H
Defines class BeamDistributionItem.
The BeamDistributionItem handles wavelength, inclination and azimuthal parameter distribution for Bea...
Limits for a real fit parameter.
Definition: RealLimits.h:24
std::string model_type
Definition: types.h:23