BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 20 of file BeamAngleItems.h.
Public Member Functions | |
BeamAzimuthalAngleItem () | |
double | azimuthalAngle () const |
DistributionItem * | distribution () const |
SelectionDescriptor< DistributionItem * > | distributionSelection () const |
std::unique_ptr< ParameterDistribution > | getParameterDistributionForName (ParameterDistribution::WhichParameter which) const |
virtual double | meanValue () const |
void | resetToValue (double value) |
double | scaleFactor () const override |
void | serialize (Streamer &s) override |
void | setDistribution (DistributionItem *d) |
template<typename T > | |
T * | setDistributionType () |
Protected Member Functions | |
virtual std::unique_ptr< IDistribution1D > | createDistribution1D () const |
Protected Attributes | |
SelectionProperty< DistributionItem * > | m_distribution |
Static Private Member Functions | |
static void | initDistribution (DistributionItem *newDistribution, const DistributionItem *currentDistribution) |
BeamAzimuthalAngleItem::BeamAzimuthalAngleItem | ( | ) |
Definition at line 20 of file BeamAngleItems.cpp.
References initDistribution(), SelectionProperty< T >::initWithInitializer(), BeamDistributionItem::m_distribution, and DistributionItemCatalog::types().
double BeamAzimuthalAngleItem::azimuthalAngle | ( | ) | const |
Definition at line 55 of file BeamAngleItems.cpp.
References BeamDistributionItem::meanValue().
|
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().
|
staticprivate |
Definition at line 37 of file BeamAngleItems.cpp.
References degree, DistributionItem::initDistribution(), DistributionItem::setLimits(), and DistributionItem::setUnit().
Referenced by BeamAzimuthalAngleItem().
|
virtualinherited |
Definition at line 40 of file BeamDistributionItem.cpp.
References BeamDistributionItem::createDistribution1D(), BeamDistributionItem::distribution(), and BeamDistributionItem::scaleFactor().
Referenced by azimuthalAngle(), BeamInclinationAngleItem::inclinationAngle(), and BeamWavelengthItem::wavelength().
|
inherited |
Definition at line 48 of file BeamDistributionItem.cpp.
References BeamDistributionItem::m_distribution, and SelectionProperty< T >::set().
|
overridevirtual |
Reimplemented from BeamDistributionItem.
Definition at line 60 of file BeamAngleItems.cpp.
|
overridevirtual |
Implements BeamDistributionItem.
Definition at line 26 of file BeamAngleItems.cpp.
References Streamer::assertVersion(), degree, BeamDistributionItem::m_distribution, 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().
|
protectedinherited |
Definition at line 48 of file BeamDistributionItem.h.
Referenced by BeamAzimuthalAngleItem(), BeamInclinationAngleItem::BeamInclinationAngleItem(), BeamWavelengthItem::BeamWavelengthItem(), SpecularBeamInclinationItem::SpecularBeamInclinationItem(), BeamDistributionItem::distribution(), BeamDistributionItem::distributionSelection(), BeamDistributionItem::resetToValue(), serialize(), BeamInclinationAngleItem::serialize(), BeamWavelengthItem::serialize(), SpecularBeamInclinationItem::serialize(), BeamDistributionItem::setDistribution(), and BeamDistributionItem::setDistributionType().