BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 34 of file BeamItems.h.
Public Member Functions | |
virtual | ~BeamItem ()=default |
BeamAzimuthalAngleItem * | azimuthalAngleItem () const |
std::unique_ptr< Beam > | createBeam () const |
DOUBLE_PROPERTY (intensity, Intensity) | |
double | getAzimuthalAngle () const |
virtual double | getInclinationAngle () const =0 |
virtual BeamDistributionItem * | inclinationAngleItem () const |
virtual void | serialize (Streamer &s) |
void | setAzimuthalAngle (double value) |
virtual void | setInclinationAngle (double value) |
void | setWavelength (double value) |
double | wavelength () const |
BeamWavelengthItem * | wavelengthItem () const |
Protected Member Functions | |
BeamItem () | |
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 |
|
virtualdefault |
|
protected |
Definition at line 40 of file BeamItems.cpp.
References m_azimuthalAngleItem, and unitless.
BeamAzimuthalAngleItem * BeamItem::azimuthalAngleItem | ( | ) | const |
Definition at line 92 of file BeamItems.cpp.
References m_azimuthalAngleItem.
Referenced by GISASBeamEditor::GISASBeamEditor().
std::unique_ptr< Beam > BeamItem::createBeam | ( | ) | const |
Definition at line 97 of file BeamItems.cpp.
References getAzimuthalAngle(), getInclinationAngle(), and wavelength().
Referenced by SpecularInstrumentItem::createCoordSystem(), Instrument2DItem::createInstrument(), Instrument2DItem::createOffspecSimulation(), and Instrument2DItem::createScatteringSimulation().
BeamItem::DOUBLE_PROPERTY | ( | intensity | , |
Intensity | |||
) |
double BeamItem::getAzimuthalAngle | ( | ) | const |
Definition at line 82 of file BeamItems.cpp.
References m_azimuthalAngleItem.
Referenced by createBeam().
|
pure virtual |
Implemented in GISASBeamItem, and SpecularBeamItem.
Referenced by createBeam().
|
virtual |
Reimplemented in SpecularBeamItem.
Definition at line 77 of file BeamItems.cpp.
References m_inclinationAngleItem.
Referenced by GISASBeamEditor::GISASBeamEditor(), GISASBeamItem::getInclinationAngle(), and SpecularBeamItem::inclinationAngleItem().
|
protected |
Definition at line 116 of file BeamItems.cpp.
References m_inclinationAngleItem.
|
protected |
Definition at line 110 of file BeamItems.cpp.
References m_wavelengthItem.
|
virtual |
Reimplemented in SpecularBeamItem.
Definition at line 48 of file BeamItems.cpp.
References Streamer::assertVersion(), m_azimuthalAngleItem, m_inclinationAngleItem, m_wavelengthItem, Serialize::rwClass(), and Serialize::rwProperty().
void BeamItem::setAzimuthalAngle | ( | double | value | ) |
Definition at line 87 of file BeamItems.cpp.
References m_azimuthalAngleItem.
|
virtual |
Reimplemented in SpecularBeamItem.
Definition at line 72 of file BeamItems.cpp.
References m_inclinationAngleItem.
Referenced by SpecularBeamItem::setInclinationAngle().
void BeamItem::setWavelength | ( | double | value | ) |
Definition at line 62 of file BeamItems.cpp.
References m_wavelengthItem.
double BeamItem::wavelength | ( | ) | const |
Definition at line 57 of file BeamItems.cpp.
References m_wavelengthItem.
Referenced by createBeam(), and SpecularBeamItem::updateWavelength().
BeamWavelengthItem * BeamItem::wavelengthItem | ( | ) | const |
Definition at line 67 of file BeamItems.cpp.
References m_wavelengthItem.
Referenced by GISASBeamEditor::GISASBeamEditor(), SpecularBeamEditor::SpecularBeamEditor(), and SpecularBeamItem::updateWavelength().
|
protected |
Definition at line 65 of file BeamItems.h.
Referenced by BeamItem(), azimuthalAngleItem(), getAzimuthalAngle(), serialize(), and setAzimuthalAngle().
|
protected |
Definition at line 66 of file BeamItems.h.
Referenced by SpecularBeamItem::SpecularBeamItem(), inclinationAngleItem(), initInclinationAngle(), serialize(), and setInclinationAngle().
|
protected |
Definition at line 64 of file BeamItems.h.
Referenced by initWavelength(), serialize(), setWavelength(), wavelength(), and wavelengthItem().