BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 32 of file BeamWavelengthItem.h.
Public Member Functions | |
SpecularBeamWavelengthItem () | |
DistributionItem * | distribution () const |
SelectionDescriptor< DistributionItem * > | distributionSelection () const |
std::unique_ptr< ParameterDistribution > | getParameterDistributionForName (ParameterDistribution::WhichParameter which) const |
virtual double | meanValue () const |
void | resetToValue (double value) |
virtual double | scaleFactor () const |
void | serialize (Streamer &s) override |
void | setDistribution (DistributionItem *d) |
template<typename T > | |
T * | setDistributionType () |
void | setToRange (const RealLimits &limits) |
double | wavelength () const |
Returns wavelength. In the case of distribution applied, returns its mean. More... | |
Protected Member Functions | |
virtual std::unique_ptr< IDistribution1D > | createDistribution1D () const |
Protected Attributes | |
SelectionProperty< DistributionItem * > | m_distribution |
SpecularBeamWavelengthItem::SpecularBeamWavelengthItem | ( | ) |
Definition at line 75 of file BeamWavelengthItem.cpp.
|
protectedvirtualinherited |
Definition at line 75 of file BeamDistributionItem.cpp.
References DistributionItem::createDistribution(), BeamDistributionItem::distribution(), and BeamDistributionItem::scaleFactor().
Referenced by BeamDistributionItem::getParameterDistributionForName(), and BeamDistributionItem::meanValue().
|
inherited |
Definition at line 60 of file BeamDistributionItem.cpp.
References SelectionProperty< T >::get(), and BeamDistributionItem::m_distribution.
Referenced by ParameterTreeBuilder::addBeamDistribution(), BeamDistributionItem::createDistribution1D(), DistributionSelector::createDistributionWidgets(), BeamDistributionItem::getParameterDistributionForName(), BeamDistributionItem::meanValue(), setToRange(), DistributionEditor::updatePlot(), and InclinationAnglesEditor::updatePlot().
|
inherited |
Definition at line 65 of file BeamDistributionItem.cpp.
References BeamDistributionItem::m_distribution.
Referenced by DistributionSelector::DistributionSelector(), and DistributionSelector::refresh().
|
inherited |
Definition at line 22 of file BeamDistributionItem.cpp.
References BeamDistributionItem::createDistribution1D(), BeamDistributionItem::distribution(), and BeamDistributionItem::scaleFactor().
|
virtualinherited |
Definition at line 40 of file BeamDistributionItem.cpp.
References BeamDistributionItem::createDistribution1D(), BeamDistributionItem::distribution(), and BeamDistributionItem::scaleFactor().
Referenced by BeamAzimuthalAngleItem::azimuthalAngle(), BeamInclinationAngleItem::inclinationAngle(), and BeamWavelengthItem::wavelength().
|
inherited |
Definition at line 48 of file BeamDistributionItem.cpp.
References BeamDistributionItem::m_distribution, and SelectionProperty< T >::set().
|
virtualinherited |
Reimplemented in SpecularBeamInclinationItem, BeamInclinationAngleItem, and BeamAzimuthalAngleItem.
Definition at line 55 of file BeamDistributionItem.cpp.
Referenced by BeamDistributionItem::createDistribution1D(), BeamDistributionItem::getParameterDistributionForName(), and BeamDistributionItem::meanValue().
|
overridevirtualinherited |
Implements BeamDistributionItem.
Definition at line 57 of file BeamWavelengthItem.cpp.
References Streamer::assertVersion(), BeamDistributionItem::m_distribution, nanometer, DistributionItem::setLimits(), DistributionItem::setUnit(), and Streamer::xmlReader().
|
inherited |
Definition at line 70 of file BeamDistributionItem.cpp.
References BeamDistributionItem::m_distribution, and SelectionProperty< T >::set().
|
inherited |
Definition at line 52 of file BeamDistributionItem.h.
References SelectionProperty< T >::get(), BeamDistributionItem::m_distribution, and SelectionProperty< T >::set().
void SpecularBeamWavelengthItem::setToRange | ( | const RealLimits & | limits | ) |
Definition at line 80 of file BeamWavelengthItem.cpp.
References BeamDistributionItem::distribution(), and BeamWavelengthItem::wavelength().
|
inherited |
Returns wavelength. In the case of distribution applied, returns its mean.
Definition at line 68 of file BeamWavelengthItem.cpp.
References BeamDistributionItem::meanValue().
Referenced by setToRange().
|
protectedinherited |
Definition at line 48 of file BeamDistributionItem.h.
Referenced by BeamAzimuthalAngleItem::BeamAzimuthalAngleItem(), BeamInclinationAngleItem::BeamInclinationAngleItem(), BeamWavelengthItem::BeamWavelengthItem(), SpecularBeamInclinationItem::SpecularBeamInclinationItem(), BeamDistributionItem::distribution(), BeamDistributionItem::distributionSelection(), BeamDistributionItem::resetToValue(), BeamAzimuthalAngleItem::serialize(), BeamInclinationAngleItem::serialize(), BeamWavelengthItem::serialize(), SpecularBeamInclinationItem::serialize(), BeamDistributionItem::setDistribution(), and BeamDistributionItem::setDistributionType().