BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SpecularBeamInclinationItem.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Models/SpecularBeamInclinationItem.h
6 //! @brief Declares the class SpecularBeamInclinationItem
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_SPECULARBEAMINCLINATIONITEM_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_SPECULARBEAMINCLINATIONITEM_H
17 
19 
20 //! BeamInclinationAxisItem contains inclination angle axis for specular/off-specular
21 //! simulations and also provides distribution functionality.
22 //! Considering distribution, differs from BeamInclinationAngleItem
23 //! by any distribution mean value being always zero.
24 
26 public:
27  static const QString P_ALPHA_AXIS;
28 
31 
32  double scaleFactor() const override;
33 
34  void updateFileName(const QString& filename);
35 
36 private:
37  void setupAxisGroup();
38  static const bool m_show_mean = false;
39 };
40 
41 #endif // BORNAGAIN_GUI_COREGUI_MODELS_SPECULARBEAMINCLINATIONITEM_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...
BeamInclinationAxisItem contains inclination angle axis for specular/off-specular simulations and als...
~SpecularBeamInclinationItem() override
std::string filename(const std::string &path)
Returns path without directory part ("Foo/Bar/Doz.int.gz" -> "Doz.int.gz")