BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 69 of file BeamItems.h.
Public Member Functions | |
SpecularBeamItem (const InstrumentItem *owningInstrument) | |
BeamAzimuthalAngleItem * | azimuthalAngleItem () const |
std::unique_ptr< Beam > | createBeam () const |
DOUBLE_PROPERTY (intensity, Intensity) | |
FootprintItem * | footprint () const |
SessionItem * | footprintGroupItem () const |
SelectionDescriptor< FootprintItem * > | footprintSelection () const |
double | getAzimuthalAngle () const |
double | getInclinationAngle () const override |
SpecularBeamInclinationItem * | inclinationAngleItem () const override |
BasicAxisItem * | inclinationAxis () const |
void | serialize (Streamer &s) override |
void | setAzimuthalAngle (double value) |
template<typename T > | |
T * | setFootprintType () |
void | setGaussianFootprint (double value) |
void | setInclinationAngle (double value) override |
void | setSquareFootprint (double value) |
void | setWavelength (double value) |
void | updateToData (const IAxis &axis, QString units) |
void | updateWavelength () |
double | wavelength () const |
BeamWavelengthItem * | wavelengthItem () const |
Protected Member Functions | |
template<typename T > | |
void | initInclinationAngle () |
template<typename T > | |
void | initWavelength () |
Protected Attributes | |
std::unique_ptr< BeamAzimuthalAngleItem > | m_azimuthalAngleItem |
std::unique_ptr< BeamDistributionItem > | m_inclinationAngleItem |
std::unique_ptr< BeamWavelengthItem > | m_wavelengthItem |
Private Attributes | |
SelectionProperty< FootprintItem * > | m_footprint |
|
explicit |
Definition at line 124 of file BeamItems.cpp.
References SelectionProperty< T >::init(), m_footprint, and BeamItem::m_inclinationAngleItem.
|
inherited |
Definition at line 92 of file BeamItems.cpp.
References BeamItem::m_azimuthalAngleItem.
Referenced by GISASBeamEditor::GISASBeamEditor().
|
inherited |
Definition at line 97 of file BeamItems.cpp.
References BeamItem::getAzimuthalAngle(), BeamItem::getInclinationAngle(), and BeamItem::wavelength().
Referenced by SpecularInstrumentItem::createCoordSystem(), Instrument2DItem::createInstrument(), Instrument2DItem::createOffspecSimulation(), and Instrument2DItem::createScatteringSimulation().
|
inherited |
FootprintItem * SpecularBeamItem::footprint | ( | ) | const |
Definition at line 161 of file BeamItems.cpp.
References SelectionProperty< T >::get(), and m_footprint.
SessionItem* SpecularBeamItem::footprintGroupItem | ( | ) | const |
SelectionDescriptor< FootprintItem * > SpecularBeamItem::footprintSelection | ( | ) | const |
Definition at line 166 of file BeamItems.cpp.
References m_footprint.
Referenced by FootprintCorrectionEditor::FootprintCorrectionEditor(), and FootprintCorrectionEditor::createFootprintWidgets().
|
inherited |
Definition at line 82 of file BeamItems.cpp.
References BeamItem::m_azimuthalAngleItem.
Referenced by BeamItem::createBeam().
|
overridevirtual |
|
overridevirtual |
Reimplemented from BeamItem.
Definition at line 151 of file BeamItems.cpp.
References BeamItem::inclinationAngleItem().
Referenced by DepthProbeInstrumentEditor::DepthProbeInstrumentEditor(), SpecularBeamEditor::SpecularBeamEditor(), SpecularInstrumentItem::alignedWith(), inclinationAxis(), updateToData(), and updateWavelength().
BasicAxisItem * SpecularBeamItem::inclinationAxis | ( | ) | const |
Definition at line 156 of file BeamItems.cpp.
References SpecularBeamInclinationItem::alphaAxis(), and inclinationAngleItem().
Referenced by DepthProbeInstrumentItem::DepthProbeInstrumentItem(), SpecularInstrumentItem::createCoordSystem(), DepthProbeInstrumentItem::createSimulation(), and SpecularInstrumentItem::shape().
|
protectedinherited |
Definition at line 116 of file BeamItems.cpp.
References BeamItem::m_inclinationAngleItem.
|
protectedinherited |
Definition at line 110 of file BeamItems.cpp.
References BeamItem::m_wavelengthItem.
|
overridevirtual |
Reimplemented from BeamItem.
Definition at line 132 of file BeamItems.cpp.
References Streamer::assertVersion(), and m_footprint.
|
inherited |
Definition at line 87 of file BeamItems.cpp.
References BeamItem::m_azimuthalAngleItem.
T* SpecularBeamItem::setFootprintType | ( | ) |
void SpecularBeamItem::setGaussianFootprint | ( | double | value | ) |
Definition at line 171 of file BeamItems.cpp.
References m_footprint, and SelectionProperty< T >::set().
|
overridevirtual |
Reimplemented from BeamItem.
Definition at line 144 of file BeamItems.cpp.
References BeamItem::setInclinationAngle().
void SpecularBeamItem::setSquareFootprint | ( | double | value | ) |
Definition at line 176 of file BeamItems.cpp.
References m_footprint, and SelectionProperty< T >::set().
|
inherited |
Definition at line 62 of file BeamItems.cpp.
References BeamItem::m_wavelengthItem.
void SpecularBeamItem::updateToData | ( | const IAxis & | axis, |
QString | units | ||
) |
Definition at line 181 of file BeamItems.cpp.
References inclinationAngleItem(), SpecularBeamInclinationItem::initPointwiseAxis(), SpecularBeamInclinationItem::initUniformAxis(), SpecularBeamInclinationItem::selectPointwiseAxis(), SpecularBeamInclinationItem::selectUniformAxis(), and updateWavelength().
Referenced by SpecularInstrumentItem::updateToRealData().
void SpecularBeamItem::updateWavelength | ( | ) |
Definition at line 193 of file BeamItems.cpp.
References SpecularBeamInclinationItem::alphaAxis(), inclinationAngleItem(), BeamItem::wavelength(), and BeamItem::wavelengthItem().
Referenced by updateToData().
|
inherited |
Definition at line 57 of file BeamItems.cpp.
References BeamItem::m_wavelengthItem.
Referenced by BeamItem::createBeam(), and updateWavelength().
|
inherited |
Definition at line 67 of file BeamItems.cpp.
References BeamItem::m_wavelengthItem.
Referenced by GISASBeamEditor::GISASBeamEditor(), SpecularBeamEditor::SpecularBeamEditor(), and updateWavelength().
|
protectedinherited |
Definition at line 65 of file BeamItems.h.
Referenced by BeamItem::BeamItem(), BeamItem::azimuthalAngleItem(), BeamItem::getAzimuthalAngle(), BeamItem::serialize(), and BeamItem::setAzimuthalAngle().
|
private |
Definition at line 91 of file BeamItems.h.
Referenced by SpecularBeamItem(), footprint(), footprintSelection(), serialize(), setGaussianFootprint(), and setSquareFootprint().
|
protectedinherited |
Definition at line 66 of file BeamItems.h.
Referenced by SpecularBeamItem(), BeamItem::inclinationAngleItem(), BeamItem::initInclinationAngle(), BeamItem::serialize(), and BeamItem::setInclinationAngle().
|
protectedinherited |
Definition at line 64 of file BeamItems.h.
Referenced by BeamItem::initWavelength(), BeamItem::serialize(), BeamItem::setWavelength(), BeamItem::wavelength(), and BeamItem::wavelengthItem().