BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
BeamAngleItems.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Models/BeamAngleItems.h
6 //! @brief Defines class BeamAngleItems
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_BEAMANGLEITEMS_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_BEAMANGLEITEMS_H
17 
19 
20 class BA_CORE_API_ BeamAzimuthalAngleItem : public BeamDistributionItem {
21 public:
23 
24  double azimuthalAngle() const;
25 
26  double scaleFactor() const override;
27 
28 private:
29  static const bool m_show_mean = true;
30 };
31 
32 class BA_CORE_API_ BeamInclinationAngleItem : public BeamDistributionItem {
33 public:
35 
36  double inclinationAngle() const;
37 
38  double scaleFactor() const override;
39 
40 private:
41  static const bool m_show_mean = true;
42 };
43 
44 #endif // BORNAGAIN_GUI_COREGUI_MODELS_BEAMANGLEITEMS_H
Defines class BeamDistributionItem.
The BeamDistributionItem handles wavelength, inclination and azimuthal parameter distribution for Bea...
virtual double scaleFactor() const
Scales the values provided by distribution (to perform deg->rad conversion in the case of AngleDistri...