BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 20 of file BeamWavelengthItem.h.
Public Member Functions | |
BeamWavelengthItem () | |
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 () |
double | wavelength () const |
Returns wavelength. In the case of distribution applied, returns its mean. More... | |
Protected Member Functions | |
BeamWavelengthItem (bool onlySymmetricDistributions) | |
virtual std::unique_ptr< IDistribution1D > | createDistribution1D () const |
Protected Attributes | |
SelectionProperty< DistributionItem * > | m_distribution |
BeamWavelengthItem::BeamWavelengthItem | ( | ) |
Definition at line 43 of file BeamWavelengthItem.cpp.
|
protected |
Definition at line 48 of file BeamWavelengthItem.cpp.
References SelectionProperty< T >::initWithInitializer(), BeamDistributionItem::m_distribution, DistributionItemCatalog::symmetricTypes(), and DistributionItemCatalog::types().
|
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(), SpecularBeamWavelengthItem::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 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().
|
overridevirtual |
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().
double BeamWavelengthItem::wavelength | ( | ) | const |
Returns wavelength. In the case of distribution applied, returns its mean.
Definition at line 68 of file BeamWavelengthItem.cpp.
References BeamDistributionItem::meanValue().
Referenced by SpecularBeamWavelengthItem::setToRange().
|
protectedinherited |
Definition at line 48 of file BeamDistributionItem.h.
Referenced by BeamAzimuthalAngleItem::BeamAzimuthalAngleItem(), BeamInclinationAngleItem::BeamInclinationAngleItem(), BeamWavelengthItem(), SpecularBeamInclinationItem::SpecularBeamInclinationItem(), BeamDistributionItem::distribution(), BeamDistributionItem::distributionSelection(), BeamDistributionItem::resetToValue(), BeamAzimuthalAngleItem::serialize(), BeamInclinationAngleItem::serialize(), serialize(), SpecularBeamInclinationItem::serialize(), BeamDistributionItem::setDistribution(), and BeamDistributionItem::setDistributionType().